Autogenerated update (2020-03-06)
Update: - classroom_v1 - cloudidentity_v1beta1 - cloudtasks_v2 - serviceconsumermanagement_v1 - serviceusage_v1 - serviceusage_v1beta1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1
This commit is contained in:
1 parent
843df90d42
commit
ca464fe4f7
21 files changed
+119
-527
No files matched your search
@@ -1110,6 +1110,12 @@ module Google
|
||||
# @return [Google::Apis::CloudtasksV2::RetryConfig]
|
||||
attr_accessor :retry_config
|
||||
|
||||
# Configuration options for writing logs to
|
||||
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
||||
# Corresponds to the JSON property `stackdriverLoggingConfig`
|
||||
# @return [Google::Apis::CloudtasksV2::StackdriverLoggingConfig]
|
||||
attr_accessor :stackdriver_logging_config
|
||||
|
||||
# Output only. The state of the queue.
|
||||
# `state` can only be changed by called
|
||||
# PauseQueue,
|
||||
@@ -1132,6 +1138,7 @@ module Google
|
||||
@purge_time = args[:purge_time] if args.key?(:purge_time)
|
||||
@rate_limits = args[:rate_limits] if args.key?(:rate_limits)
|
||||
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
||||
@stackdriver_logging_config = args[:stackdriver_logging_config] if args.key?(:stackdriver_logging_config)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
@@ -1442,6 +1449,29 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration options for writing logs to
|
||||
# [Stackdriver Logging](https://cloud.google.com/logging/docs/).
|
||||
class StackdriverLoggingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# 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.
|
||||
# Corresponds to the JSON property `samplingRatio`
|
||||
# @return [Float]
|
||||
attr_accessor :sampling_ratio
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@sampling_ratio = args[:sampling_ratio] if args.key?(:sampling_ratio)
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for
|
||||
# different programming environments, including REST APIs and RPC APIs. It is
|
||||
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
||||
|
||||
@@ -172,6 +172,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StackdriverLoggingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -380,6 +386,8 @@ module Google
|
||||
|
||||
property :retry_config, as: 'retryConfig', class: Google::Apis::CloudtasksV2::RetryConfig, decorator: Google::Apis::CloudtasksV2::RetryConfig::Representation
|
||||
|
||||
property :stackdriver_logging_config, as: 'stackdriverLoggingConfig', class: Google::Apis::CloudtasksV2::StackdriverLoggingConfig, decorator: Google::Apis::CloudtasksV2::StackdriverLoggingConfig::Representation
|
||||
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
@@ -425,6 +433,13 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class StackdriverLoggingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :sampling_ratio, as: 'samplingRatio'
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
Reference in new issue
Block a user