@@ -6864,6 +6864,12 @@ def update!(**args)
6864
6864
class GoogleCloudAiplatformV1beta1DeployRequest
6865
6865
include Google::Apis::Core::Hashable
6866
6866
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
+
6867
6873
# The deploy config to use for the deployment.
6868
6874
# Corresponds to the JSON property `deployConfig`
6869
6875
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig]
@@ -6898,6 +6904,7 @@ def initialize(**args)
6898
6904
6899
6905
# Update properties of this object
6900
6906
def update!(**args)
6907
+ @custom_model = args[:custom_model] if args.key?(:custom_model)
6901
6908
@deploy_config = args[:deploy_config] if args.key?(:deploy_config)
6902
6909
@endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
6903
6910
@hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
@@ -6906,6 +6913,33 @@ def update!(**args)
6906
6913
end
6907
6914
end
6908
6915
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
+
6909
6943
# The deploy config to use for the deployment.
6910
6944
class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
6911
6945
include Google::Apis::Core::Hashable
@@ -7012,6 +7046,15 @@ class GoogleCloudAiplatformV1beta1DeployRequestModelConfig
7012
7046
# @return [String]
7013
7047
attr_accessor :model_display_name
7014
7048
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
+
7015
7058
def initialize(**args)
7016
7059
update!(**args)
7017
7060
end
@@ -7023,6 +7066,7 @@ def update!(**args)
7023
7066
@hugging_face_access_token = args[:hugging_face_access_token] if args.key?(:hugging_face_access_token)
7024
7067
@hugging_face_cache_enabled = args[:hugging_face_cache_enabled] if args.key?(:hugging_face_cache_enabled)
7025
7068
@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)
7026
7070
end
7027
7071
end
7028
7072
@@ -7338,6 +7382,12 @@ class GoogleCloudAiplatformV1beta1DeployedModel
7338
7382
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig]
7339
7383
attr_accessor :faster_deployment_config
7340
7384
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
+
7341
7391
# Immutable. The ID of the DeployedModel. If not provided upon deployment,
7342
7392
# Vertex AI will generate a value for this ID. This value should be 1-10
7343
7393
# characters, and valid characters are `/[0-9]/`.
@@ -7421,6 +7471,7 @@ def update!(**args)
7421
7471
@enable_container_logging = args[:enable_container_logging] if args.key?(:enable_container_logging)
7422
7472
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
7423
7473
@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)
7424
7475
@id = args[:id] if args.key?(:id)
7425
7476
@model = args[:model] if args.key?(:model)
7426
7477
@model_version_id = args[:model_version_id] if args.key?(:model_version_id)
@@ -8031,6 +8082,11 @@ class GoogleCloudAiplatformV1beta1Endpoint
8031
8082
# @return [String]
8032
8083
attr_accessor :etag
8033
8084
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
+
8034
8090
# Configuration for GenAiAdvancedFeatures.
8035
8091
# Corresponds to the JSON property `genAiAdvancedFeaturesConfig`
8036
8092
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig]
@@ -8122,6 +8178,7 @@ def update!(**args)
8122
8178
@enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
8123
8179
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
8124
8180
@etag = args[:etag] if args.key?(:etag)
8181
+ @gdc_config = args[:gdc_config] if args.key?(:gdc_config)
8125
8182
@gen_ai_advanced_features_config = args[:gen_ai_advanced_features_config] if args.key?(:gen_ai_advanced_features_config)
8126
8183
@labels = args[:labels] if args.key?(:labels)
8127
8184
@model_deployment_monitoring_job = args[:model_deployment_monitoring_job] if args.key?(:model_deployment_monitoring_job)
@@ -14502,6 +14559,25 @@ def update!(**args)
14502
14559
end
14503
14560
end
14504
14561
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
+
14505
14581
# Format for Gemini examples used for Vertex Multimodal datasets.
14506
14582
class GoogleCloudAiplatformV1beta1GeminiExample
14507
14583
include Google::Apis::Core::Hashable
@@ -40610,6 +40686,12 @@ class GoogleCloudAiplatformV1beta1Session
40610
40686
# @return [String]
40611
40687
attr_accessor :display_name
40612
40688
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
+
40613
40695
# Identifier. The resource name of the session. Format: 'projects/`project`/
40614
40696
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
40615
40697
# Corresponds to the JSON property `name`
@@ -40621,6 +40703,11 @@ class GoogleCloudAiplatformV1beta1Session
40621
40703
# @return [Hash<String,Object>]
40622
40704
attr_accessor :session_state
40623
40705
40706
+ # Optional. Input only. The TTL for this session.
40707
+ # Corresponds to the JSON property `ttl`
40708
+ # @return [String]
40709
+ attr_accessor :ttl
40710
+
40624
40711
# Output only. Timestamp when the session was updated.
40625
40712
# Corresponds to the JSON property `updateTime`
40626
40713
# @return [String]
@@ -40639,8 +40726,10 @@ def initialize(**args)
40639
40726
def update!(**args)
40640
40727
@create_time = args[:create_time] if args.key?(:create_time)
40641
40728
@display_name = args[:display_name] if args.key?(:display_name)
40729
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
40642
40730
@name = args[:name] if args.key?(:name)
40643
40731
@session_state = args[:session_state] if args.key?(:session_state)
40732
+ @ttl = args[:ttl] if args.key?(:ttl)
40644
40733
@update_time = args[:update_time] if args.key?(:update_time)
40645
40734
@user_id = args[:user_id] if args.key?(:user_id)
40646
40735
end
@@ -42974,7 +43063,7 @@ class GoogleCloudAiplatformV1beta1SupervisedHyperParameters
42974
43063
attr_accessor :epoch_count
42975
43064
42976
43065
# 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.
42978
43067
# Corresponds to the JSON property `learningRateMultiplier`
42979
43068
# @return [Float]
42980
43069
attr_accessor :learning_rate_multiplier
0 commit comments