Skip to content

Commit cd5d2f5

Browse files
feat: Automated regeneration of aiplatform v1beta1 client (googleapis#23801)
Auto-created at 2025-07-27 10:36:37 +0000 using the toys pull request generator.
1 parent 672669f commit cd5d2f5

File tree

6 files changed

+222
-7
lines changed

6 files changed

+222
-7
lines changed

api_names_out.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14905,11 +14905,15 @@
1490514905
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployPublisherModelRequest/model": model
1490614906
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployPublisherModelRequest/modelDisplayName": model_display_name
1490714907
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequest": google_cloud_aiplatform_v1beta1_deploy_request
14908+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequest/customModel": custom_model
1490814909
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequest/deployConfig": deploy_config
1490914910
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequest/endpointConfig": endpoint_config
1491014911
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequest/huggingFaceModelId": hugging_face_model_id
1491114912
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequest/modelConfig": model_config
1491214913
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequest/publisherModelName": publisher_model_name
14914+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestCustomModel": google_cloud_aiplatform_v1beta1_deploy_request_custom_model
14915+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestCustomModel/gcsUri": gcs_uri
14916+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestCustomModel/modelId": model_id
1491314917
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestDeployConfig": google_cloud_aiplatform_v1beta1_deploy_request_deploy_config
1491414918
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestDeployConfig/dedicatedResources": dedicated_resources
1491514919
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestDeployConfig/fastTryoutEnabled": fast_tryout_enabled
@@ -14924,6 +14928,7 @@
1492414928
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestModelConfig/huggingFaceAccessToken": hugging_face_access_token
1492514929
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestModelConfig/huggingFaceCacheEnabled": hugging_face_cache_enabled
1492614930
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestModelConfig/modelDisplayName": model_display_name
14931+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployRequestModelConfig/modelUserId": model_user_id
1492714932
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata": google_cloud_aiplatform_v1beta1_deploy_solver_operation_metadata
1492814933
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeploySolverOperationMetadata/genericMetadata": generic_metadata
1492914934
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedIndex": google_cloud_aiplatform_v1beta1_deployed_index
@@ -14965,6 +14970,7 @@
1496514970
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedModel/enableContainerLogging": enable_container_logging
1496614971
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedModel/explanationSpec": explanation_spec
1496714972
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedModel/fasterDeploymentConfig": faster_deployment_config
14973+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedModel/gdcConnectedModel": gdc_connected_model
1496814974
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedModel/id": id
1496914975
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedModel/model": model
1497014976
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DeployedModel/modelVersionId": model_version_id
@@ -15051,6 +15057,7 @@
1505115057
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Endpoint/enablePrivateServiceConnect": enable_private_service_connect
1505215058
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Endpoint/encryptionSpec": encryption_spec
1505315059
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Endpoint/etag": etag
15060+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Endpoint/gdcConfig": gdc_config
1505415061
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Endpoint/genAiAdvancedFeaturesConfig": gen_ai_advanced_features_config
1505515062
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Endpoint/labels": labels
1505615063
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Endpoint/labels/label": label
@@ -15903,6 +15910,8 @@
1590315910
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GcsSource": google_cloud_aiplatform_v1beta1_gcs_source
1590415911
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GcsSource/uris": uris
1590515912
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GcsSource/uris/uri": uri
15913+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GdcConfig": google_cloud_aiplatform_v1beta1_gdc_config
15914+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GdcConfig/zone": zone
1590615915
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GeminiExample": google_cloud_aiplatform_v1beta1_gemini_example
1590715916
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GeminiExample/cachedContent": cached_content
1590815917
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GeminiExample/contents": contents
@@ -19581,9 +19590,11 @@
1958119590
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session": google_cloud_aiplatform_v1beta1_session
1958219591
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/createTime": create_time
1958319592
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/displayName": display_name
19593+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/expireTime": expire_time
1958419594
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/name": name
1958519595
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/sessionState": session_state
1958619596
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/sessionState/session_state": session_state
19597+
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/ttl": ttl
1958719598
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/updateTime": update_time
1958819599
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Session/userId": user_id
1958919600
"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SessionEvent": google_cloud_aiplatform_v1beta1_session_event
@@ -20614,6 +20625,8 @@
2061420625
"/aiplatform:v1beta1/aiplatform.endpoints.streamGenerateContent/model": model
2061520626
"/aiplatform:v1beta1/aiplatform.media.upload": upload_medium
2061620627
"/aiplatform:v1beta1/aiplatform.media.upload/parent": parent
20628+
"/aiplatform:v1beta1/aiplatform.projects.fetchPublisherModelConfig": fetch_project_publisher_model_config
20629+
"/aiplatform:v1beta1/aiplatform.projects.fetchPublisherModelConfig/name": name
2061720630
"/aiplatform:v1beta1/aiplatform.projects.getCacheConfig": get_project_cache_config
2061820631
"/aiplatform:v1beta1/aiplatform.projects.getCacheConfig/name": name
2061920632
"/aiplatform:v1beta1/aiplatform.projects.locations.agents.operations.cancel": cancel_project_location_agent_operation
@@ -20966,6 +20979,7 @@
2096620979
"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.getIamPolicy/resource": resource
2096720980
"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.list": list_project_location_endpoints
2096820981
"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.list/filter": filter
20982+
"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.list/gdcZone": gdc_zone
2096920983
"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.list/pageSize": page_size
2097020984
"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.list/pageToken": page_token
2097120985
"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.list/parent": parent
@@ -22748,6 +22762,8 @@
2274822762
"/aiplatform:v1beta1/aiplatform.projects.modelGardenEula.accept/parent": parent
2274922763
"/aiplatform:v1beta1/aiplatform.projects.modelGardenEula.check": check_project_model_garden_eula
2275022764
"/aiplatform:v1beta1/aiplatform.projects.modelGardenEula.check/parent": parent
22765+
"/aiplatform:v1beta1/aiplatform.projects.setPublisherModelConfig": set_project_publisher_model_config
22766+
"/aiplatform:v1beta1/aiplatform.projects.setPublisherModelConfig/name": name
2275122767
"/aiplatform:v1beta1/aiplatform.projects.updateCacheConfig": update_project_cache_config
2275222768
"/aiplatform:v1beta1/aiplatform.projects.updateCacheConfig/name": name
2275322769
"/aiplatform:v1beta1/aiplatform.publishers.models.computeTokens": compute_publisher_model_tokens

generated/google-apis-aiplatform_v1beta1/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_v1beta1
22

3+
### v0.55.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250715
6+
37
### v0.54.0 (2025-07-20)
48

59
* Regenerated from discovery document revision 20250711

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

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6864,6 +6864,12 @@ def update!(**args)
68646864
class GoogleCloudAiplatformV1beta1DeployRequest
68656865
include Google::Apis::Core::Hashable
68666866

6867+
# The custom model to deploy from model weights in a Google Cloud Storage URI or
6868+
# Model Registry model.
6869+
# Corresponds to the JSON property `customModel`
6870+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestCustomModel]
6871+
attr_accessor :custom_model
6872+
68676873
# The deploy config to use for the deployment.
68686874
# Corresponds to the JSON property `deployConfig`
68696875
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig]
@@ -6898,6 +6904,7 @@ def initialize(**args)
68986904

