From fd6e797f4527a0addd2bfa9fc175bb5faf043567 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 28 Sep 2025 09:40:40 +0000 Subject: [PATCH] feat: Automated regeneration of aiplatform v1 client --- api_names_out.yaml | 8 +++ .../google-apis-aiplatform_v1/CHANGELOG.md | 4 ++ .../lib/google/apis/aiplatform_v1/classes.rb | 58 +++++++++++++++++-- .../google/apis/aiplatform_v1/gem_version.rb | 4 +- .../apis/aiplatform_v1/representations.rb | 20 +++++++ 5 files changed, 88 insertions(+), 6 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..380eb81536e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -6927,6 +6927,7 @@ "/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig": google_cloud_aiplatform_v1_autorater_config "/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/autoraterModel": autorater_model "/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/flipEnabled": flip_enabled +"/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/generationConfig": generation_config "/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/samplingCount": sampling_count "/aiplatform:v1/GoogleCloudAiplatformV1AutoscalingMetricSpec": google_cloud_aiplatform_v1_autoscaling_metric_spec "/aiplatform:v1/GoogleCloudAiplatformV1AutoscalingMetricSpec/metricName": metric_name @@ -9197,6 +9198,11 @@ "/aiplatform:v1/GoogleCloudAiplatformV1LogprobsResultTopCandidates/candidates/candidate": candidate "/aiplatform:v1/GoogleCloudAiplatformV1LookupStudyRequest": google_cloud_aiplatform_v1_lookup_study_request "/aiplatform:v1/GoogleCloudAiplatformV1LookupStudyRequest/displayName": display_name +"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount": google_cloud_aiplatform_v1_lustre_mount +"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/filesystem": filesystem +"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/instanceIp": instance_ip +"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/mountPoint": mount_point +"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/volumeHandle": volume_handle "/aiplatform:v1/GoogleCloudAiplatformV1MachineSpec": google_cloud_aiplatform_v1_machine_spec "/aiplatform:v1/GoogleCloudAiplatformV1MachineSpec/acceleratorCount": accelerator_count "/aiplatform:v1/GoogleCloudAiplatformV1MachineSpec/acceleratorType": accelerator_type @@ -12444,6 +12450,8 @@ "/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec": google_cloud_aiplatform_v1_worker_pool_spec "/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/containerSpec": container_spec "/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/diskSpec": disk_spec +"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/lustreMounts": lustre_mounts +"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/lustreMounts/lustre_mount": lustre_mount "/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/machineSpec": machine_spec "/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/nfsMounts": nfs_mounts "/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/nfsMounts/nfs_mount": nfs_mount diff --git a/generated/google-apis-aiplatform_v1/CHANGELOG.md b/generated/google-apis-aiplatform_v1/CHANGELOG.md index bd032f1a66a..ddce25ef188 100644 --- a/generated/google-apis-aiplatform_v1/CHANGELOG.md +++ b/generated/google-apis-aiplatform_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-aiplatform_v1 +### v0.67.0 (2025-09-28) + +* Regenerated from discovery document revision 20250920 + ### v0.66.0 (2025-09-21) * Regenerated from discovery document revision 20250916 diff --git a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb index 9c7f7f7b5bc..68ba76e46e5 100644 --- a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb +++ b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb @@ -1533,6 +1533,11 @@ class GoogleCloudAiplatformV1AutoraterConfig attr_accessor :flip_enabled alias_method :flip_enabled?, :flip_enabled + # Generation config. + # Corresponds to the JSON property `generationConfig` + # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig] + 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` @@ -1547,6 +1552,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 @@ -2623,8 +2629,8 @@ class GoogleCloudAiplatformV1BigQueryRequestSet # @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 @@ -8633,7 +8639,7 @@ class GoogleCloudAiplatformV1EvaluationItem # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationResult] 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 @@ -13658,7 +13664,7 @@ class GoogleCloudAiplatformV1FunctionCall # @return [Hash] attr_accessor :args - # 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 @@ -18273,6 +18279,44 @@ def update!(**args) end end + # Represents a mount configuration for Lustre file system. + class GoogleCloudAiplatformV1LustreMount + 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 GoogleCloudAiplatformV1MachineSpec include Google::Apis::Core::Hashable @@ -42822,6 +42866,11 @@ class GoogleCloudAiplatformV1WorkerPoolSpec # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec] 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::AiplatformV1::GoogleCloudAiplatformV1MachineSpec] @@ -42850,6 +42899,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_v1/lib/google/apis/aiplatform_v1/gem_version.rb b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb index a242c4ee914..8cb4f05bf50 100644 --- a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb +++ b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AiplatformV1 # Version of the google-apis-aiplatform_v1 gem - GEM_VERSION = "0.66.0" + GEM_VERSION = "0.67.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_v1/lib/google/apis/aiplatform_v1/representations.rb b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb index ec8ea8da75a..63a5b3544ca 100644 --- a/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb +++ b/generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb @@ -3034,6 +3034,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1LustreMount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1MachineSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -7772,6 +7778,8 @@ class GoogleCloudAiplatformV1AutoraterConfig class Representation < Google::Apis::Core::JsonRepresentation property :autorater_model, as: 'autoraterModel' property :flip_enabled, as: 'flipEnabled' + property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation + property :sampling_count, as: 'samplingCount' end end @@ -12603,6 +12611,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1LustreMount + # @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 GoogleCloudAiplatformV1MachineSpec # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -19574,6 +19592,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :disk_spec, as: 'diskSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec::Representation + collection :lustre_mounts, as: 'lustreMounts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount::Representation + property :machine_spec, as: 'machineSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec::Representation collection :nfs_mounts, as: 'nfsMounts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NfsMount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NfsMount::Representation