Skip to content

Commit 86647ef

Browse files
feat: Automated regeneration of aiplatform v1 client (#24404)
Auto-created at 2025-09-28 09:40:39 +0000 using the toys pull request generator.
1 parent efa1353 commit 86647ef

File tree

5 files changed

+88
-6
lines changed

5 files changed

+88
-6
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6927,6 +6927,7 @@
69276927
"/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig": google_cloud_aiplatform_v1_autorater_config
69286928
"/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/autoraterModel": autorater_model
69296929
"/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/flipEnabled": flip_enabled
6930+
"/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/generationConfig": generation_config
69306931
"/aiplatform:v1/GoogleCloudAiplatformV1AutoraterConfig/samplingCount": sampling_count
69316932
"/aiplatform:v1/GoogleCloudAiplatformV1AutoscalingMetricSpec": google_cloud_aiplatform_v1_autoscaling_metric_spec
69326933
"/aiplatform:v1/GoogleCloudAiplatformV1AutoscalingMetricSpec/metricName": metric_name
@@ -9197,6 +9198,11 @@
91979198
"/aiplatform:v1/GoogleCloudAiplatformV1LogprobsResultTopCandidates/candidates/candidate": candidate
91989199
"/aiplatform:v1/GoogleCloudAiplatformV1LookupStudyRequest": google_cloud_aiplatform_v1_lookup_study_request
91999200
"/aiplatform:v1/GoogleCloudAiplatformV1LookupStudyRequest/displayName": display_name
9201+
"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount": google_cloud_aiplatform_v1_lustre_mount
9202+
"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/filesystem": filesystem
9203+
"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/instanceIp": instance_ip
9204+
"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/mountPoint": mount_point
9205+
"/aiplatform:v1/GoogleCloudAiplatformV1LustreMount/volumeHandle": volume_handle
92009206
"/aiplatform:v1/GoogleCloudAiplatformV1MachineSpec": google_cloud_aiplatform_v1_machine_spec
92019207
"/aiplatform:v1/GoogleCloudAiplatformV1MachineSpec/acceleratorCount": accelerator_count
92029208
"/aiplatform:v1/GoogleCloudAiplatformV1MachineSpec/acceleratorType": accelerator_type
@@ -12444,6 +12450,8 @@
1244412450
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec": google_cloud_aiplatform_v1_worker_pool_spec
1244512451
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/containerSpec": container_spec
1244612452
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/diskSpec": disk_spec
12453+
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/lustreMounts": lustre_mounts
12454+
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/lustreMounts/lustre_mount": lustre_mount
1244712455
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/machineSpec": machine_spec
1244812456
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/nfsMounts": nfs_mounts
1244912457
"/aiplatform:v1/GoogleCloudAiplatformV1WorkerPoolSpec/nfsMounts/nfs_mount": nfs_mount

generated/google-apis-aiplatform_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-aiplatform_v1
22

3+
### v0.67.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250920
6+
37
### v0.66.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250916

generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/classes.rb

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,6 +1533,11 @@ class GoogleCloudAiplatformV1AutoraterConfig
15331533
attr_accessor :flip_enabled
15341534
alias_method :flip_enabled?, :flip_enabled
15351535

1536+
# Generation config.
1537+
# Corresponds to the JSON property `generationConfig`
1538+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig]
1539+
attr_accessor :generation_config
1540+
15361541
# Optional. Number of samples for each instance in the dataset. If not specified,
15371542
# the default is 4. Minimum value is 1, maximum value is 32.
15381543
# Corresponds to the JSON property `samplingCount`
@@ -1547,6 +1552,7 @@ def initialize(**args)
15471552
def update!(**args)
15481553
@autorater_model = args[:autorater_model] if args.key?(:autorater_model)
15491554
@flip_enabled = args[:flip_enabled] if args.key?(:flip_enabled)
1555+
@generation_config = args[:generation_config] if args.key?(:generation_config)
15501556
@sampling_count = args[:sampling_count] if args.key?(:sampling_count)
15511557
end
15521558
end
@@ -2623,8 +2629,8 @@ class GoogleCloudAiplatformV1BigQueryRequestSet
26232629
# @return [String]
26242630
attr_accessor :prompt_column
26252631

2626-
# Optional. The name of the column that contains the rubrics. This will be in
2627-
# evaluation_rubric.RubricGroup format (cl/762595858).
2632+
# Optional. The name of the column that contains the rubrics. This is in
2633+
# evaluation_rubric.RubricGroup format.
26282634
# Corresponds to the JSON property `rubricsColumn`
26292635
# @return [String]
26302636
attr_accessor :rubrics_column
@@ -8633,7 +8639,7 @@ class GoogleCloudAiplatformV1EvaluationItem
86338639
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationResult]
86348640
attr_accessor :evaluation_response
86358641

8636-
# The GCS object where the request or response is stored.
8642+
# The Cloud Storage object where the request or response is stored.
86378643
# Corresponds to the JSON property `gcsUri`
86388644
# @return [String]
86398645
attr_accessor :gcs_uri
@@ -13658,7 +13664,7 @@ class GoogleCloudAiplatformV1FunctionCall
1365813664
# @return [Hash<String,Object>]
1365913665
attr_accessor :args
1366013666

13661-
# Required. The name of the function to call. Matches [FunctionDeclaration.name].
13667+
# Optional. The name of the function to call. Matches [FunctionDeclaration.name].
1366213668
# Corresponds to the JSON property `name`
1366313669
# @return [String]
1366413670
attr_accessor :name
@@ -18273,6 +18279,44 @@ def update!(**args)
1827318279
end
1827418280
end
1827518281

