google-apis-aiplatform_v1 0.56.0 → 0.58.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c81d10c864778028d8c54294fd690139bc44becfe20f754ea115c47493a66d6d
|
4
|
+
data.tar.gz: 3c114a318d7b8021fc500f72a7eeb7982b7421283ebef679f9879fae5dedc9c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7bada0cb80a67dbde5f3cfbaa8db2b48caa4be29efdacbe7aac8cd9e99fcbac23f7819c1c6c92048c3f99d150094277bc2f674460f9f6b9f92c7663a07fd7d
|
7
|
+
data.tar.gz: 1c60be79745b343ca298a866302056bad3f7b6f12ca445775a24effac44354f501bf9759ca3af3c5c715cfb67a76814d756759c0a6eb5b23f9ea26817fe43995
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
2
2
|
|
3
|
+
### v0.58.0 (2025-06-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250613
|
6
|
+
|
7
|
+
### v0.57.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250606
|
10
|
+
|
3
11
|
### v0.56.0 (2025-06-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250602
|
@@ -2748,7 +2748,8 @@ module Google
|
|
2748
2748
|
|
2749
2749
|
# Optional. Display name of the blob. Used to provide a label or filename to
|
2750
2750
|
# distinguish blobs. This field is only returned in PromptMessage for prompt
|
2751
|
-
# management. It is
|
2751
|
+
# management. It is currently used in the Gemini GenerateContent calls only when
|
2752
|
+
# server side tools (code_execution, google_search, and url_context) are enabled.
|
2752
2753
|
# Corresponds to the JSON property `displayName`
|
2753
2754
|
# @return [String]
|
2754
2755
|
attr_accessor :display_name
|
@@ -3146,6 +3147,11 @@ module Google
|
|
3146
3147
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating>]
|
3147
3148
|
attr_accessor :safety_ratings
|
3148
3149
|
|
3150
|
+
# Metadata related to url context retrieval tool.
|
3151
|
+
# Corresponds to the JSON property `urlContextMetadata`
|
3152
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UrlContextMetadata]
|
3153
|
+
attr_accessor :url_context_metadata
|
3154
|
+
|
3149
3155
|
def initialize(**args)
|
3150
3156
|
update!(**args)
|
3151
3157
|
end
|
@@ -3161,6 +3167,7 @@ module Google
|
|
3161
3167
|
@index = args[:index] if args.key?(:index)
|
3162
3168
|
@logprobs_result = args[:logprobs_result] if args.key?(:logprobs_result)
|
3163
3169
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
3170
|
+
@url_context_metadata = args[:url_context_metadata] if args.key?(:url_context_metadata)
|
3164
3171
|
end
|
3165
3172
|
end
|
3166
3173
|
|
@@ -6158,6 +6165,251 @@ module Google
|
|
6158
6165
|
end
|
6159
6166
|
end
|
6160
6167
|
|
6168
|
+
# Runtime operation information for ModelGardenService.Deploy.
|
6169
|
+
class GoogleCloudAiplatformV1DeployOperationMetadata
|
6170
|
+
include Google::Apis::Core::Hashable
|
6171
|
+
|
6172
|
+
# Output only. The resource name of the Location to deploy the model in. Format:
|
6173
|
+
# `projects/`project`/locations/`location``
|
6174
|
+
# Corresponds to the JSON property `destination`
|
6175
|
+
# @return [String]
|
6176
|
+
attr_accessor :destination
|
6177
|
+
|
6178
|
+
# Generic Metadata shared by all operations.
|
6179
|
+
# Corresponds to the JSON property `genericMetadata`
|
6180
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
|
6181
|
+
attr_accessor :generic_metadata
|
6182
|
+
|
6183
|
+
# Output only. The model id to be used at query time.
|
6184
|
+
# Corresponds to the JSON property `modelId`
|
6185
|
+
# @return [String]
|
6186
|
+
attr_accessor :model_id
|
6187
|
+
|
6188
|
+
# Output only. The project number where the deploy model request is sent.
|
6189
|
+
# Corresponds to the JSON property `projectNumber`
|
6190
|
+
# @return [Fixnum]
|
6191
|
+
attr_accessor :project_number
|
6192
|
+
|
6193
|
+
# Output only. The name of the model resource.
|
6194
|
+
# Corresponds to the JSON property `publisherModel`
|
6195
|
+
# @return [String]
|
6196
|
+
attr_accessor :publisher_model
|
6197
|
+
|
6198
|
+
def initialize(**args)
|
6199
|
+
update!(**args)
|
6200
|
+
end
|
6201
|
+
|
6202
|
+
# Update properties of this object
|
6203
|
+
def update!(**args)
|
6204
|
+
@destination = args[:destination] if args.key?(:destination)
|
6205
|
+
@generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
|
6206
|
+
@model_id = args[:model_id] if args.key?(:model_id)
|
6207
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
6208
|
+
@publisher_model = args[:publisher_model] if args.key?(:publisher_model)
|
6209
|
+
end
|
6210
|
+
end
|
6211
|
+
|
6212
|
+
# Request message for ModelGardenService.Deploy.
|
6213
|
+
class GoogleCloudAiplatformV1DeployRequest
|
6214
|
+
include Google::Apis::Core::Hashable
|
6215
|
+
|
6216
|
+
# The deploy config to use for the deployment.
|
6217
|
+
# Corresponds to the JSON property `deployConfig`
|
6218
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestDeployConfig]
|
6219
|
+
attr_accessor :deploy_config
|
6220
|
+
|
6221
|
+
# The endpoint config to use for the deployment.
|
6222
|
+
# Corresponds to the JSON property `endpointConfig`
|
6223
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestEndpointConfig]
|
6224
|
+
attr_accessor :endpoint_config
|
6225
|
+
|
6226
|
+
# The Hugging Face model to deploy. Format: Hugging Face model ID like `google/
|
6227
|
+
# gemma-2-2b-it`.
|
6228
|
+
# Corresponds to the JSON property `huggingFaceModelId`
|
6229
|
+
# @return [String]
|
6230
|
+
attr_accessor :hugging_face_model_id
|
6231
|
+
|
6232
|
+
# The model config to use for the deployment.
|
6233
|
+
# Corresponds to the JSON property `modelConfig`
|
6234
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestModelConfig]
|
6235
|
+
attr_accessor :model_config
|
6236
|
+
|
6237
|
+
# The Model Garden model to deploy. Format: `publishers/`publisher`/models/`
|
6238
|
+
# publisher_model`@`version_id``, or `publishers/hf-`hugging-face-author`/models/
|
6239
|
+
# `hugging-face-model-name`@001`.
|
6240
|
+
# Corresponds to the JSON property `publisherModelName`
|
6241
|
+
# @return [String]
|
6242
|
+
attr_accessor :publisher_model_name
|
6243
|
+
|
6244
|
+
def initialize(**args)
|
6245
|
+
update!(**args)
|
6246
|
+
end
|
6247
|
+
|
6248
|
+
# Update properties of this object
|
6249
|
+
def update!(**args)
|
6250
|
+
@deploy_config = args[:deploy_config] if args.key?(:deploy_config)
|
6251
|
+
@endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config)
|
6252
|
+
@hugging_face_model_id = args[:hugging_face_model_id] if args.key?(:hugging_face_model_id)
|
6253
|
+
@model_config = args[:model_config] if args.key?(:model_config)
|
6254
|
+
@publisher_model_name = args[:publisher_model_name] if args.key?(:publisher_model_name)
|
6255
|
+
end
|
6256
|
+
end
|
6257
|
+
|
6258
|
+
# The deploy config to use for the deployment.
|
6259
|
+
class GoogleCloudAiplatformV1DeployRequestDeployConfig
|
6260
|
+
include Google::Apis::Core::Hashable
|
6261
|
+
|
6262
|
+
# A description of resources that are dedicated to a DeployedModel or
|
6263
|
+
# DeployedIndex, and that need a higher degree of manual configuration.
|
6264
|
+
# Corresponds to the JSON property `dedicatedResources`
|
6265
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources]
|
6266
|
+
attr_accessor :dedicated_resources
|
6267
|
+
|
6268
|
+
# Optional. If true, enable the QMT fast tryout feature for this model if
|
6269
|
+
# possible.
|
6270
|
+
# Corresponds to the JSON property `fastTryoutEnabled`
|
6271
|
+
# @return [Boolean]
|
6272
|
+
attr_accessor :fast_tryout_enabled
|
6273
|
+
alias_method :fast_tryout_enabled?, :fast_tryout_enabled
|
6274
|
+
|
6275
|
+
# Optional. System labels for Model Garden deployments. These labels are managed
|
6276
|
+
# by Google and for tracking purposes only.
|
6277
|
+
# Corresponds to the JSON property `systemLabels`
|
6278
|
+
# @return [Hash<String,String>]
|
6279
|
+
attr_accessor :system_labels
|
6280
|
+
|
6281
|
+
def initialize(**args)
|
6282
|
+
update!(**args)
|
6283
|
+
end
|
6284
|
+
|
6285
|
+
# Update properties of this object
|
6286
|
+
def update!(**args)
|
6287
|
+
@dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
|
6288
|
+
@fast_tryout_enabled = args[:fast_tryout_enabled] if args.key?(:fast_tryout_enabled)
|
6289
|
+
@system_labels = args[:system_labels] if args.key?(:system_labels)
|
6290
|
+
end
|
6291
|
+
end
|
6292
|
+
|
6293
|
+
# The endpoint config to use for the deployment.
|
6294
|
+
class GoogleCloudAiplatformV1DeployRequestEndpointConfig
|
6295
|
+
include Google::Apis::Core::Hashable
|
6296
|
+
|
6297
|
+
# Optional. If true, the endpoint will be exposed through a dedicated DNS [
|
6298
|
+
# Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be
|
6299
|
+
# isolated from other users' traffic and will have better performance and
|
6300
|
+
# reliability. Note: Once you enabled dedicated endpoint, you won't be able to
|
6301
|
+
# send request to the shared DNS `region`-aiplatform.googleapis.com. The
|
6302
|
+
# limitations will be removed soon.
|
6303
|
+
# Corresponds to the JSON property `dedicatedEndpointEnabled`
|
6304
|
+
# @return [Boolean]
|
6305
|
+
attr_accessor :dedicated_endpoint_enabled
|
6306
|
+
alias_method :dedicated_endpoint_enabled?, :dedicated_endpoint_enabled
|
6307
|
+
|
6308
|
+
# Optional. The user-specified display name of the endpoint. If not set, a
|
6309
|
+
# default name will be used.
|
6310
|
+
# Corresponds to the JSON property `endpointDisplayName`
|
6311
|
+
# @return [String]
|
6312
|
+
attr_accessor :endpoint_display_name
|
6313
|
+
|
6314
|
+
def initialize(**args)
|
6315
|
+
update!(**args)
|
6316
|
+
end
|
6317
|
+
|
6318
|
+
# Update properties of this object
|
6319
|
+
def update!(**args)
|
6320
|
+
@dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
|
6321
|
+
@endpoint_display_name = args[:endpoint_display_name] if args.key?(:endpoint_display_name)
|
6322
|
+
end
|
6323
|
+
end
|
6324
|
+
|
6325
|
+
# The model config to use for the deployment.
|
6326
|
+
class GoogleCloudAiplatformV1DeployRequestModelConfig
|
6327
|
+
include Google::Apis::Core::Hashable
|
6328
|
+
|
6329
|
+
# Optional. Whether the user accepts the End User License Agreement (EULA) for
|
6330
|
+
# the model.
|
6331
|
+
# Corresponds to the JSON property `acceptEula`
|
6332
|
+
# @return [Boolean]
|
6333
|
+
attr_accessor :accept_eula
|
6334
|
+
alias_method :accept_eula?, :accept_eula
|
6335
|
+
|
6336
|
+
# Specification of a container for serving predictions. Some fields in this
|
6337
|
+
# message correspond to fields in the [Kubernetes Container v1 core
|
6338
|
+
# specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/
|
6339
|
+
# v1.23/#container-v1-core).
|
6340
|
+
# Corresponds to the JSON property `containerSpec`
|
6341
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec]
|
6342
|
+
attr_accessor :container_spec
|
6343
|
+
|
6344
|
+
# Optional. The Hugging Face read access token used to access the model
|
6345
|
+
# artifacts of gated models.
|
6346
|
+
# Corresponds to the JSON property `huggingFaceAccessToken`
|
6347
|
+
# @return [String]
|
6348
|
+
attr_accessor :hugging_face_access_token
|
6349
|
+
|
6350
|
+
# Optional. If true, the model will deploy with a cached version instead of
|
6351
|
+
# directly downloading the model artifacts from Hugging Face. This is suitable
|
6352
|
+
# for VPC-SC users with limited internet access.
|
6353
|
+
# Corresponds to the JSON property `huggingFaceCacheEnabled`
|
6354
|
+
# @return [Boolean]
|
6355
|
+
attr_accessor :hugging_face_cache_enabled
|
6356
|
+
alias_method :hugging_face_cache_enabled?, :hugging_face_cache_enabled
|
6357
|
+
|
6358
|
+
# Optional. The user-specified display name of the uploaded model. If not set, a
|
6359
|
+
# default name will be used.
|
6360
|
+
# Corresponds to the JSON property `modelDisplayName`
|
6361
|
+
# @return [String]
|
6362
|
+
attr_accessor :model_display_name
|
6363
|
+
|
6364
|
+
def initialize(**args)
|
6365
|
+
update!(**args)
|
6366
|
+
end
|
6367
|
+
|
6368
|
+
# Update properties of this object
|
6369
|
+
def update!(**args)
|
6370
|
+
@accept_eula = args[:accept_eula] if args.key?(:accept_eula)
|
6371
|
+
@container_spec = args[:container_spec] if args.key?(:container_spec)
|
6372
|
+
@hugging_face_access_token = args[:hugging_face_access_token] if args.key?(:hugging_face_access_token)
|
6373
|
+
@hugging_face_cache_enabled = args[:hugging_face_cache_enabled] if args.key?(:hugging_face_cache_enabled)
|
6374
|
+
@model_display_name = args[:model_display_name] if args.key?(:model_display_name)
|
6375
|
+
end
|
6376
|
+
end
|
6377
|
+
|
6378
|
+
# Response message for ModelGardenService.Deploy.
|
6379
|
+
class GoogleCloudAiplatformV1DeployResponse
|
6380
|
+
include Google::Apis::Core::Hashable
|
6381
|
+
|
6382
|
+
# Output only. The name of the Endpoint created. Format: `projects/`project`/
|
6383
|
+
# locations/`location`/endpoints/`endpoint``
|
6384
|
+
# Corresponds to the JSON property `endpoint`
|
6385
|
+
# @return [String]
|
6386
|
+
attr_accessor :endpoint
|
6387
|
+
|
6388
|
+
# Output only. The name of the Model created. Format: `projects/`project`/
|
6389
|
+
# locations/`location`/models/`model``
|
6390
|
+
# Corresponds to the JSON property `model`
|
6391
|
+
# @return [String]
|
6392
|
+
attr_accessor :model
|
6393
|
+
|
6394
|
+
# Output only. The name of the PublisherModel resource. Format: `publishers/`
|
6395
|
+
# publisher`/models/`publisher_model`@`version_id``, or `publishers/hf-`hugging-
|
6396
|
+
# face-author`/models/`hugging-face-model-name`@001`
|
6397
|
+
# Corresponds to the JSON property `publisherModel`
|
6398
|
+
# @return [String]
|
6399
|
+
attr_accessor :publisher_model
|
6400
|
+
|
6401
|
+
def initialize(**args)
|
6402
|
+
update!(**args)
|
6403
|
+
end
|
6404
|
+
|
6405
|
+
# Update properties of this object
|
6406
|
+
def update!(**args)
|
6407
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
6408
|
+
@model = args[:model] if args.key?(:model)
|
6409
|
+
@publisher_model = args[:publisher_model] if args.key?(:publisher_model)
|
6410
|
+
end
|
6411
|
+
end
|
6412
|
+
|
6161
6413
|
# A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes.
|
6162
6414
|
class GoogleCloudAiplatformV1DeployedIndex
|
6163
6415
|
include Google::Apis::Core::Hashable
|
@@ -6448,12 +6700,12 @@ module Google
|
|
6448
6700
|
# @return [String]
|
6449
6701
|
attr_accessor :id
|
6450
6702
|
|
6451
|
-
#
|
6452
|
-
#
|
6453
|
-
#
|
6454
|
-
#
|
6455
|
-
#
|
6456
|
-
#
|
6703
|
+
# The resource name of the Model that this is the deployment of. Note that the
|
6704
|
+
# Model may be in a different location than the DeployedModel's Endpoint. The
|
6705
|
+
# resource name may contain version id or version alias to specify the version.
|
6706
|
+
# Example: `projects/`project`/locations/`location`/models/`model`@2` or `
|
6707
|
+
# projects/`project`/locations/`location`/models/`model`@golden` if no version
|
6708
|
+
# is specified, the default version will be deployed.
|
6457
6709
|
# Corresponds to the JSON property `model`
|
6458
6710
|
# @return [String]
|
6459
6711
|
attr_accessor :model
|
@@ -6837,6 +7089,43 @@ module Google
|
|
6837
7089
|
end
|
6838
7090
|
end
|
6839
7091
|
|
7092
|
+
# DNS peering configuration. These configurations are used to create DNS peering
|
7093
|
+
# zones in the Vertex tenant project VPC, enabling resolution of records within
|
7094
|
+
# the specified domain hosted in the target network's Cloud DNS.
|
7095
|
+
class GoogleCloudAiplatformV1DnsPeeringConfig
|
7096
|
+
include Google::Apis::Core::Hashable
|
7097
|
+
|
7098
|
+
# Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-
|
7099
|
+
# domain.corp.". Must end with a dot.
|
7100
|
+
# Corresponds to the JSON property `domain`
|
7101
|
+
# @return [String]
|
7102
|
+
attr_accessor :domain
|
7103
|
+
|
7104
|
+
# Required. The VPC network name in the target_project where the DNS zone
|
7105
|
+
# specified by 'domain' is visible.
|
7106
|
+
# Corresponds to the JSON property `targetNetwork`
|
7107
|
+
# @return [String]
|
7108
|
+
attr_accessor :target_network
|
7109
|
+
|
7110
|
+
# Required. The project ID hosting the Cloud DNS managed zone that contains the '
|
7111
|
+
# domain'. The Vertex AI Service Agent requires the dns.peer role on this
|
7112
|
+
# project.
|
7113
|
+
# Corresponds to the JSON property `targetProject`
|
7114
|
+
# @return [String]
|
7115
|
+
attr_accessor :target_project
|
7116
|
+
|
7117
|
+
def initialize(**args)
|
7118
|
+
update!(**args)
|
7119
|
+
end
|
7120
|
+
|
7121
|
+
# Update properties of this object
|
7122
|
+
def update!(**args)
|
7123
|
+
@domain = args[:domain] if args.key?(:domain)
|
7124
|
+
@target_network = args[:target_network] if args.key?(:target_network)
|
7125
|
+
@target_project = args[:target_project] if args.key?(:target_project)
|
7126
|
+
end
|
7127
|
+
end
|
7128
|
+
|
6840
7129
|
# A list of double values.
|
6841
7130
|
class GoogleCloudAiplatformV1DoubleArray
|
6842
7131
|
include Google::Apis::Core::Hashable
|
@@ -11442,8 +11731,9 @@ module Google
|
|
11442
11731
|
|
11443
11732
|
# Optional. Display name of the file data. Used to provide a label or filename
|
11444
11733
|
# to distinguish file datas. This field is only returned in PromptMessage for
|
11445
|
-
# prompt management. It is
|
11446
|
-
#
|
11734
|
+
# prompt management. It is currently used in the Gemini GenerateContent calls
|
11735
|
+
# only when server side tools (code_execution, google_search, and url_context)
|
11736
|
+
# are enabled.
|
11447
11737
|
# Corresponds to the JSON property `displayName`
|
11448
11738
|
# @return [String]
|
11449
11739
|
attr_accessor :display_name
|
@@ -13136,7 +13426,9 @@ module Google
|
|
13136
13426
|
include Google::Apis::Core::Hashable
|
13137
13427
|
|
13138
13428
|
# Confidence score of the support references. Ranges from 0 to 1. 1 is the most
|
13139
|
-
# confident.
|
13429
|
+
# confident. For Gemini 2.0 and before, this list must have the same size as the
|
13430
|
+
# grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and
|
13431
|
+
# should be ignored.
|
13140
13432
|
# Corresponds to the JSON property `confidenceScores`
|
13141
13433
|
# @return [Array<Float>]
|
13142
13434
|
attr_accessor :confidence_scores
|
@@ -17482,6 +17774,16 @@ module Google
|
|
17482
17774
|
# @return [String]
|
17483
17775
|
attr_accessor :image_uri
|
17484
17776
|
|
17777
|
+
# Immutable. Invoke route prefix for the custom container. "/*" is the only
|
17778
|
+
# supported value right now. By setting this field, any non-root route on this
|
17779
|
+
# model will be accessible with [PredictionService.Invoke] eg: "/invoke/foo/bar".
|
17780
|
+
# Only one of `predict_route` or `invoke_route_prefix` can be set, and we
|
17781
|
+
# default to using `predict_route` if this field is not set. If this field is
|
17782
|
+
# set, the Model can only be deployed to dedicated endpoint.
|
17783
|
+
# Corresponds to the JSON property `invokeRoutePrefix`
|
17784
|
+
# @return [String]
|
17785
|
+
attr_accessor :invoke_route_prefix
|
17786
|
+
|
17485
17787
|
# Probe describes a health check to be performed against a container to
|
17486
17788
|
# determine whether it is alive or ready to receive traffic.
|
17487
17789
|
# Corresponds to the JSON property `livenessProbe`
|
@@ -17550,6 +17852,7 @@ module Google
|
|
17550
17852
|
@health_probe = args[:health_probe] if args.key?(:health_probe)
|
17551
17853
|
@health_route = args[:health_route] if args.key?(:health_route)
|
17552
17854
|
@image_uri = args[:image_uri] if args.key?(:image_uri)
|
17855
|
+
@invoke_route_prefix = args[:invoke_route_prefix] if args.key?(:invoke_route_prefix)
|
17553
17856
|
@liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
|
17554
17857
|
@ports = args[:ports] if args.key?(:ports)
|
17555
17858
|
@predict_route = args[:predict_route] if args.key?(:predict_route)
|
@@ -20627,14 +20930,17 @@ module Google
|
|
20627
20930
|
class GoogleCloudAiplatformV1PscAutomationConfig
|
20628
20931
|
include Google::Apis::Core::Hashable
|
20629
20932
|
|
20630
|
-
# Output only.
|
20631
|
-
#
|
20933
|
+
# Output only. Error message if the PSC service automation failed.
|
20934
|
+
# Corresponds to the JSON property `errorMessage`
|
20935
|
+
# @return [String]
|
20936
|
+
attr_accessor :error_message
|
20937
|
+
|
20938
|
+
# Output only. Forwarding rule created by the PSC service automation.
|
20632
20939
|
# Corresponds to the JSON property `forwardingRule`
|
20633
20940
|
# @return [String]
|
20634
20941
|
attr_accessor :forwarding_rule
|
20635
20942
|
|
20636
|
-
# Output only. IP address rule created by the PSC service automation.
|
20637
|
-
# Vector search, use IndexPrivateEndpoint instead.
|
20943
|
+
# Output only. IP address rule created by the PSC service automation.
|
20638
20944
|
# Corresponds to the JSON property `ipAddress`
|
20639
20945
|
# @return [String]
|
20640
20946
|
attr_accessor :ip_address
|
@@ -20653,16 +20959,23 @@ module Google
|
|
20653
20959
|
# @return [String]
|
20654
20960
|
attr_accessor :project_id
|
20655
20961
|
|
20962
|
+
# Output only. The state of the PSC service automation.
|
20963
|
+
# Corresponds to the JSON property `state`
|
20964
|
+
# @return [String]
|
20965
|
+
attr_accessor :state
|
20966
|
+
|
20656
20967
|
def initialize(**args)
|
20657
20968
|
update!(**args)
|
20658
20969
|
end
|
20659
20970
|
|
20660
20971
|
# Update properties of this object
|
20661
20972
|
def update!(**args)
|
20973
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
20662
20974
|
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
20663
20975
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
20664
20976
|
@network = args[:network] if args.key?(:network)
|
20665
20977
|
@project_id = args[:project_id] if args.key?(:project_id)
|
20978
|
+
@state = args[:state] if args.key?(:state)
|
20666
20979
|
end
|
20667
20980
|
end
|
20668
20981
|
|
@@ -22682,6 +22995,14 @@ module Google
|
|
22682
22995
|
class GoogleCloudAiplatformV1PscInterfaceConfig
|
22683
22996
|
include Google::Apis::Core::Hashable
|
22684
22997
|
|
22998
|
+
# Optional. DNS peering configurations. When specified, Vertex AI will attempt
|
22999
|
+
# to configure DNS peering zones in the tenant project VPC to resolve the
|
23000
|
+
# specified domains using the target network's Cloud DNS. The user must grant
|
23001
|
+
# the dns.peer role to the Vertex AI Service Agent on the target project.
|
23002
|
+
# Corresponds to the JSON property `dnsPeeringConfigs`
|
23003
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DnsPeeringConfig>]
|
23004
|
+
attr_accessor :dns_peering_configs
|
23005
|
+
|
22685
23006
|
# Optional. The name of the Compute Engine [network attachment](https://cloud.
|
22686
23007
|
# google.com/vpc/docs/about-network-attachments) to attach to the resource
|
22687
23008
|
# within the region and user project. To specify this field, you must have
|
@@ -22698,6 +23019,7 @@ module Google
|
|
22698
23019
|
|
22699
23020
|
# Update properties of this object
|
22700
23021
|
def update!(**args)
|
23022
|
+
@dns_peering_configs = args[:dns_peering_configs] if args.key?(:dns_peering_configs)
|
22701
23023
|
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
22702
23024
|
end
|
22703
23025
|
end
|
@@ -23095,6 +23417,12 @@ module Google
|
|
23095
23417
|
# @return [String]
|
23096
23418
|
attr_accessor :resource_use_case
|
23097
23419
|
|
23420
|
+
# Optional. For notebook resource, whether the notebook supports Workbench.
|
23421
|
+
# Corresponds to the JSON property `supportsWorkbench`
|
23422
|
+
# @return [Boolean]
|
23423
|
+
attr_accessor :supports_workbench
|
23424
|
+
alias_method :supports_workbench?, :supports_workbench
|
23425
|
+
|
23098
23426
|
# Required.
|
23099
23427
|
# Corresponds to the JSON property `title`
|
23100
23428
|
# @return [String]
|
@@ -23110,6 +23438,7 @@ module Google
|
|
23110
23438
|
@resource_description = args[:resource_description] if args.key?(:resource_description)
|
23111
23439
|
@resource_title = args[:resource_title] if args.key?(:resource_title)
|
23112
23440
|
@resource_use_case = args[:resource_use_case] if args.key?(:resource_use_case)
|
23441
|
+
@supports_workbench = args[:supports_workbench] if args.key?(:supports_workbench)
|
23113
23442
|
@title = args[:title] if args.key?(:title)
|
23114
23443
|
end
|
23115
23444
|
end
|
@@ -24196,6 +24525,12 @@ module Google
|
|
24196
24525
|
# @return [String]
|
24197
24526
|
attr_accessor :display_name
|
24198
24527
|
|
24528
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
24529
|
+
# level resource.
|
24530
|
+
# Corresponds to the JSON property `encryptionSpec`
|
24531
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
24532
|
+
attr_accessor :encryption_spec
|
24533
|
+
|
24199
24534
|
# Output only. The resource name of the RagCorpus.
|
24200
24535
|
# Corresponds to the JSON property `name`
|
24201
24536
|
# @return [String]
|
@@ -24226,6 +24561,7 @@ module Google
|
|
24226
24561
|
@create_time = args[:create_time] if args.key?(:create_time)
|
24227
24562
|
@description = args[:description] if args.key?(:description)
|
24228
24563
|
@display_name = args[:display_name] if args.key?(:display_name)
|
24564
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
24229
24565
|
@name = args[:name] if args.key?(:name)
|
24230
24566
|
@update_time = args[:update_time] if args.key?(:update_time)
|
24231
24567
|
@vector_db_config = args[:vector_db_config] if args.key?(:vector_db_config)
|
@@ -24288,6 +24624,32 @@ module Google
|
|
24288
24624
|
end
|
24289
24625
|
end
|
24290
24626
|
|
24627
|
+
# Config for RagEngine.
|
24628
|
+
class GoogleCloudAiplatformV1RagEngineConfig
|
24629
|
+
include Google::Apis::Core::Hashable
|
24630
|
+
|
24631
|
+
# Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
|
24632
|
+
# locations/`location`/ragEngineConfig`
|
24633
|
+
# Corresponds to the JSON property `name`
|
24634
|
+
# @return [String]
|
24635
|
+
attr_accessor :name
|
24636
|
+
|
24637
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
24638
|
+
# Corresponds to the JSON property `ragManagedDbConfig`
|
24639
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig]
|
24640
|
+
attr_accessor :rag_managed_db_config
|
24641
|
+
|
24642
|
+
def initialize(**args)
|
24643
|
+
update!(**args)
|
24644
|
+
end
|
24645
|
+
|
24646
|
+
# Update properties of this object
|
24647
|
+
def update!(**args)
|
24648
|
+
@name = args[:name] if args.key?(:name)
|
24649
|
+
@rag_managed_db_config = args[:rag_managed_db_config] if args.key?(:rag_managed_db_config)
|
24650
|
+
end
|
24651
|
+
end
|
24652
|
+
|
24291
24653
|
# A RagFile contains user data for chunking, embedding and indexing.
|
24292
24654
|
class GoogleCloudAiplatformV1RagFile
|
24293
24655
|
include Google::Apis::Core::Hashable
|
@@ -24353,6 +24715,12 @@ module Google
|
|
24353
24715
|
# @return [String]
|
24354
24716
|
attr_accessor :update_time
|
24355
24717
|
|
24718
|
+
# Output only. The metadata for metadata search. The user_metadata Needs to be
|
24719
|
+
# in JSON format.
|
24720
|
+
# Corresponds to the JSON property `userMetadata`
|
24721
|
+
# @return [String]
|
24722
|
+
attr_accessor :user_metadata
|
24723
|
+
|
24356
24724
|
def initialize(**args)
|
24357
24725
|
update!(**args)
|
24358
24726
|
end
|
@@ -24371,6 +24739,7 @@ module Google
|
|
24371
24739
|
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
|
24372
24740
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
24373
24741
|
@update_time = args[:update_time] if args.key?(:update_time)
|
24742
|
+
@user_metadata = args[:user_metadata] if args.key?(:user_metadata)
|
24374
24743
|
end
|
24375
24744
|
end
|
24376
24745
|
|
@@ -24530,6 +24899,92 @@ module Google
|
|
24530
24899
|
end
|
24531
24900
|
end
|
24532
24901
|
|
24902
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
24903
|
+
class GoogleCloudAiplatformV1RagManagedDbConfig
|
24904
|
+
include Google::Apis::Core::Hashable
|
24905
|
+
|
24906
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
24907
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
24908
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
24909
|
+
# This is the default tier if not explicitly chosen.
|
24910
|
+
# Corresponds to the JSON property `basic`
|
24911
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic]
|
24912
|
+
attr_accessor :basic
|
24913
|
+
|
24914
|
+
# Scaled tier offers production grade performance along with autoscaling
|
24915
|
+
# functionality. It is suitable for customers with large amounts of data or
|
24916
|
+
# performance sensitive workloads.
|
24917
|
+
# Corresponds to the JSON property `scaled`
|
24918
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled]
|
24919
|
+
attr_accessor :scaled
|
24920
|
+
|
24921
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
24922
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
24923
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
24924
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
24925
|
+
# Corresponds to the JSON property `unprovisioned`
|
24926
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned]
|
24927
|
+
attr_accessor :unprovisioned
|
24928
|
+
|
24929
|
+
def initialize(**args)
|
24930
|
+
update!(**args)
|
24931
|
+
end
|
24932
|
+
|
24933
|
+
# Update properties of this object
|
24934
|
+
def update!(**args)
|
24935
|
+
@basic = args[:basic] if args.key?(:basic)
|
24936
|
+
@scaled = args[:scaled] if args.key?(:scaled)
|
24937
|
+
@unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
|
24938
|
+
end
|
24939
|
+
end
|
24940
|
+
|
24941
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
24942
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
24943
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
24944
|
+
# This is the default tier if not explicitly chosen.
|
24945
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigBasic
|
24946
|
+
include Google::Apis::Core::Hashable
|
24947
|
+
|
24948
|
+
def initialize(**args)
|
24949
|
+
update!(**args)
|
24950
|
+
end
|
24951
|
+
|
24952
|
+
# Update properties of this object
|
24953
|
+
def update!(**args)
|
24954
|
+
end
|
24955
|
+
end
|
24956
|
+
|
24957
|
+
# Scaled tier offers production grade performance along with autoscaling
|
24958
|
+
# functionality. It is suitable for customers with large amounts of data or
|
24959
|
+
# performance sensitive workloads.
|
24960
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigScaled
|
24961
|
+
include Google::Apis::Core::Hashable
|
24962
|
+
|
24963
|
+
def initialize(**args)
|
24964
|
+
update!(**args)
|
24965
|
+
end
|
24966
|
+
|
24967
|
+
# Update properties of this object
|
24968
|
+
def update!(**args)
|
24969
|
+
end
|
24970
|
+
end
|
24971
|
+
|
24972
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
24973
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
24974
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
24975
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
24976
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
|
24977
|
+
include Google::Apis::Core::Hashable
|
24978
|
+
|
24979
|
+
def initialize(**args)
|
24980
|
+
update!(**args)
|
24981
|
+
end
|
24982
|
+
|
24983
|
+
# Update properties of this object
|
24984
|
+
def update!(**args)
|
24985
|
+
end
|
24986
|
+
end
|
24987
|
+
|
24533
24988
|
# A query to retrieve relevant contexts.
|
24534
24989
|
class GoogleCloudAiplatformV1RagQuery
|
24535
24990
|
include Google::Apis::Core::Hashable
|
@@ -26358,6 +26813,13 @@ module Google
|
|
26358
26813
|
# @return [String]
|
26359
26814
|
attr_accessor :category
|
26360
26815
|
|
26816
|
+
# Output only. The overwritten threshold for the safety category of Gemini 2.0
|
26817
|
+
# image out. If minors are detected in the output image, the threshold of each
|
26818
|
+
# safety category will be overwritten if user sets a lower threshold.
|
26819
|
+
# Corresponds to the JSON property `overwrittenThreshold`
|
26820
|
+
# @return [String]
|
26821
|
+
attr_accessor :overwritten_threshold
|
26822
|
+
|
26361
26823
|
# Output only. Harm probability levels in the content.
|
26362
26824
|
# Corresponds to the JSON property `probability`
|
26363
26825
|
# @return [String]
|
@@ -26386,6 +26848,7 @@ module Google
|
|
26386
26848
|
def update!(**args)
|
26387
26849
|
@blocked = args[:blocked] if args.key?(:blocked)
|
26388
26850
|
@category = args[:category] if args.key?(:category)
|
26851
|
+
@overwritten_threshold = args[:overwritten_threshold] if args.key?(:overwritten_threshold)
|
26389
26852
|
@probability = args[:probability] if args.key?(:probability)
|
26390
26853
|
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
26391
26854
|
@severity = args[:severity] if args.key?(:severity)
|
@@ -36070,7 +36533,8 @@ module Google
|
|
36070
36533
|
# @return [Fixnum]
|
36071
36534
|
attr_accessor :epoch_count
|
36072
36535
|
|
36073
|
-
# Optional. Multiplier for adjusting the default learning rate.
|
36536
|
+
# Optional. Multiplier for adjusting the default learning rate. Mutually
|
36537
|
+
# exclusive with `learning_rate`.
|
36074
36538
|
# Corresponds to the JSON property `learningRateMultiplier`
|
36075
36539
|
# @return [Float]
|
36076
36540
|
attr_accessor :learning_rate_multiplier
|
@@ -39619,6 +40083,50 @@ module Google
|
|
39619
40083
|
end
|
39620
40084
|
end
|
39621
40085
|
|
40086
|
+
# Metadata related to url context retrieval tool.
|
40087
|
+
class GoogleCloudAiplatformV1UrlContextMetadata
|
40088
|
+
include Google::Apis::Core::Hashable
|
40089
|
+
|
40090
|
+
# Output only. List of url context.
|
40091
|
+
# Corresponds to the JSON property `urlMetadata`
|
40092
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UrlMetadata>]
|
40093
|
+
attr_accessor :url_metadata
|
40094
|
+
|
40095
|
+
def initialize(**args)
|
40096
|
+
update!(**args)
|
40097
|
+
end
|
40098
|
+
|
40099
|
+
# Update properties of this object
|
40100
|
+
def update!(**args)
|
40101
|
+
@url_metadata = args[:url_metadata] if args.key?(:url_metadata)
|
40102
|
+
end
|
40103
|
+
end
|
40104
|
+
|
40105
|
+
# Context of the a single url retrieval.
|
40106
|
+
class GoogleCloudAiplatformV1UrlMetadata
|
40107
|
+
include Google::Apis::Core::Hashable
|
40108
|
+
|
40109
|
+
# Retrieved url by the tool.
|
40110
|
+
# Corresponds to the JSON property `retrievedUrl`
|
40111
|
+
# @return [String]
|
40112
|
+
attr_accessor :retrieved_url
|
40113
|
+
|
40114
|
+
# Status of the url retrieval.
|
40115
|
+
# Corresponds to the JSON property `urlRetrievalStatus`
|
40116
|
+
# @return [String]
|
40117
|
+
attr_accessor :url_retrieval_status
|
40118
|
+
|
40119
|
+
def initialize(**args)
|
40120
|
+
update!(**args)
|
40121
|
+
end
|
40122
|
+
|
40123
|
+
# Update properties of this object
|
40124
|
+
def update!(**args)
|
40125
|
+
@retrieved_url = args[:retrieved_url] if args.key?(:retrieved_url)
|
40126
|
+
@url_retrieval_status = args[:url_retrieval_status] if args.key?(:url_retrieval_status)
|
40127
|
+
end
|
40128
|
+
end
|
40129
|
+
|
39622
40130
|
# References an API call. It contains more information about long running
|
39623
40131
|
# operation and Jobs that are triggered by the API call.
|
39624
40132
|
class GoogleCloudAiplatformV1UserActionReference
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.58.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 = "20250613"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1126,6 +1126,42 @@ module Google
|
|
1126
1126
|
include Google::Apis::Core::JsonObjectSupport
|
1127
1127
|
end
|
1128
1128
|
|
1129
|
+
class GoogleCloudAiplatformV1DeployOperationMetadata
|
1130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
|
+
|
1132
|
+
include Google::Apis::Core::JsonObjectSupport
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
class GoogleCloudAiplatformV1DeployRequest
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1137
|
+
|
1138
|
+
include Google::Apis::Core::JsonObjectSupport
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
class GoogleCloudAiplatformV1DeployRequestDeployConfig
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
|
+
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
class GoogleCloudAiplatformV1DeployRequestEndpointConfig
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1149
|
+
|
1150
|
+
include Google::Apis::Core::JsonObjectSupport
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
class GoogleCloudAiplatformV1DeployRequestModelConfig
|
1154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1155
|
+
|
1156
|
+
include Google::Apis::Core::JsonObjectSupport
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
class GoogleCloudAiplatformV1DeployResponse
|
1160
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1161
|
+
|
1162
|
+
include Google::Apis::Core::JsonObjectSupport
|
1163
|
+
end
|
1164
|
+
|
1129
1165
|
class GoogleCloudAiplatformV1DeployedIndex
|
1130
1166
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
1167
|
|
@@ -1216,6 +1252,12 @@ module Google
|
|
1216
1252
|
include Google::Apis::Core::JsonObjectSupport
|
1217
1253
|
end
|
1218
1254
|
|
1255
|
+
class GoogleCloudAiplatformV1DnsPeeringConfig
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
|
+
|
1258
|
+
include Google::Apis::Core::JsonObjectSupport
|
1259
|
+
end
|
1260
|
+
|
1219
1261
|
class GoogleCloudAiplatformV1DoubleArray
|
1220
1262
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
1263
|
|
@@ -3916,6 +3958,12 @@ module Google
|
|
3916
3958
|
include Google::Apis::Core::JsonObjectSupport
|
3917
3959
|
end
|
3918
3960
|
|
3961
|
+
class GoogleCloudAiplatformV1RagEngineConfig
|
3962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3963
|
+
|
3964
|
+
include Google::Apis::Core::JsonObjectSupport
|
3965
|
+
end
|
3966
|
+
|
3919
3967
|
class GoogleCloudAiplatformV1RagFile
|
3920
3968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3921
3969
|
|
@@ -3958,6 +4006,30 @@ module Google
|
|
3958
4006
|
include Google::Apis::Core::JsonObjectSupport
|
3959
4007
|
end
|
3960
4008
|
|
4009
|
+
class GoogleCloudAiplatformV1RagManagedDbConfig
|
4010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4011
|
+
|
4012
|
+
include Google::Apis::Core::JsonObjectSupport
|
4013
|
+
end
|
4014
|
+
|
4015
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigBasic
|
4016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4017
|
+
|
4018
|
+
include Google::Apis::Core::JsonObjectSupport
|
4019
|
+
end
|
4020
|
+
|
4021
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigScaled
|
4022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4023
|
+
|
4024
|
+
include Google::Apis::Core::JsonObjectSupport
|
4025
|
+
end
|
4026
|
+
|
4027
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
|
4028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4029
|
+
|
4030
|
+
include Google::Apis::Core::JsonObjectSupport
|
4031
|
+
end
|
4032
|
+
|
3961
4033
|
class GoogleCloudAiplatformV1RagQuery
|
3962
4034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3963
4035
|
|
@@ -6694,6 +6766,18 @@ module Google
|
|
6694
6766
|
include Google::Apis::Core::JsonObjectSupport
|
6695
6767
|
end
|
6696
6768
|
|
6769
|
+
class GoogleCloudAiplatformV1UrlContextMetadata
|
6770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6771
|
+
|
6772
|
+
include Google::Apis::Core::JsonObjectSupport
|
6773
|
+
end
|
6774
|
+
|
6775
|
+
class GoogleCloudAiplatformV1UrlMetadata
|
6776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6777
|
+
|
6778
|
+
include Google::Apis::Core::JsonObjectSupport
|
6779
|
+
end
|
6780
|
+
|
6697
6781
|
class GoogleCloudAiplatformV1UserActionReference
|
6698
6782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6699
6783
|
|
@@ -7810,6 +7894,8 @@ module Google
|
|
7810
7894
|
|
7811
7895
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating::Representation
|
7812
7896
|
|
7897
|
+
property :url_context_metadata, as: 'urlContextMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UrlContextMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UrlContextMetadata::Representation
|
7898
|
+
|
7813
7899
|
end
|
7814
7900
|
end
|
7815
7901
|
|
@@ -8685,6 +8771,71 @@ module Google
|
|
8685
8771
|
end
|
8686
8772
|
end
|
8687
8773
|
|
8774
|
+
class GoogleCloudAiplatformV1DeployOperationMetadata
|
8775
|
+
# @private
|
8776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8777
|
+
property :destination, as: 'destination'
|
8778
|
+
property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata::Representation
|
8779
|
+
|
8780
|
+
property :model_id, as: 'modelId'
|
8781
|
+
property :project_number, :numeric_string => true, as: 'projectNumber'
|
8782
|
+
property :publisher_model, as: 'publisherModel'
|
8783
|
+
end
|
8784
|
+
end
|
8785
|
+
|
8786
|
+
class GoogleCloudAiplatformV1DeployRequest
|
8787
|
+
# @private
|
8788
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8789
|
+
property :deploy_config, as: 'deployConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestDeployConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestDeployConfig::Representation
|
8790
|
+
|
8791
|
+
property :endpoint_config, as: 'endpointConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestEndpointConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestEndpointConfig::Representation
|
8792
|
+
|
8793
|
+
property :hugging_face_model_id, as: 'huggingFaceModelId'
|
8794
|
+
property :model_config, as: 'modelConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestModelConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequestModelConfig::Representation
|
8795
|
+
|
8796
|
+
property :publisher_model_name, as: 'publisherModelName'
|
8797
|
+
end
|
8798
|
+
end
|
8799
|
+
|
8800
|
+
class GoogleCloudAiplatformV1DeployRequestDeployConfig
|
8801
|
+
# @private
|
8802
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8803
|
+
property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources::Representation
|
8804
|
+
|
8805
|
+
property :fast_tryout_enabled, as: 'fastTryoutEnabled'
|
8806
|
+
hash :system_labels, as: 'systemLabels'
|
8807
|
+
end
|
8808
|
+
end
|
8809
|
+
|
8810
|
+
class GoogleCloudAiplatformV1DeployRequestEndpointConfig
|
8811
|
+
# @private
|
8812
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8813
|
+
property :dedicated_endpoint_enabled, as: 'dedicatedEndpointEnabled'
|
8814
|
+
property :endpoint_display_name, as: 'endpointDisplayName'
|
8815
|
+
end
|
8816
|
+
end
|
8817
|
+
|
8818
|
+
class GoogleCloudAiplatformV1DeployRequestModelConfig
|
8819
|
+
# @private
|
8820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8821
|
+
property :accept_eula, as: 'acceptEula'
|
8822
|
+
property :container_spec, as: 'containerSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelContainerSpec::Representation
|
8823
|
+
|
8824
|
+
property :hugging_face_access_token, as: 'huggingFaceAccessToken'
|
8825
|
+
property :hugging_face_cache_enabled, as: 'huggingFaceCacheEnabled'
|
8826
|
+
property :model_display_name, as: 'modelDisplayName'
|
8827
|
+
end
|
8828
|
+
end
|
8829
|
+
|
8830
|
+
class GoogleCloudAiplatformV1DeployResponse
|
8831
|
+
# @private
|
8832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8833
|
+
property :endpoint, as: 'endpoint'
|
8834
|
+
property :model, as: 'model'
|
8835
|
+
property :publisher_model, as: 'publisherModel'
|
8836
|
+
end
|
8837
|
+
end
|
8838
|
+
|
8688
8839
|
class GoogleCloudAiplatformV1DeployedIndex
|
8689
8840
|
# @private
|
8690
8841
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8857,6 +9008,15 @@ module Google
|
|
8857
9008
|
end
|
8858
9009
|
end
|
8859
9010
|
|
9011
|
+
class GoogleCloudAiplatformV1DnsPeeringConfig
|
9012
|
+
# @private
|
9013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9014
|
+
property :domain, as: 'domain'
|
9015
|
+
property :target_network, as: 'targetNetwork'
|
9016
|
+
property :target_project, as: 'targetProject'
|
9017
|
+
end
|
9018
|
+
end
|
9019
|
+
|
8860
9020
|
class GoogleCloudAiplatformV1DoubleArray
|
8861
9021
|
# @private
|
8862
9022
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11850,6 +12010,7 @@ module Google
|
|
11850
12010
|
|
11851
12011
|
property :health_route, as: 'healthRoute'
|
11852
12012
|
property :image_uri, as: 'imageUri'
|
12013
|
+
property :invoke_route_prefix, as: 'invokeRoutePrefix'
|
11853
12014
|
property :liveness_probe, as: 'livenessProbe', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe::Representation
|
11854
12015
|
|
11855
12016
|
collection :ports, as: 'ports', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port::Representation
|
@@ -12697,10 +12858,12 @@ module Google
|
|
12697
12858
|
class GoogleCloudAiplatformV1PscAutomationConfig
|
12698
12859
|
# @private
|
12699
12860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12861
|
+
property :error_message, as: 'errorMessage'
|
12700
12862
|
property :forwarding_rule, as: 'forwardingRule'
|
12701
12863
|
property :ip_address, as: 'ipAddress'
|
12702
12864
|
property :network, as: 'network'
|
12703
12865
|
property :project_id, as: 'projectId'
|
12866
|
+
property :state, as: 'state'
|
12704
12867
|
end
|
12705
12868
|
end
|
12706
12869
|
|
@@ -13253,6 +13416,8 @@ module Google
|
|
13253
13416
|
class GoogleCloudAiplatformV1PscInterfaceConfig
|
13254
13417
|
# @private
|
13255
13418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13419
|
+
collection :dns_peering_configs, as: 'dnsPeeringConfigs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DnsPeeringConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DnsPeeringConfig::Representation
|
13420
|
+
|
13256
13421
|
property :network_attachment, as: 'networkAttachment'
|
13257
13422
|
end
|
13258
13423
|
end
|
@@ -13377,6 +13542,7 @@ module Google
|
|
13377
13542
|
property :resource_description, as: 'resourceDescription'
|
13378
13543
|
property :resource_title, as: 'resourceTitle'
|
13379
13544
|
property :resource_use_case, as: 'resourceUseCase'
|
13545
|
+
property :supports_workbench, as: 'supportsWorkbench'
|
13380
13546
|
property :title, as: 'title'
|
13381
13547
|
end
|
13382
13548
|
end
|
@@ -13713,6 +13879,8 @@ module Google
|
|
13713
13879
|
property :create_time, as: 'createTime'
|
13714
13880
|
property :description, as: 'description'
|
13715
13881
|
property :display_name, as: 'displayName'
|
13882
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
13883
|
+
|
13716
13884
|
property :name, as: 'name'
|
13717
13885
|
property :update_time, as: 'updateTime'
|
13718
13886
|
property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
|
@@ -13739,6 +13907,15 @@ module Google
|
|
13739
13907
|
end
|
13740
13908
|
end
|
13741
13909
|
|
13910
|
+
class GoogleCloudAiplatformV1RagEngineConfig
|
13911
|
+
# @private
|
13912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13913
|
+
property :name, as: 'name'
|
13914
|
+
property :rag_managed_db_config, as: 'ragManagedDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig::Representation
|
13915
|
+
|
13916
|
+
end
|
13917
|
+
end
|
13918
|
+
|
13742
13919
|
class GoogleCloudAiplatformV1RagFile
|
13743
13920
|
# @private
|
13744
13921
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13761,6 +13938,7 @@ module Google
|
|
13761
13938
|
property :slack_source, as: 'slackSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource::Representation
|
13762
13939
|
|
13763
13940
|
property :update_time, as: 'updateTime'
|
13941
|
+
property :user_metadata, as: 'userMetadata'
|
13764
13942
|
end
|
13765
13943
|
end
|
13766
13944
|
|
@@ -13815,6 +13993,36 @@ module Google
|
|
13815
13993
|
end
|
13816
13994
|
end
|
13817
13995
|
|
13996
|
+
class GoogleCloudAiplatformV1RagManagedDbConfig
|
13997
|
+
# @private
|
13998
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13999
|
+
property :basic, as: 'basic', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic::Representation
|
14000
|
+
|
14001
|
+
property :scaled, as: 'scaled', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled::Representation
|
14002
|
+
|
14003
|
+
property :unprovisioned, as: 'unprovisioned', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned::Representation
|
14004
|
+
|
14005
|
+
end
|
14006
|
+
end
|
14007
|
+
|
14008
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigBasic
|
14009
|
+
# @private
|
14010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14011
|
+
end
|
14012
|
+
end
|
14013
|
+
|
14014
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigScaled
|
14015
|
+
# @private
|
14016
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14017
|
+
end
|
14018
|
+
end
|
14019
|
+
|
14020
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
|
14021
|
+
# @private
|
14022
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14023
|
+
end
|
14024
|
+
end
|
14025
|
+
|
13818
14026
|
class GoogleCloudAiplatformV1RagQuery
|
13819
14027
|
# @private
|
13820
14028
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14427,6 +14635,7 @@ module Google
|
|
14427
14635
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14428
14636
|
property :blocked, as: 'blocked'
|
14429
14637
|
property :category, as: 'category'
|
14638
|
+
property :overwritten_threshold, as: 'overwrittenThreshold'
|
14430
14639
|
property :probability, as: 'probability'
|
14431
14640
|
property :probability_score, as: 'probabilityScore'
|
14432
14641
|
property :severity, as: 'severity'
|
@@ -18182,6 +18391,22 @@ module Google
|
|
18182
18391
|
end
|
18183
18392
|
end
|
18184
18393
|
|
18394
|
+
class GoogleCloudAiplatformV1UrlContextMetadata
|
18395
|
+
# @private
|
18396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
18397
|
+
collection :url_metadata, as: 'urlMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UrlMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UrlMetadata::Representation
|
18398
|
+
|
18399
|
+
end
|
18400
|
+
end
|
18401
|
+
|
18402
|
+
class GoogleCloudAiplatformV1UrlMetadata
|
18403
|
+
# @private
|
18404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
18405
|
+
property :retrieved_url, as: 'retrievedUrl'
|
18406
|
+
property :url_retrieval_status, as: 'urlRetrievalStatus'
|
18407
|
+
end
|
18408
|
+
end
|
18409
|
+
|
18185
18410
|
class GoogleCloudAiplatformV1UserActionReference
|
18186
18411
|
# @private
|
18187
18412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1040,6 +1040,40 @@ module Google
|
|
1040
1040
|
execute_or_queue_command(command, &block)
|
1041
1041
|
end
|
1042
1042
|
|
1043
|
+
# Deploys a model to a new endpoint.
|
1044
|
+
# @param [String] destination
|
1045
|
+
# Required. The resource name of the Location to deploy the model in. Format: `
|
1046
|
+
# projects/`project`/locations/`location``
|
1047
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequest] google_cloud_aiplatform_v1_deploy_request_object
|
1048
|
+
# @param [String] fields
|
1049
|
+
# Selector specifying which fields to include in a partial response.
|
1050
|
+
# @param [String] quota_user
|
1051
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1052
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1053
|
+
# @param [Google::Apis::RequestOptions] options
|
1054
|
+
# Request-specific options
|
1055
|
+
#
|
1056
|
+
# @yield [result, err] Result & error if block supplied
|
1057
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
1058
|
+
# @yieldparam err [StandardError] error object if request failed
|
1059
|
+
#
|
1060
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
1061
|
+
#
|
1062
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1063
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1064
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1065
|
+
def deploy_project_location(destination, google_cloud_aiplatform_v1_deploy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1066
|
+
command = make_simple_command(:post, 'v1/{+destination}:deploy', options)
|
1067
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployRequest::Representation
|
1068
|
+
command.request_object = google_cloud_aiplatform_v1_deploy_request_object
|
1069
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
1070
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
1071
|
+
command.params['destination'] = destination unless destination.nil?
|
1072
|
+
command.query['fields'] = fields unless fields.nil?
|
1073
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1074
|
+
execute_or_queue_command(command, &block)
|
1075
|
+
end
|
1076
|
+
|
1043
1077
|
# Evaluates a dataset based on a set of given metrics.
|
1044
1078
|
# @param [String] location
|
1045
1079
|
# Required. The resource name of the Location to evaluate the dataset. Format: `
|
@@ -1138,6 +1172,37 @@ module Google
|
|
1138
1172
|
execute_or_queue_command(command, &block)
|
1139
1173
|
end
|
1140
1174
|
|
1175
|
+
# Gets a RagEngineConfig.
|
1176
|
+
# @param [String] name
|
1177
|
+
# Required. The name of the RagEngineConfig resource. Format: `projects/`project`
|
1178
|
+
# /locations/`location`/ragEngineConfig`
|
1179
|
+
# @param [String] fields
|
1180
|
+
# Selector specifying which fields to include in a partial response.
|
1181
|
+
# @param [String] quota_user
|
1182
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1183
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1184
|
+
# @param [Google::Apis::RequestOptions] options
|
1185
|
+
# Request-specific options
|
1186
|
+
#
|
1187
|
+
# @yield [result, err] Result & error if block supplied
|
1188
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig] parsed result object
|
1189
|
+
# @yieldparam err [StandardError] error object if request failed
|
1190
|
+
#
|
1191
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig]
|
1192
|
+
#
|
1193
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1194
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1195
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1196
|
+
def get_project_location_rag_engine_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1197
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1198
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig::Representation
|
1199
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig
|
1200
|
+
command.params['name'] = name unless name.nil?
|
1201
|
+
command.query['fields'] = fields unless fields.nil?
|
1202
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1203
|
+
execute_or_queue_command(command, &block)
|
1204
|
+
end
|
1205
|
+
|
1141
1206
|
# Lists information about the supported locations for this service.
|
1142
1207
|
# @param [String] name
|
1143
1208
|
# The resource that owns the locations collection, if applicable.
|
@@ -1220,6 +1285,40 @@ module Google
|
|
1220
1285
|
execute_or_queue_command(command, &block)
|
1221
1286
|
end
|
1222
1287
|
|
1288
|
+
# Updates a RagEngineConfig.
|
1289
|
+
# @param [String] name
|
1290
|
+
# Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
|
1291
|
+
# locations/`location`/ragEngineConfig`
|
1292
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig] google_cloud_aiplatform_v1_rag_engine_config_object
|
1293
|
+
# @param [String] fields
|
1294
|
+
# Selector specifying which fields to include in a partial response.
|
1295
|
+
# @param [String] quota_user
|
1296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1298
|
+
# @param [Google::Apis::RequestOptions] options
|
1299
|
+
# Request-specific options
|
1300
|
+
#
|
1301
|
+
# @yield [result, err] Result & error if block supplied
|
1302
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
1303
|
+
# @yieldparam err [StandardError] error object if request failed
|
1304
|
+
#
|
1305
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
1306
|
+
#
|
1307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1310
|
+
def update_project_location_rag_engine_config(name, google_cloud_aiplatform_v1_rag_engine_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1311
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1312
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig::Representation
|
1313
|
+
command.request_object = google_cloud_aiplatform_v1_rag_engine_config_object
|
1314
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
1315
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
1316
|
+
command.params['name'] = name unless name.nil?
|
1317
|
+
command.query['fields'] = fields unless fields.nil?
|
1318
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1319
|
+
execute_or_queue_command(command, &block)
|
1320
|
+
end
|
1321
|
+
|
1223
1322
|
# Cancels a BatchPredictionJob. Starts asynchronous cancellation on the
|
1224
1323
|
# BatchPredictionJob. The server makes the best effort to cancel the job, but
|
1225
1324
|
# success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.58.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.58.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|