Skip to content

Commit c983469

Browse files
feat: Automated regeneration of aiplatform v1 client (googleapis#23293)
Auto-created at 2025-06-01 10:13:27 +0000 using the toys pull request generator.
1 parent 76ed1d5 commit c983469

File tree

6 files changed

+522
-15
lines changed

6 files changed

+522
-15
lines changed

api_names_out.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7162,6 +7162,9 @@
71627162
"/aiplatform:v1/GoogleCloudAiplatformV1CoherenceResult/score": score
71637163
"/aiplatform:v1/GoogleCloudAiplatformV1CoherenceSpec": google_cloud_aiplatform_v1_coherence_spec
71647164
"/aiplatform:v1/GoogleCloudAiplatformV1CoherenceSpec/version": version
7165+
"/aiplatform:v1/GoogleCloudAiplatformV1ColabImage": google_cloud_aiplatform_v1_colab_image
7166+
"/aiplatform:v1/GoogleCloudAiplatformV1ColabImage/description": description
7167+
"/aiplatform:v1/GoogleCloudAiplatformV1ColabImage/releaseName": release_name
71657168
"/aiplatform:v1/GoogleCloudAiplatformV1CometInput": google_cloud_aiplatform_v1_comet_input
71667169
"/aiplatform:v1/GoogleCloudAiplatformV1CometInput/instance": instance
71677170
"/aiplatform:v1/GoogleCloudAiplatformV1CometInput/metricSpec": metric_spec
@@ -8341,6 +8344,7 @@
83418344
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfig": google_cloud_aiplatform_v1_generation_config
83428345
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfig/audioTimestamp": audio_timestamp
83438346
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfig/candidateCount": candidate_count
8347+
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfig/enableAffectiveDialog": enable_affective_dialog
83448348
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfig/frequencyPenalty": frequency_penalty
83458349
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfig/logprobs": logprobs
83468350
"/aiplatform:v1/GoogleCloudAiplatformV1GenerationConfig/maxOutputTokens": max_output_tokens
@@ -9447,12 +9451,15 @@
94479451
"/aiplatform:v1/GoogleCloudAiplatformV1NotebookRuntimeTemplateRef": google_cloud_aiplatform_v1_notebook_runtime_template_ref
94489452
"/aiplatform:v1/GoogleCloudAiplatformV1NotebookRuntimeTemplateRef/notebookRuntimeTemplate": notebook_runtime_template
94499453
"/aiplatform:v1/GoogleCloudAiplatformV1NotebookSoftwareConfig": google_cloud_aiplatform_v1_notebook_software_config
9454+
"/aiplatform:v1/GoogleCloudAiplatformV1NotebookSoftwareConfig/colabImage": colab_image
94509455
"/aiplatform:v1/GoogleCloudAiplatformV1NotebookSoftwareConfig/env": env
94519456
"/aiplatform:v1/GoogleCloudAiplatformV1NotebookSoftwareConfig/env/env": env
94529457
"/aiplatform:v1/GoogleCloudAiplatformV1NotebookSoftwareConfig/postStartupScriptConfig": post_startup_script_config
94539458
"/aiplatform:v1/GoogleCloudAiplatformV1OutputConfig": google_cloud_aiplatform_v1_output_config
94549459
"/aiplatform:v1/GoogleCloudAiplatformV1OutputConfig/gcsDestination": gcs_destination
94559460
"/aiplatform:v1/GoogleCloudAiplatformV1PSCAutomationConfig": google_cloud_aiplatform_v1_psc_automation_config
9461+
"/aiplatform:v1/GoogleCloudAiplatformV1PSCAutomationConfig/forwardingRule": forwarding_rule
9462+
"/aiplatform:v1/GoogleCloudAiplatformV1PSCAutomationConfig/ipAddress": ip_address
94569463
"/aiplatform:v1/GoogleCloudAiplatformV1PSCAutomationConfig/network": network
94579464
"/aiplatform:v1/GoogleCloudAiplatformV1PSCAutomationConfig/projectId": project_id
94589465
"/aiplatform:v1/GoogleCloudAiplatformV1PairwiseMetricInput": google_cloud_aiplatform_v1_pairwise_metric_input
@@ -12157,10 +12164,14 @@
1215712164
"/aiplatform:v1/aiplatform.endpoints.computeTokens/endpoint": endpoint
1215812165
"/aiplatform:v1/aiplatform.endpoints.countTokens": count_endpoint_tokens
1215912166
"/aiplatform:v1/aiplatform.endpoints.countTokens/endpoint": endpoint
12167+
"/aiplatform:v1/aiplatform.endpoints.fetchPredictOperation": fetch_endpoint_predict_operation
12168+
"/aiplatform:v1/aiplatform.endpoints.fetchPredictOperation/endpoint": endpoint
1216012169
"/aiplatform:v1/aiplatform.endpoints.generateContent": generate_endpoint_content
1216112170
"/aiplatform:v1/aiplatform.endpoints.generateContent/model": model
1216212171
"/aiplatform:v1/aiplatform.endpoints.predict": predict_endpoint
1216312172
"/aiplatform:v1/aiplatform.endpoints.predict/endpoint": endpoint
12173+
"/aiplatform:v1/aiplatform.endpoints.predictLongRunning": predict_endpoint_long_running
12174+
"/aiplatform:v1/aiplatform.endpoints.predictLongRunning/endpoint": endpoint
1216412175
"/aiplatform:v1/aiplatform.endpoints.streamGenerateContent": stream_endpoint_generate_content
1216512176
"/aiplatform:v1/aiplatform.endpoints.streamGenerateContent/model": model
1216612177
"/aiplatform:v1/aiplatform.media.upload": upload_medium
@@ -13866,6 +13877,8 @@
1386613877
"/aiplatform:v1/aiplatform.publishers.models.computeTokens/endpoint": endpoint
1386713878
"/aiplatform:v1/aiplatform.publishers.models.countTokens": count_publisher_model_tokens
1386813879
"/aiplatform:v1/aiplatform.publishers.models.countTokens/endpoint": endpoint
13880+
"/aiplatform:v1/aiplatform.publishers.models.fetchPredictOperation": fetch_publisher_model_predict_operation
13881+
"/aiplatform:v1/aiplatform.publishers.models.fetchPredictOperation/endpoint": endpoint
1386913882
"/aiplatform:v1/aiplatform.publishers.models.generateContent": generate_publisher_model_content
1387013883
"/aiplatform:v1/aiplatform.publishers.models.generateContent/model": model
1387113884
"/aiplatform:v1/aiplatform.publishers.models.get": get_publisher_model
@@ -13876,8 +13889,29 @@
1387613889
"/aiplatform:v1/aiplatform.publishers.models.get/view": view
1387713890
"/aiplatform:v1/aiplatform.publishers.models.predict": predict_publisher_model
1387813891
"/aiplatform:v1/aiplatform.publishers.models.predict/endpoint": endpoint
13892+
"/aiplatform:v1/aiplatform.publishers.models.predictLongRunning": predict_publisher_model_long_running
13893+
"/aiplatform:v1/aiplatform.publishers.models.predictLongRunning/endpoint": endpoint
1387913894
"/aiplatform:v1/aiplatform.publishers.models.streamGenerateContent": stream_publisher_model_generate_content
1388013895
"/aiplatform:v1/aiplatform.publishers.models.streamGenerateContent/model": model
13896+
"/aiplatform:v1/aiplatform.reasoningEngines.create": create_reasoning_engine
13897+
"/aiplatform:v1/aiplatform.reasoningEngines.create/parent": parent
13898+
"/aiplatform:v1/aiplatform.reasoningEngines.delete": delete_reasoning_engine
13899+
"/aiplatform:v1/aiplatform.reasoningEngines.delete/force": force
13900+
"/aiplatform:v1/aiplatform.reasoningEngines.delete/name": name
13901+
"/aiplatform:v1/aiplatform.reasoningEngines.get": get_reasoning_engine
13902+
"/aiplatform:v1/aiplatform.reasoningEngines.get/name": name
13903+
"/aiplatform:v1/aiplatform.reasoningEngines.list": list_reasoning_engines
13904+
"/aiplatform:v1/aiplatform.reasoningEngines.list/filter": filter
13905+
"/aiplatform:v1/aiplatform.reasoningEngines.list/pageSize": page_size
13906+
"/aiplatform:v1/aiplatform.reasoningEngines.list/pageToken": page_token
13907+
"/aiplatform:v1/aiplatform.reasoningEngines.list/parent": parent
13908+
"/aiplatform:v1/aiplatform.reasoningEngines.patch": patch_reasoning_engine
13909+
"/aiplatform:v1/aiplatform.reasoningEngines.patch/name": name
13910+
"/aiplatform:v1/aiplatform.reasoningEngines.patch/updateMask": update_mask
13911+
"/aiplatform:v1/aiplatform.reasoningEngines.query": query_reasoning_engine
13912+
"/aiplatform:v1/aiplatform.reasoningEngines.query/name": name
13913+
"/aiplatform:v1/aiplatform.reasoningEngines.streamQuery": stream_reasoning_engine_query
13914+
"/aiplatform:v1/aiplatform.reasoningEngines.streamQuery/name": name
1388113915
"/aiplatform:v1/fields": fields
1388213916
"/aiplatform:v1/key": key
1388313917
"/aiplatform:v1/quotaUser": quota_user

generated/google-apis-aiplatform_v1/CHANGELOG.md

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

3+
### v0.54.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250527
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.53.0 (2025-05-21)
49

510
* Regenerated from discovery document revision 20250519

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

Lines changed: 74 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3391,8 +3391,9 @@ def update!(**args)
33913391
end
33923392
end
33933393

3394-
# Result of executing the [ExecutableCode]. Always follows a `part` containing
3395-
# the [ExecutableCode].
3394+
# Result of executing the [ExecutableCode]. Only generated when using the [
3395+
# CodeExecution] tool, and always follows a `part` containing the [
3396+
# ExecutableCode].
33963397
class GoogleCloudAiplatformV1CodeExecutionResult
33973398
include Google::Apis::Core::Hashable
33983399

@@ -3512,6 +3513,34 @@ def update!(**args)
35123513
end
35133514
end
35143515

3516+
# Colab image of the runtime.
3517+
class GoogleCloudAiplatformV1ColabImage
3518+
include Google::Apis::Core::Hashable
3519+
3520+
# Output only. A human-readable description of the specified colab image release,
3521+
# populated by the system. Example: "Python 3.10", "Latest - current Python 3.
3522+
# 11"
3523+
# Corresponds to the JSON property `description`
3524+
# @return [String]
3525+
attr_accessor :description
3526+
3527+
# Optional. The release name of the NotebookRuntime Colab image, e.g. "py310".
3528+
# If not specified, detault to the latest release.
3529+
# Corresponds to the JSON property `releaseName`
3530+
# @return [String]
3531+
attr_accessor :release_name
3532+
3533+
def initialize(**args)
3534+
update!(**args)
3535+
end
3536+
3537+
# Update properties of this object
3538+
def update!(**args)
3539+
@description = args[:description] if args.key?(:description)
3540+
@release_name = args[:release_name] if args.key?(:release_name)
3541+
end
3542+
end
3543+
35153544
# Input for Comet metric.
35163545
class GoogleCloudAiplatformV1CometInput
35173546
include Google::Apis::Core::Hashable
@@ -8157,8 +8186,9 @@ def update!(**args)
81578186
end
81588187

81598188
# Code generated by the model that is meant to be executed, and the result
8160-
# returned to the model. Generated when using the [FunctionDeclaration] tool and
8161-
# [FunctionCallingConfig] mode is set to [Mode.CODE].
8189+
# returned to the model. Generated when using the [CodeExecution] tool, in which
8190+
# the code will be automatically executed, and a corresponding [
8191+
# CodeExecutionResult] will also be generated.
81628192
class GoogleCloudAiplatformV1ExecutableCode
81638193
include Google::Apis::Core::Hashable
81648194

@@ -12480,6 +12510,13 @@ class GoogleCloudAiplatformV1GenerationConfig
1248012510
# @return [Fixnum]
1248112511
attr_accessor :candidate_count
1248212512

12513+
# Optional. If enabled, the model will detect emotions and adapt its responses
12514+
# accordingly.
12515+
# Corresponds to the JSON property `enableAffectiveDialog`
12516+
# @return [Boolean]
12517+
attr_accessor :enable_affective_dialog
12518+
alias_method :enable_affective_dialog?, :enable_affective_dialog
12519+
1248312520
# Optional. Frequency penalties.
1248412521
# Corresponds to the JSON property `frequencyPenalty`
1248512522
# @return [Float]
@@ -12580,6 +12617,7 @@ def initialize(**args)
1258012617
def update!(**args)
1258112618
@audio_timestamp = args[:audio_timestamp] if args.key?(:audio_timestamp)
1258212619
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
12620+
@enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
1258312621
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
1258412622
@logprobs = args[:logprobs] if args.key?(:logprobs)
1258512623
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
@@ -20494,6 +20532,11 @@ def update!(**args)
2049420532
class GoogleCloudAiplatformV1NotebookSoftwareConfig
2049520533
include Google::Apis::Core::Hashable
2049620534

20535+
# Colab image of the runtime.
20536+
# Corresponds to the JSON property `colabImage`
20537+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage]
20538+
attr_accessor :colab_image
20539+
2049720540
# Optional. Environment variables to be passed to the container. Maximum limit
2049820541
# is 100.
2049920542
# Corresponds to the JSON property `env`
@@ -20511,6 +20554,7 @@ def initialize(**args)
2051120554

