google-cloud-ai_platform-v1 1.30.0 → 1.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb +20 -3
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +20 -3
  4. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +20 -3
  5. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/client.rb +20 -3
  6. data/lib/google/cloud/ai_platform/v1/deployment_resource_pool_service/operations.rb +20 -3
  7. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +20 -3
  8. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +20 -3
  9. data/lib/google/cloud/ai_platform/v1/evaluation_service/client.rb +20 -3
  10. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +20 -3
  11. data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +20 -3
  12. data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +20 -3
  13. data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +20 -3
  14. data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +20 -3
  15. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +20 -3
  16. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -3
  17. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +20 -3
  18. data/lib/google/cloud/ai_platform/v1/gen_ai_cache_service/client.rb +20 -3
  19. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/client.rb +20 -3
  20. data/lib/google/cloud/ai_platform/v1/gen_ai_tuning_service/operations.rb +20 -3
  21. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +20 -3
  22. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +20 -3
  23. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +20 -3
  24. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +20 -3
  25. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +20 -3
  26. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +20 -3
  27. data/lib/google/cloud/ai_platform/v1/llm_utility_service/client.rb +20 -3
  28. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +20 -3
  29. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +20 -3
  30. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +20 -3
  31. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +20 -3
  32. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +20 -3
  33. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +20 -3
  34. data/lib/google/cloud/ai_platform/v1/model_garden_service/operations.rb +20 -3
  35. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +20 -3
  36. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +20 -3
  37. data/lib/google/cloud/ai_platform/v1/notebook_service/client.rb +20 -3
  38. data/lib/google/cloud/ai_platform/v1/notebook_service/operations.rb +20 -3
  39. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/client.rb +20 -3
  40. data/lib/google/cloud/ai_platform/v1/persistent_resource_service/operations.rb +20 -3
  41. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +20 -3
  42. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +20 -3
  43. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +20 -3
  44. data/lib/google/cloud/ai_platform/v1/reasoning_engine_execution_service/client.rb +20 -3
  45. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/client.rb +20 -3
  46. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/operations.rb +20 -3
  47. data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/paths.rb +21 -0
  48. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +20 -3
  49. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +20 -3
  50. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +20 -3
  51. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +20 -3
  52. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +20 -3
  53. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +20 -3
  54. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  55. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +20 -3
  56. data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/operations.rb +20 -3
  57. data/lib/google/cloud/ai_platform/v1/vertex_rag_service/client.rb +20 -3
  58. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +20 -3
  59. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +20 -3
  60. data/lib/google/cloud/aiplatform/v1/content_pb.rb +7 -1
  61. data/lib/google/cloud/aiplatform/v1/deployment_stage_pb.rb +1 -1
  62. data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +1 -1
  63. data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +1 -1
  64. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +1 -1
  65. data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +3 -1
  66. data/proto_docs/google/cloud/aiplatform/v1/content.rb +82 -0
  67. data/proto_docs/google/cloud/aiplatform/v1/deployment_stage.rb +6 -0
  68. data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +2 -1
  69. data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +16 -0
  70. data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb +43 -4
  71. metadata +1 -1
@@ -143,6 +143,85 @@ module Google
143
143
  extend ::Google::Protobuf::MessageExts::ClassMethods
144
144
  end
145
145
 