68996905
# Update properties of this object
69006906
def update!(**args)
6907+
@custom_model = args[:custom_model] if args.key?(:custom_model)
69016908
@deploy_config = args[:deploy_config] if args.key?(:deploy_config)
69026909
@endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
69036910
@hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
@@ -6906,6 +6913,33 @@ def update!(**args)
69066913
end
69076914
end
69086915

6916+
# The custom model to deploy from model weights in a Google Cloud Storage URI or
6917+
# Model Registry model.
6918+
class GoogleCloudAiplatformV1beta1DeployRequestCustomModel
6919+
include Google::Apis::Core::Hashable
6920+
6921+
# Immutable. The Google Cloud Storage URI of the custom model, storing weights
6922+
# and config files (which can be used to infer the base model).
6923+
# Corresponds to the JSON property `gcsUri`
6924+
# @return [String]
6925+
attr_accessor :gcs_uri
6926+
6927+
# Optional. Deprecated. Use ModelConfig.model_user_id instead.
6928+
# Corresponds to the JSON property `modelId`
6929+
# @return [String]
6930+
attr_accessor :model_id
6931+
6932+
def initialize(**args)
6933+
update!(**args)
6934+
end
6935+
6936+
# Update properties of this object
6937+
def update!(**args)
6938+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
6939+
@model_id = args[:model_id] if args.key?(:model_id)
6940+
end
6941+
end
6942+
69096943
# The deploy config to use for the deployment.
69106944
class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
69116945
include Google::Apis::Core::Hashable
@@ -7012,6 +7046,15 @@ class GoogleCloudAiplatformV1beta1DeployRequestModelConfig
70127046
# @return [String]
70137047
attr_accessor :model_display_name
70147048

