From e424e9e9c7242434376e47567c163a95bdc21437 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 28 Sep 2025 11:05:40 +0000 Subject: [PATCH] feat: Automated regeneration of aiplatform v1beta1 client --- api_names_out.yaml | 10 +++ .../CHANGELOG.md | 4 + .../google/apis/aiplatform_v1beta1/classes.rb | 73 ++++++++++++++++++- .../apis/aiplatform_v1beta1/gem_version.rb | 4 +- .../aiplatform_v1beta1/representations.rb | 22 ++++++ 5 files changed, 107 insertions(+), 6 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..20123426673 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -14671,6 +14671,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AutoraterConfig": google_cloud_aiplatform_v1beta1_autorater_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AutoraterConfig/autoraterModel": autorater_model "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AutoraterConfig/flipEnabled": flip_enabled +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AutoraterConfig/generationConfig": generation_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AutoraterConfig/samplingCount": sampling_count "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AutoscalingMetricSpec": google_cloud_aiplatform_v1beta1_autoscaling_metric_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1AutoscalingMetricSpec/metricName": metric_name @@ -17360,6 +17361,11 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates/candidates/candidate": candidate "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LookupStudyRequest": google_cloud_aiplatform_v1beta1_lookup_study_request "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LookupStudyRequest/displayName": display_name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LustreMount": google_cloud_aiplatform_v1beta1_lustre_mount +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LustreMount/filesystem": filesystem +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LustreMount/instanceIp": instance_ip +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LustreMount/mountPoint": mount_point +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1LustreMount/volumeHandle": volume_handle "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MachineSpec": google_cloud_aiplatform_v1beta1_machine_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MachineSpec/acceleratorCount": accelerator_count "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MachineSpec/acceleratorType": accelerator_type @@ -19314,10 +19320,12 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment": google_cloud_aiplatform_v1beta1_sandbox_environment "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/createTime": create_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/displayName": display_name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/expireTime": expire_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/metadata": metadata "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/name": name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/spec": spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/state": state +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/ttl": ttl "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironment/updateTime": update_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec": google_cloud_aiplatform_v1beta1_sandbox_environment_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec/codeExecutionEnvironment": code_execution_environment @@ -21390,6 +21398,8 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec": google_cloud_aiplatform_v1beta1_worker_pool_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec/containerSpec": container_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec/diskSpec": disk_spec +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec/lustreMounts": lustre_mounts +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec/lustreMounts/lustre_mount": lustre_mount "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec/machineSpec": machine_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec/nfsMounts": nfs_mounts "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1WorkerPoolSpec/nfsMounts/nfs_mount": nfs_mount diff --git a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md index 335809db337..b7696549f2f 100644 --- a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md +++ b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-aiplatform_v1beta1 +### v0.62.0 (2025-09-28) + +* Regenerated from discovery document revision 20250920 + ### v0.61.0 (2025-09-21) * Regenerated from discovery document revision 20250916 diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb index 4963ea40aaf..1af2d2d5c96 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb @@ -1830,6 +1830,11 @@ class GoogleCloudAiplatformV1beta1AutoraterConfig attr_accessor :flip_enabled alias_method :flip_enabled?, :flip_enabled + # Generation config. + # Corresponds to the JSON property `generationConfig` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig] + attr_accessor :generation_config + # Optional. Number of samples for each instance in the dataset. If not specified, # the default is 4. Minimum value is 1, maximum value is 32. # Corresponds to the JSON property `samplingCount` @@ -1844,6 +1849,7 @@ def initialize(**args) def update!(**args) @autorater_model = args[:autorater_model] if args.key?(:autorater_model) @flip_enabled = args[:flip_enabled] if args.key?(:flip_enabled) + @generation_config = args[:generation_config] if args.key?(:generation_config) @sampling_count = args[:sampling_count] if args.key?(:sampling_count) end end @@ -3004,8 +3010,8 @@ class GoogleCloudAiplatformV1beta1BigQueryRequestSet # @return [String] attr_accessor :prompt_column - # Optional. The name of the column that contains the rubrics. This will be in - # evaluation_rubric.RubricGroup format (cl/762595858). + # Optional. The name of the column that contains the rubrics. This is in + # evaluation_rubric.RubricGroup format. # Corresponds to the JSON property `rubricsColumn` # @return [String] attr_accessor :rubrics_column @@ -9697,7 +9703,7 @@ class GoogleCloudAiplatformV1beta1EvaluationItem # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationResult] attr_accessor :evaluation_response - # The GCS object where the request or response is stored. + # The Cloud Storage object where the request or response is stored. # Corresponds to the JSON property `gcsUri` # @return [String] attr_accessor :gcs_uri @@ -15912,7 +15918,7 @@ class GoogleCloudAiplatformV1beta1FunctionCall # @return [String] attr_accessor :id - # Required. The name of the function to call. Matches [FunctionDeclaration.name]. + # Optional. The name of the function to call. Matches [FunctionDeclaration.name]. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -21522,6 +21528,44 @@ def update!(**args) end end + # Represents a mount configuration for Lustre file system. + class GoogleCloudAiplatformV1beta1LustreMount + include Google::Apis::Core::Hashable + + # Required. The name of the Lustre filesystem. + # Corresponds to the JSON property `filesystem` + # @return [String] + attr_accessor :filesystem + + # Required. IP address of the Lustre instance. + # Corresponds to the JSON property `instanceIp` + # @return [String] + attr_accessor :instance_ip + + # Required. Destination mount path. The Lustre file system will be mounted for + # the user under /mnt/lustre/ + # Corresponds to the JSON property `mountPoint` + # @return [String] + attr_accessor :mount_point + + # Required. The unique identifier of the Lustre volume. + # Corresponds to the JSON property `volumeHandle` + # @return [String] + attr_accessor :volume_handle + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filesystem = args[:filesystem] if args.key?(:filesystem) + @instance_ip = args[:instance_ip] if args.key?(:instance_ip) + @mount_point = args[:mount_point] if args.key?(:mount_point) + @volume_handle = args[:volume_handle] if args.key?(:volume_handle) + end + end + # Specification of a single machine. class GoogleCloudAiplatformV1beta1MachineSpec include Google::Apis::Core::Hashable @@ -36088,6 +36132,13 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironment # @return [String] attr_accessor :display_name + # Optional. Timestamp in UTC of when this SandboxEnvironment is considered + # expired. This is *always* provided on output, regardless of what `expiration` + # was sent on input. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + # Identifier. The name of the SandboxEnvironment. # Corresponds to the JSON property `name` # @return [String] @@ -36103,6 +36154,12 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironment # @return [String] attr_accessor :state + # Optional. Input only. The TTL for the sandbox environment. The expiration time + # is computed: now + TTL. + # Corresponds to the JSON property `ttl` + # @return [String] + attr_accessor :ttl + # Output only. The timestamp when this SandboxEnvironment was most recently # updated. # Corresponds to the JSON property `updateTime` @@ -36117,9 +36174,11 @@ def initialize(**args) def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) + @expire_time = args[:expire_time] if args.key?(:expire_time) @name = args[:name] if args.key?(:name) @spec = args[:spec] if args.key?(:spec) @state = args[:state] if args.key?(:state) + @ttl = args[:ttl] if args.key?(:ttl) @update_time = args[:update_time] if args.key?(:update_time) end end @@ -50874,6 +50933,11 @@ class GoogleCloudAiplatformV1beta1WorkerPoolSpec # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiskSpec] attr_accessor :disk_spec + # Optional. List of Lustre mounts. + # Corresponds to the JSON property `lustreMounts` + # @return [Array] + attr_accessor :lustre_mounts + # Specification of a single machine. # Corresponds to the JSON property `machineSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec] @@ -50902,6 +50966,7 @@ def initialize(**args) def update!(**args) @container_spec = args[:container_spec] if args.key?(:container_spec) @disk_spec = args[:disk_spec] if args.key?(:disk_spec) + @lustre_mounts = args[:lustre_mounts] if args.key?(:lustre_mounts) @machine_spec = args[:machine_spec] if args.key?(:machine_spec) @nfs_mounts = args[:nfs_mounts] if args.key?(:nfs_mounts) @python_package_spec = args[:python_package_spec] if args.key?(:python_package_spec) diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb index 87a110d9a5b..5d3edab18d7 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AiplatformV1beta1 # Version of the google-apis-aiplatform_v1beta1 gem - GEM_VERSION = "0.61.0" + GEM_VERSION = "0.62.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250916" + REVISION = "20250920" end end end diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb index b0b03d71a13..7c75872824f 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb @@ -3622,6 +3622,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1LustreMount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1MachineSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -9315,6 +9321,8 @@ class GoogleCloudAiplatformV1beta1AutoraterConfig class Representation < Google::Apis::Core::JsonRepresentation property :autorater_model, as: 'autoraterModel' property :flip_enabled, as: 'flipEnabled' + property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerationConfig::Representation + property :sampling_count, as: 'samplingCount' end end @@ -15039,6 +15047,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1LustreMount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filesystem, as: 'filesystem' + property :instance_ip, as: 'instanceIp' + property :mount_point, as: 'mountPoint' + property :volume_handle, as: 'volumeHandle' + end + end + class GoogleCloudAiplatformV1beta1MachineSpec # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -19254,10 +19272,12 @@ class GoogleCloudAiplatformV1beta1SandboxEnvironment class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :display_name, as: 'displayName' + property :expire_time, as: 'expireTime' property :name, as: 'name' property :spec, as: 'spec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec::Representation property :state, as: 'state' + property :ttl, as: 'ttl' property :update_time, as: 'updateTime' end end @@ -23458,6 +23478,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :disk_spec, as: 'diskSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiskSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiskSpec::Representation + collection :lustre_mounts, as: 'lustreMounts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LustreMount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1LustreMount::Representation + property :machine_spec, as: 'machineSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec::Representation collection :nfs_mounts, as: 'nfsMounts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NfsMount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NfsMount::Representation