2051220555
# Update properties of this object
2051320556
def update!(**args)
20557+
@colab_image = args[:colab_image] if args.key?(:colab_image)
2051420558
@env = args[:env] if args.key?(:env)
2051520559
@post_startup_script_config = args[:post_startup_script_config] if args.key?(:post_startup_script_config)
2051620560
end
@@ -20540,6 +20584,18 @@ def update!(**args)
2054020584
class GoogleCloudAiplatformV1PscAutomationConfig
2054120585
include Google::Apis::Core::Hashable
2054220586

20587+
# Output only. Forwarding rule created by the PSC service automation. Note for
20588+
# Vector search, use IndexPrivateEndpoint instead.
20589+
# Corresponds to the JSON property `forwardingRule`
20590+
# @return [String]
20591+
attr_accessor :forwarding_rule
20592+
20593+
# Output only. IP address rule created by the PSC service automation. Note for
20594+
# Vector search, use IndexPrivateEndpoint instead.
20595+
# Corresponds to the JSON property `ipAddress`
20596+
# @return [String]
20597+
attr_accessor :ip_address
20598+
2054320599
# Required. The full name of the Google Compute Engine [network](https://cloud.
2054420600
# google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
2054520601
# cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
@@ -20560,6 +20616,8 @@ def initialize(**args)
2056020616

