diff --git a/google-cloud-ai_platform-v1/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb b/google-cloud-ai_platform-v1/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb
index 1a5b8dbdc2fc..52dfb9826797 100644
--- a/google-cloud-ai_platform-v1/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb
+++ b/google-cloud-ai_platform-v1/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb
@@ -13,7 +13,7 @@
require 'google/protobuf/timestamp_pb'
-descriptor_data = "\n1google/cloud/aiplatform/v1/reasoning_engine.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a\x33google/cloud/aiplatform/v1/service_networking.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf2\x11\n\x13ReasoningEngineSpec\x12Z\n\x10source_code_spec\x18\x0b \x01(\x0b\x32>.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecH\x00\x12!\n\x0fservice_account\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12V\n\x0cpackage_spec\x18\x02 \x01(\x0b\x32;.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpecB\x03\xe0\x41\x01\x12\\\n\x0f\x64\x65ployment_spec\x18\x04 \x01(\x0b\x32>.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpecB\x03\xe0\x41\x01\x12\x33\n\rclass_methods\x18\x03 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x1c\n\x0f\x61gent_framework\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x98\x01\n\x0bPackageSpec\x12\"\n\x15pickle_object_gcs_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x64\x65pendency_files_gcs_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14requirements_gcs_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0epython_version\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a\xae\x04\n\x0e\x44\x65ploymentSpec\x12\x34\n\x03\x65nv\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVarB\x03\xe0\x41\x01\x12\x41\n\nsecret_env\x18\x02 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SecretEnvVarB\x03\xe0\x41\x01\x12Q\n\x14psc_interface_config\x18\x04 \x01(\x0b\x32..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xe0\x41\x01\x12\x1f\n\rmin_instances\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1f\n\rmax_instances\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12p\n\x0fresource_limits\x18\x07 \x03(\x0b\x32R.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec.ResourceLimitsEntryB\x03\xe0\x41\x01\x12\'\n\x15\x63ontainer_concurrency\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x1a\x35\n\x13ResourceLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instancesB\x18\n\x16_container_concurrency\x1a\xdd\x08\n\x0eSourceCodeSpec\x12\x64\n\rinline_source\x18\x01 \x01(\x0b\x32K.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceH\x00\x12y\n\x18\x64\x65veloper_connect_source\x18\x03 \x01(\x0b\x32U.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSourceH\x00\x12`\n\x0bpython_spec\x18\x02 \x01(\x0b\x32I.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecH\x01\x12\x63\n\nimage_spec\x18\x05 \x01(\x0b\x32H.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpecB\x03\xe0\x41\x01H\x01\x1a.\n\x0cInlineSource\x12\x1e\n\x0esource_archive\x18\x01 \x01(\x0c\x42\x06\xe0\x41\x02\xe0\x41\x04\x1a\xaf\x01\n\tImageSpec\x12p\n\nbuild_args\x18\x01 \x03(\x0b\x32W.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.BuildArgsEntryB\x03\xe0\x41\x01\x1a\x30\n\x0e\x42uildArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x99\x01\n\x16\x44\x65veloperConnectConfig\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\x12\x10\n\x03\x64ir\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08revision\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1a\x84\x01\n\x16\x44\x65veloperConnectSource\x12j\n\x06\x63onfig\x18\x01 \x01(\x0b\x32U.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectConfigB\x03\xe0\x41\x02\x1a\x82\x01\n\nPythonSpec\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x65ntrypoint_module\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x65ntrypoint_object\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11requirements_file\x18\x04 \x01(\tB\x03\xe0\x41\x01\x42\x08\n\x06sourceB\x0f\n\rlanguage_specB\x13\n\x11\x64\x65ployment_sourceB\x12\n\x10_service_account\"\xfb\x04\n\x0fReasoningEngine\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x42\n\x04spec\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.ReasoningEngineSpecB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x0f\x65ncryption_spec\x18\x0b \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12G\n\x06labels\x18\x11 \x03(\x0b\x32\x37.google.cloud.aiplatform.v1.ReasoningEngine.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x01\xea\x41\x9b\x01\n)aiplatform.googleapis.com/ReasoningEngine\x12Kprojects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}*\x10reasoningEngines2\x0freasoningEngineB\xf4\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x14ReasoningEngineProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1\xea\x41\x9e\x01\n1developerconnect.googleapis.com/GitRepositoryLink\x12iprojects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}b\x06proto3"
+descriptor_data = "\n1google/cloud/aiplatform/v1/reasoning_engine.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a\x33google/cloud/aiplatform/v1/service_networking.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf4\x12\n\x13ReasoningEngineSpec\x12Z\n\x10source_code_spec\x18\x0b \x01(\x0b\x32>.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecH\x00\x12W\n\x0e\x63ontainer_spec\x18\x0f \x01(\x0b\x32=.google.cloud.aiplatform.v1.ReasoningEngineSpec.ContainerSpecH\x00\x12!\n\x0fservice_account\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x01\x88\x01\x01\x12V\n\x0cpackage_spec\x18\x02 \x01(\x0b\x32;.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpecB\x03\xe0\x41\x01\x12\\\n\x0f\x64\x65ployment_spec\x18\x04 \x01(\x0b\x32>.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpecB\x03\xe0\x41\x01\x12\x33\n\rclass_methods\x18\x03 \x03(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x1c\n\x0f\x61gent_framework\x18\x05 \x01(\tB\x03\xe0\x41\x01\x1a\x98\x01\n\x0bPackageSpec\x12\"\n\x15pickle_object_gcs_uri\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12%\n\x18\x64\x65pendency_files_gcs_uri\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14requirements_gcs_uri\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0epython_version\x18\x04 \x01(\tB\x03\xe0\x41\x01\x1a\xae\x04\n\x0e\x44\x65ploymentSpec\x12\x34\n\x03\x65nv\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVarB\x03\xe0\x41\x01\x12\x41\n\nsecret_env\x18\x02 \x03(\x0b\x32(.google.cloud.aiplatform.v1.SecretEnvVarB\x03\xe0\x41\x01\x12Q\n\x14psc_interface_config\x18\x04 \x01(\x0b\x32..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xe0\x41\x01\x12\x1f\n\rmin_instances\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x1f\n\rmax_instances\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12p\n\x0fresource_limits\x18\x07 \x03(\x0b\x32R.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec.ResourceLimitsEntryB\x03\xe0\x41\x01\x12\'\n\x15\x63ontainer_concurrency\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x1a\x35\n\x13ResourceLimitsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_min_instancesB\x10\n\x0e_max_instancesB\x18\n\x16_container_concurrency\x1a\xdd\x08\n\x0eSourceCodeSpec\x12\x64\n\rinline_source\x18\x01 \x01(\x0b\x32K.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceH\x00\x12y\n\x18\x64\x65veloper_connect_source\x18\x03 \x01(\x0b\x32U.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSourceH\x00\x12`\n\x0bpython_spec\x18\x02 \x01(\x0b\x32I.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecH\x01\x12\x63\n\nimage_spec\x18\x05 \x01(\x0b\x32H.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpecB\x03\xe0\x41\x01H\x01\x1a.\n\x0cInlineSource\x12\x1e\n\x0esource_archive\x18\x01 \x01(\x0c\x42\x06\xe0\x41\x02\xe0\x41\x04\x1a\xaf\x01\n\tImageSpec\x12p\n\nbuild_args\x18\x01 \x03(\x0b\x32W.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.BuildArgsEntryB\x03\xe0\x41\x01\x1a\x30\n\x0e\x42uildArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x99\x01\n\x16\x44\x65veloperConnectConfig\x12V\n\x13git_repository_link\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1developerconnect.googleapis.com/GitRepositoryLink\x12\x10\n\x03\x64ir\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08revision\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1a\x84\x01\n\x16\x44\x65veloperConnectSource\x12j\n\x06\x63onfig\x18\x01 \x01(\x0b\x32U.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectConfigB\x03\xe0\x41\x02\x1a\x82\x01\n\nPythonSpec\x12\x14\n\x07version\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x65ntrypoint_module\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11\x65ntrypoint_object\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11requirements_file\x18\x04 \x01(\tB\x03\xe0\x41\x01\x42\x08\n\x06sourceB\x0f\n\rlanguage_spec\x1a\'\n\rContainerSpec\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x13\n\x11\x64\x65ployment_sourceB\x12\n\x10_service_account\"\xfb\x04\n\x0fReasoningEngine\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x64\x65scription\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x42\n\x04spec\x18\x03 \x01(\x0b\x32/.google.cloud.aiplatform.v1.ReasoningEngineSpecB\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\x43\n\x0f\x65ncryption_spec\x18\x0b \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12G\n\x06labels\x18\x11 \x03(\x0b\x32\x37.google.cloud.aiplatform.v1.ReasoningEngine.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9f\x01\xea\x41\x9b\x01\n)aiplatform.googleapis.com/ReasoningEngine\x12Kprojects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}*\x10reasoningEngines2\x0freasoningEngineB\xf4\x02\n\x1e\x63om.google.cloud.aiplatform.v1B\x14ReasoningEngineProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1\xea\x41\x9e\x01\n1developerconnect.googleapis.com/GitRepositoryLink\x12iprojects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}b\x06proto3"
pool = ::Google::Protobuf::DescriptorPool.generated_pool
pool.add_serialized_file(descriptor_data)
@@ -31,6 +31,7 @@ module V1
ReasoningEngineSpec::SourceCodeSpec::DeveloperConnectConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectConfig").msgclass
ReasoningEngineSpec::SourceCodeSpec::DeveloperConnectSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSource").msgclass
ReasoningEngineSpec::SourceCodeSpec::PythonSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec").msgclass
+ ReasoningEngineSpec::ContainerSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReasoningEngineSpec.ContainerSpec").msgclass
ReasoningEngine = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReasoningEngine").msgclass
end
end
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/cloud/aiplatform/v1/reasoning_engine.rb b/google-cloud-ai_platform-v1/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb
index ed37a9f8774e..c47c89165c6d 100644
--- a/google-cloud-ai_platform-v1/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb
+++ b/google-cloud-ai_platform-v1/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb
@@ -25,6 +25,13 @@ module V1
# @!attribute [rw] source_code_spec
# @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec]
# Deploy from source code files with a defined entrypoint.
+ #
+ # Note: The following fields are mutually exclusive: `source_code_spec`, `container_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
+ # @!attribute [rw] container_spec
+ # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::ContainerSpec]
+ # Deploy from a container image with a defined entrypoint and commands.
+ #
+ # Note: The following fields are mutually exclusive: `container_spec`, `source_code_spec`. If a field in that set is populated, all other fields in the set will automatically be cleared.
# @!attribute [rw] service_account
# @return [::String]
# Optional. The service account that the Reasoning Engine artifact runs as.
@@ -247,6 +254,17 @@ class PythonSpec
extend ::Google::Protobuf::MessageExts::ClassMethods
end
end
+
+ # Specification for deploying from a container image.
+ # @!attribute [rw] image_uri
+ # @return [::String]
+ # Required. The Artifact Registry Docker image URI (e.g.,
+ # us-central1-docker.pkg.dev/my-project/my-repo/my-image:tag) of the
+ # container image that is to be run on each worker replica.
+ class ContainerSpec
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
+ end
end
# ReasoningEngine provides a customizable runtime for models to determine
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].