7049+
# Optional. The ID to use for the uploaded Model, which will become the final
7050+
# component of the model resource name. When not provided, Vertex AI will
7051+
# generate a value for this ID. When Model Registry model is provided, this
7052+
# field will be ignored. This value may be up to 63 characters, and valid
7053+
# characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen.
7054+
# Corresponds to the JSON property `modelUserId`
7055+
# @return [String]
7056+
attr_accessor :model_user_id
7057+
70157058
def initialize(**args)
70167059
update!(**args)
70177060
end
@@ -7023,6 +7066,7 @@ def update!(**args)
70237066
@hugging_face_access_token = args[:hugging_face_access_token] if args.key?(:hugging_face_access_token)
70247067
@hugging_face_cache_enabled = args[:hugging_face_cache_enabled] if args.key?(:hugging_face_cache_enabled)
70257068
@model_display_name = args[:model_display_name] if args.key?(:model_display_name)
7069+
@model_user_id = args[:model_user_id] if args.key?(:model_user_id)
70267070
end
70277071
end
70287072

@@ -7338,6 +7382,12 @@ class GoogleCloudAiplatformV1beta1DeployedModel
73387382
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig]
73397383
attr_accessor :faster_deployment_config
73407384

7385+
# GDC pretrained / Gemini model name. The model name is a plain model name, e.g.
7386+
# gemini-1.5-flash-002.
7387+
# Corresponds to the JSON property `gdcConnectedModel`
7388+
# @return [String]
7389+
attr_accessor :gdc_connected_model
7390+
73417391
# Immutable. The ID of the DeployedModel. If not provided upon deployment,
73427392
# Vertex AI will generate a value for this ID. This value should be 1-10
73437393
# characters, and valid characters are `/[0-9]/`.
@@ -7421,6 +7471,7 @@ def update!(**args)
74217471
@enable_container_logging = args[:enable_container_logging] if args.key?(:enable_container_logging)
74227472
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
74237473
@faster_deployment_config = args[:faster_deployment_config] if args.key?(:faster_deployment_config)
7474+
@gdc_connected_model = args[:gdc_connected_model] if args.key?(:gdc_connected_model)
74247475
@id = args[:id] if args.key?(:id)
74257476
@model = args[:model] if args.key?(:model)
74267477
@model_version_id = args[:model_version_id] if args.key?(:model_version_id)
@@ -8031,6 +8082,11 @@ class GoogleCloudAiplatformV1beta1Endpoint
80318082
# @return [String]
80328083
attr_accessor :etag
80338084

8085+
# Google Distributed Cloud (GDC) config.
8086+
# Corresponds to the JSON property `gdcConfig`
8087+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GdcConfig]
8088+
attr_accessor :gdc_config
8089+
80348090
# Configuration for GenAiAdvancedFeatures.
80358091
# Corresponds to the JSON property `genAiAdvancedFeaturesConfig`
80368092
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig]
@@ -8122,6 +8178,7 @@ def update!(**args)
81228178
@enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
81238179
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
81248180
@etag = args[:etag] if args.key?(:etag)
8181+
@gdc_config = args[:gdc_config] if args.key?(:gdc_config)
81258182
@gen_ai_advanced_features_config = args[:gen_ai_advanced_features_config] if args.key?(:gen_ai_advanced_features_config)
81268183
@labels = args[:labels] if args.key?(:labels)
81278184
@model_deployment_monitoring_job = args[:model_deployment_monitoring_job] if args.key?(:model_deployment_monitoring_job)
@@ -14502,6 +14559,25 @@ def update!(**args)
1450214559
end
1450314560
end
1450414561