2056120617
# Update properties of this object
2056220618
def update!(**args)
20619+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
20620+
@ip_address = args[:ip_address] if args.key?(:ip_address)
2056320621
@network = args[:network] if args.key?(:network)
2056420622
@project_id = args[:project_id] if args.key?(:project_id)
2056520623
end
@@ -20952,15 +21010,17 @@ def update!(**args)
2095221010
class GoogleCloudAiplatformV1Part
2095321011
include Google::Apis::Core::Hashable
2095421012

20955-
# Result of executing the [ExecutableCode]. Always follows a `part` containing
20956-
# the [ExecutableCode].
21013+
# Result of executing the [ExecutableCode]. Only generated when using the [
21014+
# CodeExecution] tool, and always follows a `part` containing the [
21015+
# ExecutableCode].
2095721016
# Corresponds to the JSON property `codeExecutionResult`
2095821017
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CodeExecutionResult]
2095921018
attr_accessor :code_execution_result
2096021019

2096121020
# Code generated by the model that is meant to be executed, and the result
20962-
# returned to the model. Generated when using the [FunctionDeclaration] tool and
20963-
# [FunctionCallingConfig] mode is set to [Mode.CODE].
21021+
# returned to the model. Generated when using the [CodeExecution] tool, in which
21022+
# the code will be automatically executed, and a corresponding [
21023+
# CodeExecutionResult] will also be generated.
2096421024
# Corresponds to the JSON property `executableCode`
2096521025
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExecutableCode]
2096621026
attr_accessor :executable_code
@@ -36145,14 +36205,16 @@ class GoogleCloudAiplatformV1SupervisedTuningSpec
3614536205
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters]
3614636206
attr_accessor :hyper_parameters
3614736207

