google-apis-aiplatform_v1beta1 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +102 -1
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +36 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +75 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b7b28cfc08db3ce88ee73eb46cc029ed1921f990f0f4bd5837cc17d1b0e7f4d
|
4
|
+
data.tar.gz: e3b568bdd3bfb03ff3d20ff5a207f3bcd3836fcb298ed3c5eb4c513493aef399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e184c9bdd14e2940088de6b03ed640ba8011792ac15d6097dc81e93d22c36447b5095787e75e5e1e297f6e34f9f7ee972d8ea10cf1a8c2c4e0088fbf55c6d9db
|
7
|
+
data.tar.gz: 2389d03f7e7ded213ad79042293ec9cc320a2f9a3c0d42d08284834726905386d70e61418f5d550e2de6bc2f045b1fdcbad01d3cf33f41fb14184ff3ad82eed6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1beta1
|
2
2
|
|
3
|
+
### v0.55.0 (2025-07-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250715
|
6
|
+
|
7
|
+
### v0.54.0 (2025-07-20)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250711
|
10
|
+
|
3
11
|
### v0.53.0 (2025-07-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250701
|
@@ -6864,6 +6864,12 @@ module Google
|
|
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 @@ module Google
|
|
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 @@ module Google
|
|
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 @@ module Google
|
|
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 @@ module Google
|
|
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
|
|
@@ -7101,6 +7145,17 @@ module Google
|
|
7101
7145
|
attr_accessor :enable_access_logging
|
7102
7146
|
alias_method :enable_access_logging?, :enable_access_logging
|
7103
7147
|
|
7148
|
+
# Optional. If true, logs to Cloud Logging errors relating to datapoint upserts.
|
7149
|
+
# Under normal operation conditions, these log entries should be very rare.
|
7150
|
+
# However, if incompatible datapoint updates are being uploaded to an index, a
|
7151
|
+
# high volume of log entries may be generated in a short period of time. Note
|
7152
|
+
# that logs may incur a cost, especially if the deployed index receives a high
|
7153
|
+
# volume of datapoint upserts. Estimate your costs before enabling this option.
|
7154
|
+
# Corresponds to the JSON property `enableDatapointUpsertLogging`
|
7155
|
+
# @return [Boolean]
|
7156
|
+
attr_accessor :enable_datapoint_upsert_logging
|
7157
|
+
alias_method :enable_datapoint_upsert_logging?, :enable_datapoint_upsert_logging
|
7158
|
+
|
7104
7159
|
# Required. The user specified ID of the DeployedIndex. The ID can be up to 128
|
7105
7160
|
# characters long and must start with a letter and only contain letters, numbers,
|
7106
7161
|
# and underscores. The ID must be unique within the project it is created in.
|
@@ -7168,6 +7223,7 @@ module Google
|
|
7168
7223
|
@deployment_group = args[:deployment_group] if args.key?(:deployment_group)
|
7169
7224
|
@display_name = args[:display_name] if args.key?(:display_name)
|
7170
7225
|
@enable_access_logging = args[:enable_access_logging] if args.key?(:enable_access_logging)
|
7226
|
+
@enable_datapoint_upsert_logging = args[:enable_datapoint_upsert_logging] if args.key?(:enable_datapoint_upsert_logging)
|
7171
7227
|
@id = args[:id] if args.key?(:id)
|
7172
7228
|
@index = args[:index] if args.key?(:index)
|
7173
7229
|
@index_sync_time = args[:index_sync_time] if args.key?(:index_sync_time)
|
@@ -7326,6 +7382,12 @@ module Google
|
|
7326
7382
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig]
|
7327
7383
|
attr_accessor :faster_deployment_config
|
7328
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
|
+
|
7329
7391
|
# Immutable. The ID of the DeployedModel. If not provided upon deployment,
|
7330
7392
|
# Vertex AI will generate a value for this ID. This value should be 1-10
|
7331
7393
|
# characters, and valid characters are `/[0-9]/`.
|
@@ -7409,6 +7471,7 @@ module Google
|
|
7409
7471
|
@enable_container_logging = args[:enable_container_logging] if args.key?(:enable_container_logging)
|
7410
7472
|
@explanation_spec = args[:explanation_spec] if args.key?(:explanation_spec)
|
7411
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)
|
7412
7475
|
@id = args[:id] if args.key?(:id)
|
7413
7476
|
@model = args[:model] if args.key?(:model)
|
7414
7477
|
@model_version_id = args[:model_version_id] if args.key?(:model_version_id)
|
@@ -8019,6 +8082,11 @@ module Google
|
|
8019
8082
|
# @return [String]
|
8020
8083
|
attr_accessor :etag
|
8021
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
|
+
|
8022
8090
|
# Configuration for GenAiAdvancedFeatures.
|
8023
8091
|
# Corresponds to the JSON property `genAiAdvancedFeaturesConfig`
|
8024
8092
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig]
|
@@ -8110,6 +8178,7 @@ module Google
|
|
8110
8178
|
@enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
|
8111
8179
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
8112
8180
|
@etag = args[:etag] if args.key?(:etag)
|
8181
|
+
@gdc_config = args[:gdc_config] if args.key?(:gdc_config)
|
8113
8182
|
@gen_ai_advanced_features_config = args[:gen_ai_advanced_features_config] if args.key?(:gen_ai_advanced_features_config)
|
8114
8183
|
@labels = args[:labels] if args.key?(:labels)
|
8115
8184
|
@model_deployment_monitoring_job = args[:model_deployment_monitoring_job] if args.key?(:model_deployment_monitoring_job)
|
@@ -14490,6 +14559,25 @@ module Google
|
|
14490
14559
|
end
|
14491
14560
|
end
|
14492
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
|
+
|
14493
14581
|
# Format for Gemini examples used for Vertex Multimodal datasets.
|
14494
14582
|
class GoogleCloudAiplatformV1beta1GeminiExample
|
14495
14583
|
include Google::Apis::Core::Hashable
|
@@ -40598,6 +40686,12 @@ module Google
|
|
40598
40686
|
# @return [String]
|
40599
40687
|
attr_accessor :display_name
|
40600
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
|
+
|
40601
40695
|
# Identifier. The resource name of the session. Format: 'projects/`project`/
|
40602
40696
|
# locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
|
40603
40697
|
# Corresponds to the JSON property `name`
|
@@ -40609,6 +40703,11 @@ module Google
|
|
40609
40703
|
# @return [Hash<String,Object>]
|
40610
40704
|
attr_accessor :session_state
|
40611
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
|
+
|
40612
40711
|
# Output only. Timestamp when the session was updated.
|
40613
40712
|
# Corresponds to the JSON property `updateTime`
|
40614
40713
|
# @return [String]
|
@@ -40627,8 +40726,10 @@ module Google
|
|
40627
40726
|
def update!(**args)
|
40628
40727
|
@create_time = args[:create_time] if args.key?(:create_time)
|
40629
40728
|
@display_name = args[:display_name] if args.key?(:display_name)
|
40729
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
40630
40730
|
@name = args[:name] if args.key?(:name)
|
40631
40731
|
@session_state = args[:session_state] if args.key?(:session_state)
|
40732
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
40632
40733
|
@update_time = args[:update_time] if args.key?(:update_time)
|
40633
40734
|
@user_id = args[:user_id] if args.key?(:user_id)
|
40634
40735
|
end
|
@@ -42962,7 +43063,7 @@ module Google
|
|
42962
43063
|
attr_accessor :epoch_count
|
42963
43064
|
|
42964
43065
|
# Optional. Multiplier for adjusting the default learning rate. Mutually
|
42965
|
-
# exclusive with `learning_rate`.
|
43066
|
+
# exclusive with `learning_rate`. This feature is only available for 1P models.
|
42966
43067
|
# Corresponds to the JSON property `learningRateMultiplier`
|
42967
43068
|
# @return [Float]
|
42968
43069
|
attr_accessor :learning_rate_multiplier
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250715"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1264,6 +1264,12 @@ module Google
|
|
1264
1264
|
include Google::Apis::Core::JsonObjectSupport
|
1265
1265
|
end
|
1266
1266
|
|
1267
|
+
class GoogleCloudAiplatformV1beta1DeployRequestCustomModel
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
|
+
|
1270
|
+
include Google::Apis::Core::JsonObjectSupport
|
1271
|
+
end
|
1272
|
+
|
1267
1273
|
class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
|
1268
1274
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
1275
|
|
@@ -2404,6 +2410,12 @@ module Google
|
|
2404
2410
|
include Google::Apis::Core::JsonObjectSupport
|
2405
2411
|
end
|
2406
2412
|
|
2413
|
+
class GoogleCloudAiplatformV1beta1GdcConfig
|
2414
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2415
|
+
|
2416
|
+
include Google::Apis::Core::JsonObjectSupport
|
2417
|
+
end
|
2418
|
+
|
2407
2419
|
class GoogleCloudAiplatformV1beta1GeminiExample
|
2408
2420
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
2421
|
|
@@ -10200,6 +10212,8 @@ module Google
|
|
10200
10212
|
class GoogleCloudAiplatformV1beta1DeployRequest
|
10201
10213
|
# @private
|
10202
10214
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10215
|
+
property :custom_model, as: 'customModel', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestCustomModel, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestCustomModel::Representation
|
10216
|
+
|
10203
10217
|
property :deploy_config, as: 'deployConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestDeployConfig::Representation
|
10204
10218
|
|
10205
10219
|
property :endpoint_config, as: 'endpointConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DeployRequestEndpointConfig::Representation
|
@@ -10211,6 +10225,14 @@ module Google
|
|
10211
10225
|
end
|
10212
10226
|
end
|
10213
10227
|
|
10228
|
+
class GoogleCloudAiplatformV1beta1DeployRequestCustomModel
|
10229
|
+
# @private
|
10230
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10231
|
+
property :gcs_uri, as: 'gcsUri'
|
10232
|
+
property :model_id, as: 'modelId'
|
10233
|
+
end
|
10234
|
+
end
|
10235
|
+
|
10214
10236
|
class GoogleCloudAiplatformV1beta1DeployRequestDeployConfig
|
10215
10237
|
# @private
|
10216
10238
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10238,6 +10260,7 @@ module Google
|
|
10238
10260
|
property :hugging_face_access_token, as: 'huggingFaceAccessToken'
|
10239
10261
|
property :hugging_face_cache_enabled, as: 'huggingFaceCacheEnabled'
|
10240
10262
|
property :model_display_name, as: 'modelDisplayName'
|
10263
|
+
property :model_user_id, as: 'modelUserId'
|
10241
10264
|
end
|
10242
10265
|
end
|
10243
10266
|
|
@@ -10262,6 +10285,7 @@ module Google
|
|
10262
10285
|
property :deployment_group, as: 'deploymentGroup'
|
10263
10286
|
property :display_name, as: 'displayName'
|
10264
10287
|
property :enable_access_logging, as: 'enableAccessLogging'
|
10288
|
+
property :enable_datapoint_upsert_logging, as: 'enableDatapointUpsertLogging'
|
10265
10289
|
property :id, as: 'id'
|
10266
10290
|
property :index, as: 'index'
|
10267
10291
|
property :index_sync_time, as: 'indexSyncTime'
|
@@ -10315,6 +10339,7 @@ module Google
|
|
10315
10339
|
|
10316
10340
|
property :faster_deployment_config, as: 'fasterDeploymentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FasterDeploymentConfig::Representation
|
10317
10341
|
|
10342
|
+
property :gdc_connected_model, as: 'gdcConnectedModel'
|
10318
10343
|
property :id, as: 'id'
|
10319
10344
|
property :model, as: 'model'
|
10320
10345
|
property :model_version_id, as: 'modelVersionId'
|
@@ -10501,6 +10526,8 @@ module Google
|
|
10501
10526
|
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec::Representation
|
10502
10527
|
|
10503
10528
|
property :etag, as: 'etag'
|
10529
|
+
property :gdc_config, as: 'gdcConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GdcConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GdcConfig::Representation
|
10530
|
+
|
10504
10531
|
property :gen_ai_advanced_features_config, as: 'genAiAdvancedFeaturesConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenAiAdvancedFeaturesConfig::Representation
|
10505
10532
|
|
10506
10533
|
hash :labels, as: 'labels'
|
@@ -12303,6 +12330,13 @@ module Google
|
|
12303
12330
|
end
|
12304
12331
|
end
|
12305
12332
|
|
12333
|
+
class GoogleCloudAiplatformV1beta1GdcConfig
|
12334
|
+
# @private
|
12335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12336
|
+
property :zone, as: 'zone'
|
12337
|
+
end
|
12338
|
+
end
|
12339
|
+
|
12306
12340
|
class GoogleCloudAiplatformV1beta1GeminiExample
|
12307
12341
|
# @private
|
12308
12342
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19741,8 +19775,10 @@ module Google
|
|
19741
19775
|
class Representation < Google::Apis::Core::JsonRepresentation
|
19742
19776
|
property :create_time, as: 'createTime'
|
19743
19777
|
property :display_name, as: 'displayName'
|
19778
|
+
property :expire_time, as: 'expireTime'
|
19744
19779
|
property :name, as: 'name'
|
19745
19780
|
hash :session_state, as: 'sessionState'
|
19781
|
+
property :ttl, as: 'ttl'
|
19746
19782
|
property :update_time, as: 'updateTime'
|
19747
19783
|
property :user_id, as: 'userId'
|
19748
19784
|
end
|
@@ -903,6 +903,37 @@ module Google
|
|
903
903
|
execute_or_queue_command(command, &block)
|
904
904
|
end
|
905
905
|
|
906
|
+
# Fetches the configs of publisher models.
|
907
|
+
# @param [String] name
|
908
|
+
# Required. The name of the publisher model, in the format of `projects/`project`
|
909
|
+
# /locations/`location`/publishers/`publisher`/models/`model``.
|
910
|
+
# @param [String] fields
|
911
|
+
# Selector specifying which fields to include in a partial response.
|
912
|
+
# @param [String] quota_user
|
913
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
914
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
915
|
+
# @param [Google::Apis::RequestOptions] options
|
916
|
+
# Request-specific options
|
917
|
+
#
|
918
|
+
# @yield [result, err] Result & error if block supplied
|
919
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig] parsed result object
|
920
|
+
# @yieldparam err [StandardError] error object if request failed
|
921
|
+
#
|
922
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig]
|
923
|
+
#
|
924
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
925
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
926
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
927
|
+
def fetch_project_publisher_model_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
928
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchPublisherModelConfig', options)
|
929
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig::Representation
|
930
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig
|
931
|
+
command.params['name'] = name unless name.nil?
|
932
|
+
command.query['fields'] = fields unless fields.nil?
|
933
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
934
|
+
execute_or_queue_command(command, &block)
|
935
|
+
end
|
936
|
+
|
906
937
|
# Gets a GenAI cache config.
|
907
938
|
# @param [String] name
|
908
939
|
# Required. Name of the cache config. Format: - `projects/`project`/cacheConfig`.
|
@@ -933,6 +964,41 @@ module Google
|
|
933
964
|
execute_or_queue_command(command, &block)
|
934
965
|
end
|
935
966
|
|
967
|
+
# Sets (creates or updates) configs of publisher models. For example, sets the
|
968
|
+
# request/response logging config.
|
969
|
+
# @param [String] name
|
970
|
+
# Required. The name of the publisher model, in the format of `projects/`project`
|
971
|
+
# /locations/`location`/publishers/`publisher`/models/`model``.
|
972
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest] google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object
|
973
|
+
# @param [String] fields
|
974
|
+
# Selector specifying which fields to include in a partial response.
|
975
|
+
# @param [String] quota_user
|
976
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
977
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
978
|
+
# @param [Google::Apis::RequestOptions] options
|
979
|
+
# Request-specific options
|
980
|
+
#
|
981
|
+
# @yield [result, err] Result & error if block supplied
|
982
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
983
|
+
# @yieldparam err [StandardError] error object if request failed
|
984
|
+
#
|
985
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
986
|
+
#
|
987
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
988
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
989
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
990
|
+
def set_project_publisher_model_config(name, google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
991
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:setPublisherModelConfig', options)
|
992
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest::Representation
|
993
|
+
command.request_object = google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object
|
994
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
995
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
996
|
+
command.params['name'] = name unless name.nil?
|
997
|
+
command.query['fields'] = fields unless fields.nil?
|
998
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
999
|
+
execute_or_queue_command(command, &block)
|
1000
|
+
end
|
1001
|
+
|
936
1002
|
# Updates a cache config.
|
937
1003
|
# @param [String] name
|
938
1004
|
# Identifier. Name of the cache config. Format: - `projects/`project`/
|
@@ -5619,6 +5685,10 @@ module Google
|
|
5619
5685
|
# space must be quoted. `labels."a key"`. * `base_model_name` only supports `=`.
|
5620
5686
|
# Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="
|
5621
5687
|
# myValue"` * `baseModelName="text-bison"`
|
5688
|
+
# @param [String] gdc_zone
|
5689
|
+
# Optional. Configures the Google Distributed Cloud (GDC) environment for online
|
5690
|
+
# prediction. Only set this field when the Endpoint is to be deployed in a GDC
|
5691
|
+
# environment.
|
5622
5692
|
# @param [Fixnum] page_size
|
5623
5693
|
# Optional. The standard list page size.
|
5624
5694
|
# @param [String] page_token
|
@@ -5644,12 +5714,13 @@ module Google
|
|
5644
5714
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5645
5715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5646
5716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5647
|
-
def list_project_location_endpoints(parent, filter: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5717
|
+
def list_project_location_endpoints(parent, filter: nil, gdc_zone: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5648
5718
|
command = make_simple_command(:get, 'v1beta1/{+parent}/endpoints', options)
|
5649
5719
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEndpointsResponse::Representation
|
5650
5720
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEndpointsResponse
|
5651
5721
|
command.params['parent'] = parent unless parent.nil?
|
5652
5722
|
command.query['filter'] = filter unless filter.nil?
|
5723
|
+
command.query['gdcZone'] = gdc_zone unless gdc_zone.nil?
|
5653
5724
|
command.query['pageSize'] = page_size unless page_size.nil?
|
5654
5725
|
command.query['pageToken'] = page_token unless page_token.nil?
|
5655
5726
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
@@ -5659,9 +5730,9 @@ module Google
|
|
5659
5730
|
end
|
5660
5731
|
|
5661
5732
|
# Updates an existing deployed model. Updatable fields include `
|
5662
|
-
# min_replica_count`, `max_replica_count`, `
|
5663
|
-
# disable_container_logging` (v1 only), and `
|
5664
|
-
# only).
|
5733
|
+
# min_replica_count`, `max_replica_count`, `required_replica_count`, `
|
5734
|
+
# autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `
|
5735
|
+
# enable_container_logging` (v1beta1 only).
|
5665
5736
|
# @param [String] endpoint
|
5666
5737
|
# Required. The name of the Endpoint resource into which to mutate a
|
5667
5738
|
# DeployedModel. Format: `projects/`project`/locations/`location`/endpoints/`
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.55.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|