14562+
# Google Distributed Cloud (GDC) config.
14563+
class GoogleCloudAiplatformV1beta1GdcConfig
14564+
include Google::Apis::Core::Hashable
14565+
14566+
# GDC zone. A cluster will be designated for the Vertex AI workload in this zone.
14567+
# Corresponds to the JSON property `zone`
14568+
# @return [String]
14569+
attr_accessor :zone
14570+
14571+
def initialize(**args)
14572+
update!(**args)
14573+
end
14574+
14575+
# Update properties of this object
14576+
def update!(**args)
14577+
@zone = args[:zone] if args.key?(:zone)
14578+
end
14579+
end
14580+
1450514581
# Format for Gemini examples used for Vertex Multimodal datasets.
1450614582
class GoogleCloudAiplatformV1beta1GeminiExample
1450714583
include Google::Apis::Core::Hashable
@@ -40610,6 +40686,12 @@ class GoogleCloudAiplatformV1beta1Session
4061040686
# @return [String]
4061140687
attr_accessor :display_name
4061240688

40689+
# Optional. Timestamp of when this session is considered expired. This is *
40690+
# always* provided on output, regardless of what was sent on input.
40691+
# Corresponds to the JSON property `expireTime`
40692+
# @return [String]
40693+
attr_accessor :expire_time
40694+
4061340695
# Identifier. The resource name of the session. Format: 'projects/`project`/
4061440696
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
4061540697
# Corresponds to the JSON property `name`
@@ -40621,6 +40703,11 @@ class GoogleCloudAiplatformV1beta1Session
4062140703
# @return [Hash<String,Object>]
4062240704
attr_accessor :session_state
4062340705

40706+
# Optional. Input only. The TTL for this session.
40707+
# Corresponds to the JSON property `ttl`
40708+
# @return [String]
40709+
attr_accessor :ttl
40710+
4062440711
# Output only. Timestamp when the session was updated.
4062540712
# Corresponds to the JSON property `updateTime`
4062640713
# @return [String]
@@ -40639,8 +40726,10 @@ def initialize(**args)
4063940726
def update!(**args)
4064040727
@create_time = args[:create_time] if args.key?(:create_time)
4064140728
@display_name = args[:display_name] if args.key?(:display_name)
40729+
@expire_time = args[:expire_time] if args.key?(:expire_time)
4064240730
@name = args[:name] if args.key?(:name)
4064340731
@session_state = args[:session_state] if args.key?(:session_state)
40732+
@ttl = args[:ttl] if args.key?(:ttl)
4064440733
@update_time = args[:update_time] if args.key?(:update_time)
4064540734
@user_id = args[:user_id] if args.key?(:user_id)
4064640735
end
@@ -42974,7 +43063,7 @@ class GoogleCloudAiplatformV1beta1SupervisedHyperParameters
4297443063
attr_accessor :epoch_count
4297543064

4297643065
# Optional. Multiplier for adjusting the default learning rate. Mutually
42977-
# exclusive with `learning_rate`.
43066+
# exclusive with `learning_rate`. This feature is only available for 1P models.
4297843067
# Corresponds to the JSON property `learningRateMultiplier`
4297943068
# @return [Float]
4298043069
attr_accessor :learning_rate_multiplier

generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/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 AiplatformV1beta1
1818
# Version of the google-apis-aiplatform_v1beta1 gem
19-
GEM_VERSION = "0.54.0"
19+
GEM_VERSION = "0.55.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 = "20250711"
25+
REVISION = "20250715"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)