36148-
# Required. Cloud Storage path to file containing training dataset for tuning.
36149-
# The dataset must be formatted as a JSONL file.
36208+
# Required. Training dataset used for tuning. The dataset can be specified as
36209+
# either a Cloud Storage path to a JSONL file or as the resource name of a
36210+
# Vertex Multimodal Dataset.
3615036211
# Corresponds to the JSON property `trainingDatasetUri`
3615136212
# @return [String]
3615236213
attr_accessor :training_dataset_uri
3615336214

36154-
# Optional. Cloud Storage path to file containing validation dataset for tuning.
36155-
# The dataset must be formatted as a JSONL file.
36215+
# Optional. Validation dataset used for tuning. The dataset can be specified as
36216+
# either a Cloud Storage path to a JSONL file or as the resource name of a
36217+
# Vertex Multimodal Dataset.
3615636218
# Corresponds to the JSON property `validationDatasetUri`
3615736219
# @return [String]
3615836220
attr_accessor :validation_dataset_uri

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

Lines changed: 3 additions & 3 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.53.0"
19+
GEM_VERSION = "0.54.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
670670
include Google::Apis::Core::JsonObjectSupport
671671
end
672672

673+
class GoogleCloudAiplatformV1ColabImage
674+
class Representation < Google::Apis::Core::JsonRepresentation; end
675+
676+
include Google::Apis::Core::JsonObjectSupport
677+
end
678+
673679
class GoogleCloudAiplatformV1CometInput
674680
class Representation < Google::Apis::Core::JsonRepresentation; end
675681