18282+
# Represents a mount configuration for Lustre file system.
18283+
class GoogleCloudAiplatformV1LustreMount
18284+
include Google::Apis::Core::Hashable
18285+
18286+
# Required. The name of the Lustre filesystem.
18287+
# Corresponds to the JSON property `filesystem`
18288+
# @return [String]
18289+
attr_accessor :filesystem
18290+
18291+
# Required. IP address of the Lustre instance.
18292+
# Corresponds to the JSON property `instanceIp`
18293+
# @return [String]
18294+
attr_accessor :instance_ip
18295+
18296+
# Required. Destination mount path. The Lustre file system will be mounted for
18297+
# the user under /mnt/lustre/
18298+
# Corresponds to the JSON property `mountPoint`
18299+
# @return [String]
18300+
attr_accessor :mount_point
18301+
18302+
# Required. The unique identifier of the Lustre volume.
18303+
# Corresponds to the JSON property `volumeHandle`
18304+
# @return [String]
18305+
attr_accessor :volume_handle
18306+
18307+
def initialize(**args)
18308+
update!(**args)
18309+
end
18310+
18311+
# Update properties of this object
18312+
def update!(**args)
18313+
@filesystem = args[:filesystem] if args.key?(:filesystem)
18314+
@instance_ip = args[:instance_ip] if args.key?(:instance_ip)
18315+
@mount_point = args[:mount_point] if args.key?(:mount_point)
18316+
@volume_handle = args[:volume_handle] if args.key?(:volume_handle)
18317+
end
18318+
end
18319+
1827618320
# Specification of a single machine.
1827718321
class GoogleCloudAiplatformV1MachineSpec
1827818322
include Google::Apis::Core::Hashable
@@ -42822,6 +42866,11 @@ class GoogleCloudAiplatformV1WorkerPoolSpec
4282242866
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec]
4282342867
attr_accessor :disk_spec
4282442868

42869+
# Optional. List of Lustre mounts.
42870+
# Corresponds to the JSON property `lustreMounts`
42871+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount>]
42872+
attr_accessor :lustre_mounts
42873+
4282542874
# Specification of a single machine.
4282642875
# Corresponds to the JSON property `machineSpec`
4282742876
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec]
@@ -42850,6 +42899,7 @@ def initialize(**args)
4285042899
def update!(**args)
4285142900
@container_spec = args[:container_spec] if args.key?(:container_spec)
4285242901
@disk_spec = args[:disk_spec] if args.key?(:disk_spec)
42902+
@lustre_mounts = args[:lustre_mounts] if args.key?(:lustre_mounts)
4285342903
@machine_spec = args[:machine_spec] if args.key?(:machine_spec)
4285442904
@nfs_mounts = args[:nfs_mounts] if args.key?(:nfs_mounts)
4285542905
@python_package_spec = args[:python_package_spec] if args.key?(:python_package_spec)

generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AiplatformV1
1818
# Version of the google-apis-aiplatform_v1 gem
19-
GEM_VERSION = "0.66.0"
19+
GEM_VERSION = "0.67.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250916"
25+
REVISION = "20250920"
2626
end
2727
end
2828
end

generated/google-apis-aiplatform_v1/lib/google/apis/aiplatform_v1/representations.rb

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,6 +3034,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
30343034
include Google::Apis::Core::JsonObjectSupport
30353035
end
30363036

3037+
class GoogleCloudAiplatformV1LustreMount
3038+
class Representation < Google::Apis::Core::JsonRepresentation; end
3039+
3040+
include Google::Apis::Core::JsonObjectSupport
3041+
end
3042+
30373043
class GoogleCloudAiplatformV1MachineSpec
30383044
class Representation < Google::Apis::Core::JsonRepresentation; end
30393045

@@ -7772,6 +7778,8 @@ class GoogleCloudAiplatformV1AutoraterConfig
77727778
class Representation < Google::Apis::Core::JsonRepresentation
77737779
property :autorater_model, as: 'autoraterModel'
77747780
property :flip_enabled, as: 'flipEnabled'
7781+
property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
7782+
77757783
property :sampling_count, as: 'samplingCount'
77767784
end
77777785
end
@@ -12603,6 +12611,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
1260312611
end
1260412612
end
1260512613

12614+
class GoogleCloudAiplatformV1LustreMount
12615+
# @private
12616+
class Representation < Google::Apis::Core::JsonRepresentation
12617+
property :filesystem, as: 'filesystem'
12618+
property :instance_ip, as: 'instanceIp'
12619+
property :mount_point, as: 'mountPoint'
12620+
property :volume_handle, as: 'volumeHandle'
12621+
end
12622+
end
12623+
1260612624
class GoogleCloudAiplatformV1MachineSpec
1260712625
# @private
1260812626
class Representation < Google::Apis::Core::JsonRepresentation
@@ -19574,6 +19592,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
1957419592

1957519593
property :disk_spec, as: 'diskSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DiskSpec::Representation
1957619594

19595+
collection :lustre_mounts, as: 'lustreMounts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LustreMount::Representation
19596+
1957719597
property :machine_spec, as: 'machineSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MachineSpec::Representation
1957819598

1957919599
collection :nfs_mounts, as: 'nfsMounts', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NfsMount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NfsMount::Representation

0 commit comments

Comments
 (0)