Skip to content

Commit

Permalink
feat(tasks): Add Queue#stackdriver_logging_config (StackdriverLogging…
Browse files Browse the repository at this point in the history
…Config)
  • Loading branch information
yoshi-automation committed Feb 21, 2020
1 parent 30e7958 commit 327eda6
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 6 deletions.
Expand Up @@ -113,6 +113,11 @@ module V2
#
# Purge time will be truncated to the nearest microsecond. Purge
# time will be unset if the queue has never been purged.
# @!attribute [rw] stackdriver_logging_config
# @return [Google::Cloud::Tasks::V2::StackdriverLoggingConfig]
# Configuration options for writing logs to
# [Stackdriver Logging](https://cloud.google.com/logging/docs/). If this
# field is unset, then no logs are written.
class Queue
# State of the queue.
module State
Expand Down Expand Up @@ -327,6 +332,16 @@ class RateLimits; end
# [max_doublings in
# queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
class RetryConfig; end

# Configuration options for writing logs to
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
# @!attribute [rw] sampling_ratio
# @return [Float]
# Specifies the fraction of operations to write to
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
# This field may contain any value between 0.0 and 1.0, inclusive.
# 0.0 is the default and means that no operations are logged.
class StackdriverLoggingConfig; end
end
end
end
Expand Down
5 changes: 5 additions & 0 deletions google-cloud-tasks/lib/google/cloud/tasks/v2/queue_pb.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 327eda6

Please sign in to comment.