@@ -7900,6 +7906,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
79007906
end
79017907
end
79027908

7909+
class GoogleCloudAiplatformV1ColabImage
7910+
# @private
7911+
class Representation < Google::Apis::Core::JsonRepresentation
7912+
property :description, as: 'description'
7913+
property :release_name, as: 'releaseName'
7914+
end
7915+
end
7916+
79037917
class GoogleCloudAiplatformV1CometInput
79047918
# @private
79057919
class Representation < Google::Apis::Core::JsonRepresentation
@@ -10396,6 +10410,7 @@ class GoogleCloudAiplatformV1GenerationConfig
1039610410
class Representation < Google::Apis::Core::JsonRepresentation
1039710411
property :audio_timestamp, as: 'audioTimestamp'
1039810412
property :candidate_count, as: 'candidateCount'
10413+
property :enable_affective_dialog, as: 'enableAffectiveDialog'
1039910414
property :frequency_penalty, as: 'frequencyPenalty'
1040010415
property :logprobs, as: 'logprobs'
1040110416
property :max_output_tokens, as: 'maxOutputTokens'
@@ -12639,6 +12654,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
1263912654
class GoogleCloudAiplatformV1NotebookSoftwareConfig
1264012655
# @private
1264112656
class Representation < Google::Apis::Core::JsonRepresentation
12657+
property :colab_image, as: 'colabImage', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage::Representation
12658+
1264212659
collection :env, as: 'env', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar::Representation
1264312660

1264412661
property :post_startup_script_config, as: 'postStartupScriptConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PostStartupScriptConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PostStartupScriptConfig::Representation
@@ -12657,6 +12674,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
1265712674
class GoogleCloudAiplatformV1PscAutomationConfig
1265812675
# @private
1265912676
class Representation < Google::Apis::Core::JsonRepresentation
12677+
property :forwarding_rule, as: 'forwardingRule'
12678+
property :ip_address, as: 'ipAddress'
1266012679
property :network, as: 'network'
1266112680
property :project_id, as: 'projectId'
1266212681
end

0 commit comments

Comments
 (0)