diff --git a/google-ads-ad_manager-v1/proto_docs/google/api/client.rb b/google-ads-ad_manager-v1/proto_docs/google/api/client.rb
index 483a6510978e..a8b1b06d1cad 100644
--- a/google-ads-ad_manager-v1/proto_docs/google/api/client.rb
+++ b/google-ads-ad_manager-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-ads-ad_manager-v1/proto_docs/google/type/date.rb b/google-ads-ad_manager-v1/proto_docs/google/type/date.rb
index 89f7990f591a..0d2805986899 100644
--- a/google-ads-ad_manager-v1/proto_docs/google/type/date.rb
+++ b/google-ads-ad_manager-v1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * {::Google::Type::TimeOfDay google.type.TimeOfDay}
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-ads-ad_manager-v1/proto_docs/google/type/timeofday.rb b/google-ads-ad_manager-v1/proto_docs/google/type/timeofday.rb
index 38820c1fcba2..8c976edab900 100644
--- a/google-ads-ad_manager-v1/proto_docs/google/type/timeofday.rb
+++ b/google-ads-ad_manager-v1/proto_docs/google/type/timeofday.rb
@@ -25,18 +25,22 @@ module Type
# `google.protobuf.Timestamp`.
# @!attribute [rw] hours
# @return [::Integer]
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
+ # typically must be less than or equal to 23. An API may choose to allow the
+ # value "24:00:00" for scenarios like business closing time.
# @!attribute [rw] minutes
# @return [::Integer]
- # Minutes of hour of day. Must be from 0 to 59.
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or
+ # equal to 59.
# @!attribute [rw] seconds
# @return [::Integer]
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must
+ # be less than or equal to 59. An API may allow the value 60 if it allows
+ # leap-seconds.
# @!attribute [rw] nanos
# @return [::Integer]
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
+ # and less than or equal to 999,999,999.
class TimeOfDay
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
diff --git a/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/api/client.rb b/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/api/client.rb
index c6b6b60729c9..25b227e61cdc 100644
--- a/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/api/client.rb
+++ b/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/type/date.rb b/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/type/date.rb
index 48f5db726fe4..12727971c32d 100644
--- a/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/type/date.rb
+++ b/google-ads-marketing_platform-admin-v1alpha/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * [google.protobuf.Timestamp][google.protobuf.Timestamp]
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-analytics-admin-v1alpha/proto_docs/google/api/client.rb b/google-analytics-admin-v1alpha/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-analytics-admin-v1alpha/proto_docs/google/api/client.rb
+++ b/google-analytics-admin-v1alpha/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-analytics-admin-v1alpha/proto_docs/google/type/date.rb b/google-analytics-admin-v1alpha/proto_docs/google/type/date.rb
index 48f5db726fe4..3c5295270b8b 100644
--- a/google-analytics-admin-v1alpha/proto_docs/google/type/date.rb
+++ b/google-analytics-admin-v1alpha/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-apps-chat-v1/proto_docs/google/api/client.rb b/google-apps-chat-v1/proto_docs/google/api/client.rb
index 483a6510978e..a8b1b06d1cad 100644
--- a/google-apps-chat-v1/proto_docs/google/api/client.rb
+++ b/google-apps-chat-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-apps-chat-v1/proto_docs/google/type/color.rb b/google-apps-chat-v1/proto_docs/google/type/color.rb
index 0cb4ccd2d45d..d85ce1b7fac0 100644
--- a/google-apps-chat-v1/proto_docs/google/type/color.rb
+++ b/google-apps-chat-v1/proto_docs/google/type/color.rb
@@ -20,22 +20,22 @@
module Google
module Type
# Represents a color in the RGBA color space. This representation is designed
- # for simplicity of conversion to/from color representations in various
+ # for simplicity of conversion to and from color representations in various
# languages over compactness. For example, the fields of this representation
# can be trivially provided to the constructor of `java.awt.Color` in Java; it
# can also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
# method in iOS; and, with just a little work, it can be easily formatted into
# a CSS `rgba()` string in JavaScript.
#
- # This reference page doesn't carry information about the absolute color
- # space
- # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
- # DCI-P3, BT.2020, etc.). By default, applications should assume the sRGB color
+ # This reference page doesn't have information about the absolute color
+ # space that should be used to interpret the RGB value—for example, sRGB,
+ # Adobe RGB,
+ # DCI-P3, and BT.2020. By default, applications should assume the sRGB color
# space.
#
- # When color equality needs to be decided, implementations, unless
- # documented otherwise, treat two colors as equal if all their red,
- # green, blue, and alpha values each differ by at most 1e-5.
+ # When color equality needs to be decided, implementations, unless documented
+ # otherwise, treat two colors as equal if all their red, green, blue, and alpha
+ # values each differ by at most `1e-5`.
#
# Example (Java):
#
diff --git a/google-cloud-ai_platform-v1/proto_docs/google/api/client.rb b/google-cloud-ai_platform-v1/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-ai_platform-v1/proto_docs/google/api/client.rb
+++ b/google-cloud-ai_platform-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-ai_platform-v1/proto_docs/google/type/date.rb b/google-cloud-ai_platform-v1/proto_docs/google/type/date.rb
index 086a71b4869a..9478ba127d58 100644
--- a/google-cloud-ai_platform-v1/proto_docs/google/type/date.rb
+++ b/google-cloud-ai_platform-v1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-ai_platform-v1/proto_docs/google/type/latlng.rb b/google-cloud-ai_platform-v1/proto_docs/google/type/latlng.rb
index 6a65558604f7..5fc334428d55 100644
--- a/google-cloud-ai_platform-v1/proto_docs/google/type/latlng.rb
+++ b/google-cloud-ai_platform-v1/proto_docs/google/type/latlng.rb
@@ -21,9 +21,9 @@ module Google
module Type
# An object that represents a latitude/longitude pair. This is expressed as a
# pair of doubles to represent degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # WGS84
- # standard. Values must be within normalized ranges.
+ # specified otherwise, this object must conform to the
+ #
+ # WGS84 standard. Values must be within normalized ranges.
# @!attribute [rw] latitude
# @return [::Float]
# The latitude in degrees. It must be in the range [-90.0, +90.0].
diff --git a/google-cloud-alloy_db-v1/proto_docs/google/api/client.rb b/google-cloud-alloy_db-v1/proto_docs/google/api/client.rb
index 44c6bee7f2e5..97193034f37c 100644
--- a/google-cloud-alloy_db-v1/proto_docs/google/api/client.rb
+++ b/google-cloud-alloy_db-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-alloy_db-v1/proto_docs/google/type/date.rb b/google-cloud-alloy_db-v1/proto_docs/google/type/date.rb
index 2f4a77319e09..dd5bc3c9f977 100644
--- a/google-cloud-alloy_db-v1/proto_docs/google/type/date.rb
+++ b/google-cloud-alloy_db-v1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * {::Google::Type::TimeOfDay google.type.TimeOfDay}
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-alloy_db-v1/proto_docs/google/type/timeofday.rb b/google-cloud-alloy_db-v1/proto_docs/google/type/timeofday.rb
index b288b1b61f57..fa5ce3b6fade 100644
--- a/google-cloud-alloy_db-v1/proto_docs/google/type/timeofday.rb
+++ b/google-cloud-alloy_db-v1/proto_docs/google/type/timeofday.rb
@@ -25,18 +25,22 @@ module Type
# `google.protobuf.Timestamp`.
# @!attribute [rw] hours
# @return [::Integer]
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
+ # typically must be less than or equal to 23. An API may choose to allow the
+ # value "24:00:00" for scenarios like business closing time.
# @!attribute [rw] minutes
# @return [::Integer]
- # Minutes of hour of day. Must be from 0 to 59.
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or
+ # equal to 59.
# @!attribute [rw] seconds
# @return [::Integer]
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must
+ # be less than or equal to 59. An API may allow the value 60 if it allows
+ # leap-seconds.
# @!attribute [rw] nanos
# @return [::Integer]
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
+ # and less than or equal to 999,999,999.
class TimeOfDay
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
diff --git a/google-cloud-alloy_db-v1alpha/proto_docs/google/api/client.rb b/google-cloud-alloy_db-v1alpha/proto_docs/google/api/client.rb
index 44c6bee7f2e5..97193034f37c 100644
--- a/google-cloud-alloy_db-v1alpha/proto_docs/google/api/client.rb
+++ b/google-cloud-alloy_db-v1alpha/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-alloy_db-v1alpha/proto_docs/google/type/date.rb b/google-cloud-alloy_db-v1alpha/proto_docs/google/type/date.rb
index 2f4a77319e09..dd5bc3c9f977 100644
--- a/google-cloud-alloy_db-v1alpha/proto_docs/google/type/date.rb
+++ b/google-cloud-alloy_db-v1alpha/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * {::Google::Type::TimeOfDay google.type.TimeOfDay}
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-alloy_db-v1alpha/proto_docs/google/type/timeofday.rb b/google-cloud-alloy_db-v1alpha/proto_docs/google/type/timeofday.rb
index b288b1b61f57..fa5ce3b6fade 100644
--- a/google-cloud-alloy_db-v1alpha/proto_docs/google/type/timeofday.rb
+++ b/google-cloud-alloy_db-v1alpha/proto_docs/google/type/timeofday.rb
@@ -25,18 +25,22 @@ module Type
# `google.protobuf.Timestamp`.
# @!attribute [rw] hours
# @return [::Integer]
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
+ # typically must be less than or equal to 23. An API may choose to allow the
+ # value "24:00:00" for scenarios like business closing time.
# @!attribute [rw] minutes
# @return [::Integer]
- # Minutes of hour of day. Must be from 0 to 59.
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or
+ # equal to 59.
# @!attribute [rw] seconds
# @return [::Integer]
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must
+ # be less than or equal to 59. An API may allow the value 60 if it allows
+ # leap-seconds.
# @!attribute [rw] nanos
# @return [::Integer]
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
+ # and less than or equal to 999,999,999.
class TimeOfDay
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
diff --git a/google-cloud-alloy_db-v1beta/proto_docs/google/api/client.rb b/google-cloud-alloy_db-v1beta/proto_docs/google/api/client.rb
index 44c6bee7f2e5..97193034f37c 100644
--- a/google-cloud-alloy_db-v1beta/proto_docs/google/api/client.rb
+++ b/google-cloud-alloy_db-v1beta/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-alloy_db-v1beta/proto_docs/google/type/date.rb b/google-cloud-alloy_db-v1beta/proto_docs/google/type/date.rb
index 2f4a77319e09..dd5bc3c9f977 100644
--- a/google-cloud-alloy_db-v1beta/proto_docs/google/type/date.rb
+++ b/google-cloud-alloy_db-v1beta/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * {::Google::Type::TimeOfDay google.type.TimeOfDay}
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-alloy_db-v1beta/proto_docs/google/type/timeofday.rb b/google-cloud-alloy_db-v1beta/proto_docs/google/type/timeofday.rb
index b288b1b61f57..fa5ce3b6fade 100644
--- a/google-cloud-alloy_db-v1beta/proto_docs/google/type/timeofday.rb
+++ b/google-cloud-alloy_db-v1beta/proto_docs/google/type/timeofday.rb
@@ -25,18 +25,22 @@ module Type
# `google.protobuf.Timestamp`.
# @!attribute [rw] hours
# @return [::Integer]
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
+ # typically must be less than or equal to 23. An API may choose to allow the
+ # value "24:00:00" for scenarios like business closing time.
# @!attribute [rw] minutes
# @return [::Integer]
- # Minutes of hour of day. Must be from 0 to 59.
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or
+ # equal to 59.
# @!attribute [rw] seconds
# @return [::Integer]
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must
+ # be less than or equal to 59. An API may allow the value 60 if it allows
+ # leap-seconds.
# @!attribute [rw] nanos
# @return [::Integer]
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
+ # and less than or equal to 999,999,999.
class TimeOfDay
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
diff --git a/google-cloud-asset-v1/proto_docs/google/api/client.rb b/google-cloud-asset-v1/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-asset-v1/proto_docs/google/api/client.rb
+++ b/google-cloud-asset-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-asset-v1/proto_docs/google/type/date.rb b/google-cloud-asset-v1/proto_docs/google/type/date.rb
index ad63b93044e0..a7ce5a595a1e 100644
--- a/google-cloud-asset-v1/proto_docs/google/type/date.rb
+++ b/google-cloud-asset-v1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-bigtable-v2/proto_docs/google/api/client.rb b/google-cloud-bigtable-v2/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-bigtable-v2/proto_docs/google/api/client.rb
+++ b/google-cloud-bigtable-v2/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-bigtable-v2/proto_docs/google/api/routing.rb b/google-cloud-bigtable-v2/proto_docs/google/api/routing.rb
index 3cc2ed9c4d8b..5a211ede7ee1 100644
--- a/google-cloud-bigtable-v2/proto_docs/google/api/routing.rb
+++ b/google-cloud-bigtable-v2/proto_docs/google/api/routing.rb
@@ -49,9 +49,13 @@ module Api
# app_profile_id: profiles/prof_qux
# }
#
- # The routing header consists of one or multiple key-value pairs. Every key
- # and value must be percent-encoded, and joined together in the format of
- # `key1=value1&key2=value2`.
+ # The routing header consists of one or multiple key-value pairs. The order of
+ # the key-value pairs is undefined, the order of the `routing_parameters` in
+ # the `RoutingRule` only matters for the evaluation order of the path
+ # templates when `field` is the same. See the examples below for more details.
+ #
+ # Every key and value in the routing header must be percent-encoded,
+ # and joined together in the following format: `key1=value1&key2=value2`.
# The examples below skip the percent-encoding for readability.
#
# Example 1
diff --git a/google-cloud-bigtable-v2/proto_docs/google/type/date.rb b/google-cloud-bigtable-v2/proto_docs/google/type/date.rb
index a8b78b5e8ce4..c600f9067762 100644
--- a/google-cloud-bigtable-v2/proto_docs/google/type/date.rb
+++ b/google-cloud-bigtable-v2/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-billing-budgets-v1/proto_docs/google/api/client.rb b/google-cloud-billing-budgets-v1/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-billing-budgets-v1/proto_docs/google/api/client.rb
+++ b/google-cloud-billing-budgets-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-billing-budgets-v1/proto_docs/google/type/date.rb b/google-cloud-billing-budgets-v1/proto_docs/google/type/date.rb
index ad63b93044e0..cd8a1c524fb0 100644
--- a/google-cloud-billing-budgets-v1/proto_docs/google/type/date.rb
+++ b/google-cloud-billing-budgets-v1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * [google.protobuf.Timestamp][google.protobuf.Timestamp]
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-billing-budgets-v1beta1/proto_docs/google/api/client.rb b/google-cloud-billing-budgets-v1beta1/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-billing-budgets-v1beta1/proto_docs/google/api/client.rb
+++ b/google-cloud-billing-budgets-v1beta1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-billing-budgets-v1beta1/proto_docs/google/type/date.rb b/google-cloud-billing-budgets-v1beta1/proto_docs/google/type/date.rb
index ad63b93044e0..cd8a1c524fb0 100644
--- a/google-cloud-billing-budgets-v1beta1/proto_docs/google/type/date.rb
+++ b/google-cloud-billing-budgets-v1beta1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * [google.protobuf.Timestamp][google.protobuf.Timestamp]
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-capacity_planner-v1beta/proto_docs/google/api/client.rb b/google-cloud-capacity_planner-v1beta/proto_docs/google/api/client.rb
index c6b6b60729c9..25b227e61cdc 100644
--- a/google-cloud-capacity_planner-v1beta/proto_docs/google/api/client.rb
+++ b/google-cloud-capacity_planner-v1beta/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-capacity_planner-v1beta/proto_docs/google/type/date.rb b/google-cloud-capacity_planner-v1beta/proto_docs/google/type/date.rb
index 48f5db726fe4..3c5295270b8b 100644
--- a/google-cloud-capacity_planner-v1beta/proto_docs/google/type/date.rb
+++ b/google-cloud-capacity_planner-v1beta/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-container-v1beta1/proto_docs/google/api/client.rb b/google-cloud-container-v1beta1/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-container-v1beta1/proto_docs/google/api/client.rb
+++ b/google-cloud-container-v1beta1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-container-v1beta1/proto_docs/google/type/date.rb b/google-cloud-container-v1beta1/proto_docs/google/type/date.rb
index ad63b93044e0..a7ce5a595a1e 100644
--- a/google-cloud-container-v1beta1/proto_docs/google/type/date.rb
+++ b/google-cloud-container-v1beta1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-database_center-v1beta/proto_docs/google/api/client.rb b/google-cloud-database_center-v1beta/proto_docs/google/api/client.rb
index d59ba51a5612..5089551e9ea4 100644
--- a/google-cloud-database_center-v1beta/proto_docs/google/api/client.rb
+++ b/google-cloud-database_center-v1beta/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-database_center-v1beta/proto_docs/google/type/date.rb b/google-cloud-database_center-v1beta/proto_docs/google/type/date.rb
index 14ec426522d9..7de2b93f3556 100644
--- a/google-cloud-database_center-v1beta/proto_docs/google/type/date.rb
+++ b/google-cloud-database_center-v1beta/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * {::Google::Type::TimeOfDay google.type.TimeOfDay}
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-database_center-v1beta/proto_docs/google/type/timeofday.rb b/google-cloud-database_center-v1beta/proto_docs/google/type/timeofday.rb
index b0c888c8c14a..e59ba755b43a 100644
--- a/google-cloud-database_center-v1beta/proto_docs/google/type/timeofday.rb
+++ b/google-cloud-database_center-v1beta/proto_docs/google/type/timeofday.rb
@@ -25,18 +25,22 @@ module Type
# `google.protobuf.Timestamp`.
# @!attribute [rw] hours
# @return [::Integer]
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
+ # typically must be less than or equal to 23. An API may choose to allow the
+ # value "24:00:00" for scenarios like business closing time.
# @!attribute [rw] minutes
# @return [::Integer]
- # Minutes of hour of day. Must be from 0 to 59.
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or
+ # equal to 59.
# @!attribute [rw] seconds
# @return [::Integer]
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must
+ # be less than or equal to 59. An API may allow the value 60 if it allows
+ # leap-seconds.
# @!attribute [rw] nanos
# @return [::Integer]
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
+ # and less than or equal to 999,999,999.
class TimeOfDay
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
diff --git a/google-cloud-datastore-v1/proto_docs/google/api/client.rb b/google-cloud-datastore-v1/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-datastore-v1/proto_docs/google/api/client.rb
+++ b/google-cloud-datastore-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-datastore-v1/proto_docs/google/api/routing.rb b/google-cloud-datastore-v1/proto_docs/google/api/routing.rb
index b70c2c09ad7a..30fb5caa2453 100644
--- a/google-cloud-datastore-v1/proto_docs/google/api/routing.rb
+++ b/google-cloud-datastore-v1/proto_docs/google/api/routing.rb
@@ -49,9 +49,13 @@ module Api
# app_profile_id: profiles/prof_qux
# }
#
- # The routing header consists of one or multiple key-value pairs. Every key
- # and value must be percent-encoded, and joined together in the format of
- # `key1=value1&key2=value2`.
+ # The routing header consists of one or multiple key-value pairs. The order of
+ # the key-value pairs is undefined, the order of the `routing_parameters` in
+ # the `RoutingRule` only matters for the evaluation order of the path
+ # templates when `field` is the same. See the examples below for more details.
+ #
+ # Every key and value in the routing header must be percent-encoded,
+ # and joined together in the following format: `key1=value1&key2=value2`.
# The examples below skip the percent-encoding for readability.
#
# Example 1
diff --git a/google-cloud-datastore-v1/proto_docs/google/type/latlng.rb b/google-cloud-datastore-v1/proto_docs/google/type/latlng.rb
index ddd705dc8844..e82e33de36f5 100644
--- a/google-cloud-datastore-v1/proto_docs/google/type/latlng.rb
+++ b/google-cloud-datastore-v1/proto_docs/google/type/latlng.rb
@@ -21,9 +21,9 @@ module Google
module Type
# An object that represents a latitude/longitude pair. This is expressed as a
# pair of doubles to represent degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # WGS84
- # standard. Values must be within normalized ranges.
+ # specified otherwise, this object must conform to the
+ #
+ # WGS84 standard. Values must be within normalized ranges.
# @!attribute [rw] latitude
# @return [::Float]
# The latitude in degrees. It must be in the range [-90.0, +90.0].
diff --git a/google-cloud-deploy-v1/proto_docs/google/api/client.rb b/google-cloud-deploy-v1/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-deploy-v1/proto_docs/google/api/client.rb
+++ b/google-cloud-deploy-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-deploy-v1/proto_docs/google/type/date.rb b/google-cloud-deploy-v1/proto_docs/google/type/date.rb
index d340bf377a8d..25cd60c5322a 100644
--- a/google-cloud-deploy-v1/proto_docs/google/type/date.rb
+++ b/google-cloud-deploy-v1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * {::Google::Type::TimeOfDay google.type.TimeOfDay}
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-deploy-v1/proto_docs/google/type/timeofday.rb b/google-cloud-deploy-v1/proto_docs/google/type/timeofday.rb
index 38820c1fcba2..8c976edab900 100644
--- a/google-cloud-deploy-v1/proto_docs/google/type/timeofday.rb
+++ b/google-cloud-deploy-v1/proto_docs/google/type/timeofday.rb
@@ -25,18 +25,22 @@ module Type
# `google.protobuf.Timestamp`.
# @!attribute [rw] hours
# @return [::Integer]
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
- # to allow the value "24:00:00" for scenarios like business closing time.
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
+ # typically must be less than or equal to 23. An API may choose to allow the
+ # value "24:00:00" for scenarios like business closing time.
# @!attribute [rw] minutes
# @return [::Integer]
- # Minutes of hour of day. Must be from 0 to 59.
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or
+ # equal to 59.
# @!attribute [rw] seconds
# @return [::Integer]
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
- # allow the value 60 if it allows leap-seconds.
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must
+ # be less than or equal to 59. An API may allow the value 60 if it allows
+ # leap-seconds.
# @!attribute [rw] nanos
# @return [::Integer]
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0
+ # and less than or equal to 999,999,999.
class TimeOfDay
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
diff --git a/google-cloud-dialogflow-v2/proto_docs/google/api/client.rb b/google-cloud-dialogflow-v2/proto_docs/google/api/client.rb
index 8f4ca4b4d6e5..7796382e3a21 100644
--- a/google-cloud-dialogflow-v2/proto_docs/google/api/client.rb
+++ b/google-cloud-dialogflow-v2/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-dialogflow-v2/proto_docs/google/type/latlng.rb b/google-cloud-dialogflow-v2/proto_docs/google/type/latlng.rb
index ddd705dc8844..e82e33de36f5 100644
--- a/google-cloud-dialogflow-v2/proto_docs/google/type/latlng.rb
+++ b/google-cloud-dialogflow-v2/proto_docs/google/type/latlng.rb
@@ -21,9 +21,9 @@ module Google
module Type
# An object that represents a latitude/longitude pair. This is expressed as a
# pair of doubles to represent degrees latitude and degrees longitude. Unless
- # specified otherwise, this must conform to the
- # WGS84
- # standard. Values must be within normalized ranges.
+ # specified otherwise, this object must conform to the
+ #
+ # WGS84 standard. Values must be within normalized ranges.
# @!attribute [rw] latitude
# @return [::Float]
# The latitude in degrees. It must be in the range [-90.0, +90.0].
diff --git a/google-cloud-discovery_engine-v1/proto_docs/google/api/client.rb b/google-cloud-discovery_engine-v1/proto_docs/google/api/client.rb
index 44c6bee7f2e5..97193034f37c 100644
--- a/google-cloud-discovery_engine-v1/proto_docs/google/api/client.rb
+++ b/google-cloud-discovery_engine-v1/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-discovery_engine-v1/proto_docs/google/type/date.rb b/google-cloud-discovery_engine-v1/proto_docs/google/type/date.rb
index 086a71b4869a..9478ba127d58 100644
--- a/google-cloud-discovery_engine-v1/proto_docs/google/type/date.rb
+++ b/google-cloud-discovery_engine-v1/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
diff --git a/google-cloud-discovery_engine-v1beta/proto_docs/google/api/client.rb b/google-cloud-discovery_engine-v1beta/proto_docs/google/api/client.rb
index 44c6bee7f2e5..97193034f37c 100644
--- a/google-cloud-discovery_engine-v1beta/proto_docs/google/api/client.rb
+++ b/google-cloud-discovery_engine-v1beta/proto_docs/google/api/client.rb
@@ -141,9 +141,10 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # library_package: com.google.cloud.pubsub.v1
+ # publishing:
+ # library_settings:
+ # java_settings:
+ # library_package: com.google.cloud.pubsub.v1
# @!attribute [rw] service_class_names
# @return [::Google::Protobuf::Map{::String => ::String}]
# Configure the Java class name to use instead of the service's for its
@@ -155,11 +156,11 @@ class Publishing
#
# Example of a YAML configuration::
#
- # publishing:
- # java_settings:
- # service_class_names:
- # - google.pubsub.v1.Publisher: TopicAdmin
- # - google.pubsub.v1.Subscriber: SubscriptionAdmin
+ # publishing:
+ # java_settings:
+ # service_class_names:
+ # - google.pubsub.v1.Publisher: TopicAdmin
+ # - google.pubsub.v1.Subscriber: SubscriptionAdmin
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
@@ -190,6 +191,20 @@ class CppSettings
# @!attribute [rw] common
# @return [::Google::Api::CommonLanguageSettings]
# Some settings.
+ # @!attribute [rw] library_package
+ # @return [::String]
+ # The package name to use in Php. Clobbers the php_namespace option
+ # set in the protobuf. This should be used **only** by APIs
+ # who have already set the language_settings.php.package_name" field
+ # in gapic.yaml. API teams should use the protobuf php_namespace option
+ # where possible.
+ #
+ # Example of a YAML configuration::
+ #
+ # publishing:
+ # library_settings:
+ # php_settings:
+ # library_package: Google\Cloud\PubSub\V1
class PhpSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -318,10 +333,12 @@ class RubySettings
# service names and values are the name to be used for the service client
# and call options.
#
- # publishing:
- # go_settings:
- # renamed_services:
- # Publisher: TopicAdmin
+ # Example:
+ #
+ # publishing:
+ # go_settings:
+ # renamed_services:
+ # Publisher: TopicAdmin
class GoSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,10 +361,10 @@ class RenamedServicesEntry
#
# Example:
#
- # publishing:
- # method_settings:
- # - selector: google.storage.control.v2.StorageControl.CreateFolder
- # # method settings for CreateFolder...
+ # publishing:
+ # method_settings:
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
+ # # method settings for CreateFolder...
# @!attribute [rw] long_running
# @return [::Google::Api::MethodSettings::LongRunning]
# Describes settings to use for long-running operations when generating
@@ -356,14 +373,14 @@ class RenamedServicesEntry
#
# Example of a YAML configuration::
#
- # publishing:
- # method_settings:
- # - selector: google.cloud.speech.v2.Speech.BatchRecognize
- # long_running:
- # initial_poll_delay: 60s # 1 minute
- # poll_delay_multiplier: 1.5
- # max_poll_delay: 360s # 6 minutes
- # total_poll_timeout: 54000s # 90 minutes
+ # publishing:
+ # method_settings:
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
+ # long_running:
+ # initial_poll_delay: 60s # 1 minute
+ # poll_delay_multiplier: 1.5
+ # max_poll_delay: 360s # 6 minutes
+ # total_poll_timeout: 54000s # 90 minutes
# @!attribute [rw] auto_populated_fields
# @return [::Array<::String>]
# List of top-level fields of the request message, that should be
@@ -372,11 +389,24 @@ class RenamedServicesEntry
#
# Example of a YAML configuration:
#
- # publishing:
- # method_settings:
- # - selector: google.example.v1.ExampleService.CreateExample
- # auto_populated_fields:
- # - request_id
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.CreateExample
+ # auto_populated_fields:
+ # - request_id
+ # @!attribute [rw] batching
+ # @return [::Google::Api::BatchingConfigProto]
+ # Batching configuration for an API method in client libraries.
+ #
+ # Example of a YAML configuration:
+ #
+ # publishing:
+ # method_settings:
+ # - selector: google.example.v1.ExampleService.BatchCreateExample
+ # batching:
+ # element_count_threshold: 1000
+ # request_byte_threshold: 100000000
+ # delay_threshold_millis: 10
class MethodSettings
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -428,6 +458,77 @@ class SelectiveGapicGeneration
extend ::Google::Protobuf::MessageExts::ClassMethods
end
+ # `BatchingConfigProto` defines the batching configuration for an API method.
+ # @!attribute [rw] thresholds
+ # @return [::Google::Api::BatchingSettingsProto]
+ # The thresholds which trigger a batched request to be sent.
+ # @!attribute [rw] batch_descriptor
+ # @return [::Google::Api::BatchingDescriptorProto]
+ # The request and response fields used in batching.
+ class BatchingConfigProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingSettingsProto` specifies a set of batching thresholds, each of
+ # which acts as a trigger to send a batch of messages as a request. At least
+ # one threshold must be positive nonzero.
+ # @!attribute [rw] element_count_threshold
+ # @return [::Integer]
+ # The number of elements of a field collected into a batch which, if
+ # exceeded, causes the batch to be sent.
+ # @!attribute [rw] request_byte_threshold
+ # @return [::Integer]
+ # The aggregated size of the batched field which, if exceeded, causes the
+ # batch to be sent. This size is computed by aggregating the sizes of the
+ # request field to be batched, not of the entire request message.
+ # @!attribute [rw] delay_threshold
+ # @return [::Google::Protobuf::Duration]
+ # The duration after which a batch should be sent, starting from the addition
+ # of the first message to that batch.
+ # @!attribute [rw] element_count_limit
+ # @return [::Integer]
+ # The maximum number of elements collected in a batch that could be accepted
+ # by server.
+ # @!attribute [rw] request_byte_limit
+ # @return [::Integer]
+ # The maximum size of the request that could be accepted by server.
+ # @!attribute [rw] flow_control_element_limit
+ # @return [::Integer]
+ # The maximum number of elements allowed by flow control.
+ # @!attribute [rw] flow_control_byte_limit
+ # @return [::Integer]
+ # The maximum size of data allowed by flow control.
+ # @!attribute [rw] flow_control_limit_exceeded_behavior
+ # @return [::Google::Api::FlowControlLimitExceededBehaviorProto]
+ # The behavior to take when the flow control limit is exceeded.
+ class BatchingSettingsProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
+ # `BatchingDescriptorProto` specifies the fields of the request message to be
+ # used for batching, and, optionally, the fields of the response message to be
+ # used for demultiplexing.
+ # @!attribute [rw] batched_field
+ # @return [::String]
+ # The repeated field in the request message to be aggregated by batching.
+ # @!attribute [rw] discriminator_fields
+ # @return [::Array<::String>]
+ # A list of the fields in the request message. Two requests will be batched
+ # together only if the values of every field specified in
+ # `request_discriminator_fields` is equal between the two requests.
+ # @!attribute [rw] subresponse_field
+ # @return [::String]
+ # Optional. When present, indicates the field in the response message to be
+ # used to demultiplex the response into multiple response messages, in
+ # correspondence with the multiple request messages originally batched
+ # together.
+ class BatchingDescriptorProto
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
+
# The organization for which the client libraries are being published.
# Affects the url where generated docs are published, etc.
module ClientLibraryOrganization
@@ -469,5 +570,20 @@ module ClientLibraryDestination
# Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20
end
+
+ # The behavior to take when the flow control limit is exceeded.
+ module FlowControlLimitExceededBehaviorProto
+ # Default behavior, system-defined.
+ UNSET_BEHAVIOR = 0
+
+ # Stop operation, raise error.
+ THROW_EXCEPTION = 1
+
+ # Pause operation until limit clears.
+ BLOCK = 2
+
+ # Continue operation, disregard limit.
+ IGNORE = 3
+ end
end
end
diff --git a/google-cloud-discovery_engine-v1beta/proto_docs/google/type/date.rb b/google-cloud-discovery_engine-v1beta/proto_docs/google/type/date.rb
index 086a71b4869a..9478ba127d58 100644
--- a/google-cloud-discovery_engine-v1beta/proto_docs/google/type/date.rb
+++ b/google-cloud-discovery_engine-v1beta/proto_docs/google/type/date.rb
@@ -24,14 +24,17 @@ module Type
# date is relative to the Gregorian Calendar. This can represent one of the
# following:
#
- # * A full date, with non-zero year, month, and day values
- # * A month and day value, with a zero year, such as an anniversary
- # * A year on its own, with zero month and day values
- # * A year and month value, with a zero day, such as a credit card expiration
- # date
+ # * A full date, with non-zero year, month, and day values.
+ # * A month and day, with a zero year (for example, an anniversary).
+ # * A year on its own, with a zero month and a zero day.
+ # * A year and month, with a zero day (for example, a credit card expiration
+ # date).
#
- # Related types are [google.type.TimeOfDay][google.type.TimeOfDay] and
- # `google.protobuf.Timestamp`.
+ # Related types:
+ #
+ # * [google.type.TimeOfDay][google.type.TimeOfDay]
+ # * [google.type.DateTime][google.type.DateTime]
+ # * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
# @!attribute [rw] year
# @return [::Integer]
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without