146
+ # Configuration for a prebuilt voice.
147
+ # @!attribute [rw] voice_name
148
+ # @return [::String]
149
+ # The name of the prebuilt voice to use.
150
+ class PrebuiltVoiceConfig
151
+ include ::Google::Protobuf::MessageExts
152
+ extend ::Google::Protobuf::MessageExts::ClassMethods
153
+ end
154
+
155
+ # The configuration for the replicated voice to use.
156
+ # @!attribute [rw] mime_type
157
+ # @return [::String]
158
+ # Optional. The mimetype of the voice sample. Currently only
159
+ # mime_type=audio/pcm is supported, which is raw mono 16-bit signed
160
+ # little-endian pcm data, with 24k sampling rate.
161
+ # @!attribute [rw] voice_sample_audio
162
+ # @return [::String]
163
+ # Optional. The sample of the custom voice.
164
+ class ReplicatedVoiceConfig
165
+ include ::Google::Protobuf::MessageExts
166
+ extend ::Google::Protobuf::MessageExts::ClassMethods
167
+ end
168
+
169
+ # Configuration for a voice.
170
+ # @!attribute [rw] prebuilt_voice_config
171
+ # @return [::Google::Cloud::AIPlatform::V1::PrebuiltVoiceConfig]
172
+ # The configuration for a prebuilt voice.
173
+ #
174
+ # Note: The following fields are mutually exclusive: `prebuilt_voice_config`, `replicated_voice_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
175
+ # @!attribute [rw] replicated_voice_config
176
+ # @return [::Google::Cloud::AIPlatform::V1::ReplicatedVoiceConfig]
177
+ # Optional. The configuration for a replicated voice. This enables users to
178
+ # replicate a voice from an audio sample.
179
+ #
180
+ # Note: The following fields are mutually exclusive: `replicated_voice_config`, `prebuilt_voice_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
181
+ class VoiceConfig
182
+ include ::Google::Protobuf::MessageExts
183
+ extend ::Google::Protobuf::MessageExts::ClassMethods
184
+ end
185
+
186
+ # Configuration for a single speaker in a multi-speaker setup.
187
+ # @!attribute [rw] speaker
188
+ # @return [::String]
189
+ # Required. The name of the speaker. This should be the same as the speaker
190
+ # name used in the prompt.
191
+ # @!attribute [rw] voice_config
192
+ # @return [::Google::Cloud::AIPlatform::V1::VoiceConfig]
193
+ # Required. The configuration for the voice of this speaker.
194
+ class SpeakerVoiceConfig
195
+ include ::Google::Protobuf::MessageExts
196
+ extend ::Google::Protobuf::MessageExts::ClassMethods
197
+ end
198
+
199
+ # Configuration for a multi-speaker text-to-speech request.
200
+ # @!attribute [rw] speaker_voice_configs
201
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::SpeakerVoiceConfig>]
202
+ # Required. A list of configurations for the voices of the speakers. Exactly
203
+ # two speaker voice configurations must be provided.
204
+ class MultiSpeakerVoiceConfig
205
+ include ::Google::Protobuf::MessageExts
206
+ extend ::Google::Protobuf::MessageExts::ClassMethods
207
+ end
208
+
209
+ # Configuration for speech generation.
210
+ # @!attribute [rw] voice_config
211
+ # @return [::Google::Cloud::AIPlatform::V1::VoiceConfig]
212
+ # The configuration for the voice to use.
213
+ # @!attribute [rw] language_code
214
+ # @return [::String]
215
+ # Optional. The language code (ISO 639-1) for the speech synthesis.
216
+ # @!attribute [rw] multi_speaker_voice_config
217
+ # @return [::Google::Cloud::AIPlatform::V1::MultiSpeakerVoiceConfig]
218
+ # The configuration for a multi-speaker text-to-speech request.
219
+ # This field is mutually exclusive with `voice_config`.
220
+ class SpeechConfig
221
+ include ::Google::Protobuf::MessageExts
222
+ extend ::Google::Protobuf::MessageExts::ClassMethods
223
+ end
224
+
146
225
  # Config for image generation features.
147
226
  # @!attribute [rw] aspect_ratio
148
227
  # @return [::String]
@@ -253,6 +332,9 @@ module Google
253
332
  # @!attribute [rw] routing_config
254
333
  # @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::RoutingConfig]
255
334
  # Optional. Routing configuration.
335
+ # @!attribute [rw] speech_config
336
+ # @return [::Google::Cloud::AIPlatform::V1::SpeechConfig]
337
+ # Optional. The speech generation config.
256
338
  # @!attribute [rw] thinking_config
257
339
  # @return [::Google::Cloud::AIPlatform::V1::GenerationConfig::ThinkingConfig]
258
340
  # Optional. Config for thinking features.
@@ -49,6 +49,12 @@ module Google
49
49
 
50
50
  # The deployment has terminated.
51
51
  DEPLOYMENT_TERMINATED = 10
52
+
53
+ # The deployment has succeeded.
54
+ SUCCESSFULLY_DEPLOYED = 11
55
+
56
+ # The deployment has failed.
57
+ FAILED_TO_DEPLOY = 12
52
58
  end
53
59
  end
54
60
  end
@@ -93,7 +93,8 @@ module Google
93
93
  # Required. Autoscaling config applied to Bigtable Instance.
94
94
  # @!attribute [rw] enable_direct_bigtable_access
95
95
  # @return [::Boolean]
96
- # Optional. Whether direct access to the Bigtable instance is enabled or not.
96
+ # Optional. Whether direct access to the Bigtable instance is enabled or
97
+ # not.
97
98
  # @!attribute [r] bigtable_metadata
98
99
  # @return [::Google::Cloud::AIPlatform::V1::FeatureOnlineStore::Bigtable::BigtableMetadata]
99
100
  # Output only. Metadata of the Bigtable instance. Output only.
@@ -45,6 +45,22 @@ module Google
45
45
  # @!attribute [rw] accelerator_count
46
46
  # @return [::Integer]
47
47
  # The number of accelerators to attach to the machine.
48
+ # @!attribute [rw] gpu_partition_size
49
+ # @return [::String]
50
+ # Optional. Immutable. The Nvidia GPU partition size.
51
+ #
52
+ # When specified, the requested accelerators will be partitioned into
53
+ # smaller GPU partitions. For example, if the request is for 8 units of
54
+ # NVIDIA A100 GPUs, and gpu_partition_size="1g.10gb", the service will
55
+ # create 8 * 7 = 56 partitioned MIG instances.
56
+ #
57
+ # The partition size must be a value supported by the requested accelerator.
58
+ # Refer to
59
+ # [Nvidia GPU
60
+ # Partitioning](https://cloud.google.com/kubernetes-engine/docs/how-to/gpus-multi#multi-instance_gpu_partitions)
61
+ # for the available partition sizes.
62
+ #
63
+ # If set, the accelerator_count should be set to 1.
48
64
  # @!attribute [rw] tpu_topology
49
65
  # @return [::String]
50
66
  # Immutable. The topology of the TPUs. Corresponds to the TPU topologies
@@ -69,8 +69,9 @@ module Google
69
69
  # Optional. The Cloud Storage URI of the `requirements.txt` file
70
70
  # @!attribute [rw] python_version
71
71
  # @return [::String]
72
- # Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11.
73
- # If not specified, default value is 3.10.
72
+ # Optional. The Python version. Supported values
73
+ # are 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, the default value
74
+ # is 3.10.
74
75
  class PackageSpec
75
76
  include ::Google::Protobuf::MessageExts
76
77
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -135,6 +136,13 @@ module Google
135
136
  # @!attribute [rw] inline_source
136
137
  # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::InlineSource]
137
138
  # Source code is provided directly in the request.
139
+ #
140
+ # Note: The following fields are mutually exclusive: `inline_source`, `developer_connect_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
141
+ # @!attribute [rw] developer_connect_source
142
+ # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::DeveloperConnectSource]
143
+ # Source code is in a Git repository managed by Developer Connect.
144
+ #
145
+ # Note: The following fields are mutually exclusive: `developer_connect_source`, `inline_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
138
146
  # @!attribute [rw] python_spec
139
147
  # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::PythonSpec]
140
148
  # Configuration for a Python application.
@@ -146,13 +154,44 @@ module Google
146
154
  # @!attribute [rw] source_archive
147
155
  # @return [::String]
148
156
  # Required. Input only. The application source code archive, provided as
149
- # a compressed tarball
150
- # (.tar.gz) file.
157
+ # a compressed tarball (.tar.gz) file.
151
158
  class InlineSource
152
159
  include ::Google::Protobuf::MessageExts
153
160
  extend ::Google::Protobuf::MessageExts::ClassMethods
154
161
  end
155
162
 
163
+ # Specifies the configuration for fetching source code from a Git
164
+ # repository that is managed by Developer Connect. This includes the
165
+ # repository, revision, and directory to use.
166
+ # @!attribute [rw] git_repository_link
167
+ # @return [::String]
168
+ # Required. The Developer Connect Git repository link, formatted as
169
+ # `projects/*/locations/*/connections/*/gitRepositoryLink/*`.
170
+ # @!attribute [rw] dir
171
+ # @return [::String]
172
+ # Required. Directory, relative to the source root, in which to run the
173
+ # build.
174
+ # @!attribute [rw] revision
175
+ # @return [::String]
176
+ # Required. The revision to fetch from the Git repository such as a
177
+ # branch, a tag, a commit SHA, or any Git ref.
178
+ class DeveloperConnectConfig
179
+ include ::Google::Protobuf::MessageExts
180
+ extend ::Google::Protobuf::MessageExts::ClassMethods
181
+ end
182
+
183
+ # Specifies source code to be fetched from a Git repository managed through
184
+ # the Developer Connect service.
185
+ # @!attribute [rw] config
186
+ # @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::DeveloperConnectConfig]
187
+ # Required. The Developer Connect configuration that defines the
188
+ # specific repository, revision, and directory to use as the source code
189
+ # root.
190
+ class DeveloperConnectSource
191
+ include ::Google::Protobuf::MessageExts
192
+ extend ::Google::Protobuf::MessageExts::ClassMethods
193
+ end
194
+
156
195
  # Specification for running a Python application from source.
157
196
  # @!attribute [rw] version
158
197
  # @return [::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-ai_platform-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC