google-apis-aiplatform_v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8aefa30bfa2a1ef0c355cb5b69b37048f8012dbc2cfd4a310f6b176adeaf8a2e
4
- data.tar.gz: cdd3bc9aade415d3d4c6f9623f78a146b6da31153ea6ca00ed3bba5a51b732a6
3
+ metadata.gz: b7adf0cfbfd0a5b588ebd1c0b687f2d9d2d9bafa5b25ad1056ae54f9359d93d2
4
+ data.tar.gz: 8b1e9e28516b30efd9ee4b9e682aa3d65321edf6a612d6774d5373e4a5b136f9
5
5
  SHA512:
6
- metadata.gz: '08653744394273533ad7ba6aadda8bee91e54c40ba4e65e4394e4aba7a4637604bfbf781b9a5b0d3f627dd1bbd6cd916a9b1593f63e5661c364b4d1a5533ac54'
7
- data.tar.gz: 8172a808c260600fed194aaf18782505ba7d8c53949cb2e8246abce0ce445e9c1883078a16fd9daf214bb64d2b1ab1695f64b0654eebb945a4b41f2e63dc71c5
6
+ metadata.gz: 7d446dfa65d8a4e9ab16e47491b91e7c388dd551ca0b378f1b1826c6eb24be0682c3761f0d986c32e92aa7a418aa4a9c975b937e7dbb9ece72f240d94325175e
7
+ data.tar.gz: cac95b22a53e5f881a21538c2ad332c7b17ddf14d520ca32385ee1d7a0ecd47f585e0b02629a69e9b1af735578603401d143f38742dc7caaa658d9aba9db941a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.7.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231111
6
+
3
7
  ### v0.6.0 (2023-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20231107
@@ -2319,6 +2319,54 @@ module Google
2319
2319
  end
2320
2320
  end
2321
2321
 
2322
+ # Runtime operation information for CreateDeploymentResourcePool method.
2323
+ class GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata
2324
+ include Google::Apis::Core::Hashable
2325
+
2326
+ # Generic Metadata shared by all operations.
2327
+ # Corresponds to the JSON property `genericMetadata`
2328
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
2329
+ attr_accessor :generic_metadata
2330
+
2331
+ def initialize(**args)
2332
+ update!(**args)
2333
+ end
2334
+
2335
+ # Update properties of this object
2336
+ def update!(**args)
2337
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
2338
+ end
2339
+ end
2340
+
2341
+ # Request message for CreateDeploymentResourcePool method.
2342
+ class GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest
2343
+ include Google::Apis::Core::Hashable
2344
+
2345
+ # A description of resources that can be shared by multiple DeployedModels,
2346
+ # whose underlying specification consists of a DedicatedResources.
2347
+ # Corresponds to the JSON property `deploymentResourcePool`
2348
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool]
2349
+ attr_accessor :deployment_resource_pool
2350
+
2351
+ # Required. The ID to use for the DeploymentResourcePool, which will become the
2352
+ # final component of the DeploymentResourcePool's resource name. The maximum
2353
+ # length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]`0,61`[a-
2354
+ # z0-9])?$/`.
2355
+ # Corresponds to the JSON property `deploymentResourcePoolId`
2356
+ # @return [String]
2357
+ attr_accessor :deployment_resource_pool_id
2358
+
2359
+ def initialize(**args)
2360
+ update!(**args)
2361
+ end
2362
+
2363
+ # Update properties of this object
2364
+ def update!(**args)
2365
+ @deployment_resource_pool = args[:deployment_resource_pool] if args.key?(:deployment_resource_pool)
2366
+ @deployment_resource_pool_id = args[:deployment_resource_pool_id] if args.key?(:deployment_resource_pool_id)
2367
+ end
2368
+ end
2369
+
2322
2370
  # Runtime operation information for EndpointService.CreateEndpoint.
2323
2371
  class GoogleCloudAiplatformV1CreateEndpointOperationMetadata
2324
2372
  include Google::Apis::Core::Hashable
@@ -4182,6 +4230,41 @@ module Google
4182
4230
  end
4183
4231
  end
4184
4232
 
4233
+ # A description of resources that can be shared by multiple DeployedModels,
4234
+ # whose underlying specification consists of a DedicatedResources.
4235
+ class GoogleCloudAiplatformV1DeploymentResourcePool
4236
+ include Google::Apis::Core::Hashable
4237
+
4238
+ # Output only. Timestamp when this DeploymentResourcePool was created.
4239
+ # Corresponds to the JSON property `createTime`
4240
+ # @return [String]
4241
+ attr_accessor :create_time
4242
+
4243
+ # A description of resources that are dedicated to a DeployedModel, and that
4244
+ # need a higher degree of manual configuration.
4245
+ # Corresponds to the JSON property `dedicatedResources`
4246
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources]
4247
+ attr_accessor :dedicated_resources
4248
+
4249
+ # Immutable. The resource name of the DeploymentResourcePool. Format: `projects/`
4250
+ # project`/locations/`location`/deploymentResourcePools/`
4251
+ # deployment_resource_pool``
4252
+ # Corresponds to the JSON property `name`
4253
+ # @return [String]
4254
+ attr_accessor :name
4255
+
4256
+ def initialize(**args)
4257
+ update!(**args)
4258
+ end
4259
+
4260
+ # Update properties of this object
4261
+ def update!(**args)
4262
+ @create_time = args[:create_time] if args.key?(:create_time)
4263
+ @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
4264
+ @name = args[:name] if args.key?(:name)
4265
+ end
4266
+ end
4267
+
4185
4268
  #
4186
4269
  class GoogleCloudAiplatformV1DestinationFeatureSetting
4187
4270
  include Google::Apis::Core::Hashable
@@ -6805,6 +6888,25 @@ module Google
6805
6888
  end
6806
6889
  end
6807
6890
 
6891
+ # Lookup key for a feature view.
6892
+ class GoogleCloudAiplatformV1FeatureViewDataKey
6893
+ include Google::Apis::Core::Hashable
6894
+
6895
+ # String key to use for lookup.
6896
+ # Corresponds to the JSON property `key`
6897
+ # @return [String]
6898
+ attr_accessor :key
6899
+
6900
+ def initialize(**args)
6901
+ update!(**args)
6902
+ end
6903
+
6904
+ # Update properties of this object
6905
+ def update!(**args)
6906
+ @key = args[:key] if args.key?(:key)
6907
+ end
6908
+ end
6909
+
6808
6910
  # A Feature Registry source for features that need to be synced to Online Store.
6809
6911
  class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
6810
6912
  include Google::Apis::Core::Hashable
@@ -7220,16 +7322,16 @@ module Google
7220
7322
  class GoogleCloudAiplatformV1FetchFeatureValuesRequest
7221
7323
  include Google::Apis::Core::Hashable
7222
7324
 
7223
- # Specify response data format. If not set, KeyValue format will be used.
7224
- # Corresponds to the JSON property `format`
7325
+ # Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE
7326
+ # will be used.
7327
+ # Corresponds to the JSON property `dataFormat`
7225
7328
  # @return [String]
7226
- attr_accessor :format
7329
+ attr_accessor :data_format
7227
7330
 
7228
- # Simple ID. The whole string will be used as is to identify Entity to fetch
7229
- # feature values for.
7230
- # Corresponds to the JSON property `id`
7231
- # @return [String]
7232
- attr_accessor :id
7331
+ # Lookup key for a feature view.
7332
+ # Corresponds to the JSON property `dataKey`
7333
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKey]
7334
+ attr_accessor :data_key
7233
7335
 
7234
7336
  def initialize(**args)
7235
7337
  update!(**args)
@@ -7237,8 +7339,8 @@ module Google
7237
7339
 
7238
7340
  # Update properties of this object
7239
7341
  def update!(**args)
7240
- @format = args[:format] if args.key?(:format)
7241
- @id = args[:id] if args.key?(:id)
7342
+ @data_format = args[:data_format] if args.key?(:data_format)
7343
+ @data_key = args[:data_key] if args.key?(:data_key)
7242
7344
  end
7243
7345
  end
7244
7346
 
@@ -9047,6 +9149,32 @@ module Google
9047
9149
  end
9048
9150
  end
9049
9151
 
9152
+ # Response message for ListDeploymentResourcePools method.
9153
+ class GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse
9154
+ include Google::Apis::Core::Hashable
9155
+
9156
+ # The DeploymentResourcePools from the specified location.
9157
+ # Corresponds to the JSON property `deploymentResourcePools`
9158
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool>]
9159
+ attr_accessor :deployment_resource_pools
9160
+
9161
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
9162
+ # field is omitted, there are no subsequent pages.
9163
+ # Corresponds to the JSON property `nextPageToken`
9164
+ # @return [String]
9165
+ attr_accessor :next_page_token
9166
+
9167
+ def initialize(**args)
9168
+ update!(**args)
9169
+ end
9170
+
9171
+ # Update properties of this object
9172
+ def update!(**args)
9173
+ @deployment_resource_pools = args[:deployment_resource_pools] if args.key?(:deployment_resource_pools)
9174
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
9175
+ end
9176
+ end
9177
+
9050
9178
  # Response message for EndpointService.ListEndpoints.
9051
9179
  class GoogleCloudAiplatformV1ListEndpointsResponse
9052
9180
  include Google::Apis::Core::Hashable
@@ -11008,6 +11136,12 @@ module Google
11008
11136
  # @return [Array<String>]
11009
11137
  attr_accessor :command
11010
11138
 
11139
+ # Immutable. Deployment timeout. TODO (b/306244185): Revise documentation before
11140
+ # exposing.
11141
+ # Corresponds to the JSON property `deploymentTimeout`
11142
+ # @return [String]
11143
+ attr_accessor :deployment_timeout
11144
+
11011
11145
  # Immutable. List of environment variables to set in the container. After the
11012
11146
  # container starts running, code running in the container can read these
11013
11147
  # environment variables. Additionally, the command and args fields can reference
@@ -11023,6 +11157,12 @@ module Google
11023
11157
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar>]
11024
11158
  attr_accessor :env
11025
11159
 
11160
+ # Probe describes a health check to be performed against a container to
11161
+ # determine whether it is alive or ready to receive traffic.
11162
+ # Corresponds to the JSON property `healthProbe`
11163
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe]
11164
+ attr_accessor :health_probe
11165
+
11026
11166
  # Immutable. HTTP path on the container to send health checks to. Vertex AI
11027
11167
  # intermittently sends GET requests to this path on the container's IP address
11028
11168
  # and port to check that the container is healthy. Read more about [health
@@ -11098,6 +11238,18 @@ module Google
11098
11238
  # @return [String]
11099
11239
  attr_accessor :predict_route
11100
11240
 
11241
+ # Immutable. The amount of the VM memory to reserve as the shared memory for the
11242
+ # model in megabytes. TODO (b/306244185): Revise documentation before exposing.
11243
+ # Corresponds to the JSON property `sharedMemorySizeMb`
11244
+ # @return [Fixnum]
11245
+ attr_accessor :shared_memory_size_mb
11246
+
11247
+ # Probe describes a health check to be performed against a container to
11248
+ # determine whether it is alive or ready to receive traffic.
11249
+ # Corresponds to the JSON property `startupProbe`
11250
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe]
11251
+ attr_accessor :startup_probe
11252
+
11101
11253
  def initialize(**args)
11102
11254
  update!(**args)
11103
11255
  end
@@ -11106,11 +11258,15 @@ module Google
11106
11258
  def update!(**args)
11107
11259
  @args = args[:args] if args.key?(:args)
11108
11260
  @command = args[:command] if args.key?(:command)
11261
+ @deployment_timeout = args[:deployment_timeout] if args.key?(:deployment_timeout)
11109
11262
  @env = args[:env] if args.key?(:env)
11263
+ @health_probe = args[:health_probe] if args.key?(:health_probe)
11110
11264
  @health_route = args[:health_route] if args.key?(:health_route)
11111
11265
  @image_uri = args[:image_uri] if args.key?(:image_uri)
11112
11266
  @ports = args[:ports] if args.key?(:ports)
11113
11267
  @predict_route = args[:predict_route] if args.key?(:predict_route)
11268
+ @shared_memory_size_mb = args[:shared_memory_size_mb] if args.key?(:shared_memory_size_mb)
11269
+ @startup_probe = args[:startup_probe] if args.key?(:startup_probe)
11114
11270
  end
11115
11271
  end
11116
11272
 
@@ -14197,6 +14353,66 @@ module Google
14197
14353
  end
14198
14354
  end
14199
14355
 
14356
+ # Probe describes a health check to be performed against a container to
14357
+ # determine whether it is alive or ready to receive traffic.
14358
+ class GoogleCloudAiplatformV1Probe
14359
+ include Google::Apis::Core::Hashable
14360
+
14361
+ # ExecAction specifies a command to execute.
14362
+ # Corresponds to the JSON property `exec`
14363
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction]
14364
+ attr_accessor :exec
14365
+
14366
+ # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
14367
+ # value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe
14368
+ # argument 'periodSeconds'.
14369
+ # Corresponds to the JSON property `periodSeconds`
14370
+ # @return [Fixnum]
14371
+ attr_accessor :period_seconds
14372
+
14373
+ # Number of seconds after which the probe times out. Defaults to 1 second.
14374
+ # Minimum value is 1. Must be greater or equal to period_seconds. Maps to
14375
+ # Kubernetes probe argument 'timeoutSeconds'.
14376
+ # Corresponds to the JSON property `timeoutSeconds`
14377
+ # @return [Fixnum]
14378
+ attr_accessor :timeout_seconds
14379
+
14380
+ def initialize(**args)
14381
+ update!(**args)
14382
+ end
14383
+
14384
+ # Update properties of this object
14385
+ def update!(**args)
14386
+ @exec = args[:exec] if args.key?(:exec)
14387
+ @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
14388
+ @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
14389
+ end
14390
+ end
14391
+
14392
+ # ExecAction specifies a command to execute.
14393
+ class GoogleCloudAiplatformV1ProbeExecAction
14394
+ include Google::Apis::Core::Hashable
14395
+
14396
+ # Command is the command line to execute inside the container, the working
14397
+ # directory for the command is root ('/') in the container's filesystem. The
14398
+ # command is simply exec'd, it is not run inside a shell, so traditional shell
14399
+ # instructions ('|', etc) won't work. To use a shell, you need to explicitly
14400
+ # call out to that shell. Exit status of 0 is treated as live/healthy and non-
14401
+ # zero is unhealthy.
14402
+ # Corresponds to the JSON property `command`
14403
+ # @return [Array<String>]
14404
+ attr_accessor :command
14405
+
14406
+ def initialize(**args)
14407
+ update!(**args)
14408
+ end
14409
+
14410
+ # Update properties of this object
14411
+ def update!(**args)
14412
+ @command = args[:command] if args.key?(:command)
14413
+ end
14414
+ end
14415
+
14200
14416
  # A Model Garden Publisher Model.
14201
14417
  class GoogleCloudAiplatformV1PublisherModel
14202
14418
  include Google::Apis::Core::Hashable
@@ -14792,6 +15008,52 @@ module Google
14792
15008
  end
14793
15009
  end
14794
15010
 
15011
+ # Response message for QueryDeployedModels method.
15012
+ class GoogleCloudAiplatformV1QueryDeployedModelsResponse
15013
+ include Google::Apis::Core::Hashable
15014
+
15015
+ # References to the DeployedModels that share the specified
15016
+ # deploymentResourcePool.
15017
+ # Corresponds to the JSON property `deployedModelRefs`
15018
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef>]
15019
+ attr_accessor :deployed_model_refs
15020
+
15021
+ # DEPRECATED Use deployed_model_refs instead.
15022
+ # Corresponds to the JSON property `deployedModels`
15023
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModel>]
15024
+ attr_accessor :deployed_models
15025
+
15026
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
15027
+ # field is omitted, there are no subsequent pages.
15028
+ # Corresponds to the JSON property `nextPageToken`
15029
+ # @return [String]
15030
+ attr_accessor :next_page_token
15031
+
15032
+ # The total number of DeployedModels on this DeploymentResourcePool.
15033
+ # Corresponds to the JSON property `totalDeployedModelCount`
15034
+ # @return [Fixnum]
15035
+ attr_accessor :total_deployed_model_count
15036
+
15037
+ # The total number of Endpoints that have DeployedModels on this
15038
+ # DeploymentResourcePool.
15039
+ # Corresponds to the JSON property `totalEndpointCount`
15040
+ # @return [Fixnum]
15041
+ attr_accessor :total_endpoint_count
15042
+
15043
+ def initialize(**args)
15044
+ update!(**args)
15045
+ end
15046
+
15047
+ # Update properties of this object
15048
+ def update!(**args)
15049
+ @deployed_model_refs = args[:deployed_model_refs] if args.key?(:deployed_model_refs)
15050
+ @deployed_models = args[:deployed_models] if args.key?(:deployed_models)
15051
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
15052
+ @total_deployed_model_count = args[:total_deployed_model_count] if args.key?(:total_deployed_model_count)
15053
+ @total_endpoint_count = args[:total_endpoint_count] if args.key?(:total_endpoint_count)
15054
+ end
15055
+ end
15056
+
14795
15057
  # Request message for PredictionService.RawPredict.
14796
15058
  class GoogleCloudAiplatformV1RawPredictRequest
14797
15059
  include Google::Apis::Core::Hashable
@@ -17351,6 +17613,12 @@ module Google
17351
17613
  class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
17352
17614
  include Google::Apis::Core::Hashable
17353
17615
 
17616
+ # If set, skip finding claim attributions (i.e not generate grounding citation).
17617
+ # Corresponds to the JSON property `disableAttribution`
17618
+ # @return [Boolean]
17619
+ attr_accessor :disable_attribution
17620
+ alias_method :disable_attribution?, :disable_attribution
17621
+
17354
17622
  # The sources for the grounding checking.
17355
17623
  # Corresponds to the JSON property `sources`
17356
17624
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry>]
@@ -17362,6 +17630,7 @@ module Google
17362
17630
 
17363
17631
  # Update properties of this object
17364
17632
  def update!(**args)
17633
+ @disable_attribution = args[:disable_attribution] if args.key?(:disable_attribution)
17365
17634
  @sources = args[:sources] if args.key?(:sources)
17366
17635
  end
17367
17636
  end
@@ -17370,7 +17639,8 @@ module Google
17370
17639
  class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry
17371
17640
  include Google::Apis::Core::Hashable
17372
17641
 
17373
- # The uri of the Enterprise Search data source.
17642
+ # The uri of the Vertex AI Search data source. Deprecated. Use
17643
+ # vertex_ai_search_datastore instead.
17374
17644
  # Corresponds to the JSON property `enterpriseDatastore`
17375
17645
  # @return [String]
17376
17646
  attr_accessor :enterprise_datastore
@@ -17380,6 +17650,11 @@ module Google
17380
17650
  # @return [String]
17381
17651
  attr_accessor :type
17382
17652
 
17653
+ # The uri of the Vertex AI Search data source.
17654
+ # Corresponds to the JSON property `vertexAiSearchDatastore`
17655
+ # @return [String]
17656
+ attr_accessor :vertex_ai_search_datastore
17657
+
17383
17658
  def initialize(**args)
17384
17659
  update!(**args)
17385
17660
  end
@@ -17388,6 +17663,7 @@ module Google
17388
17663
  def update!(**args)
17389
17664
  @enterprise_datastore = args[:enterprise_datastore] if args.key?(:enterprise_datastore)
17390
17665
  @type = args[:type] if args.key?(:type)
17666
+ @vertex_ai_search_datastore = args[:vertex_ai_search_datastore] if args.key?(:vertex_ai_search_datastore)
17391
17667
  end
17392
17668
  end
17393
17669
 
@@ -24286,6 +24562,25 @@ module Google
24286
24562
  end
24287
24563
  end
24288
24564
 
24565
+ # Runtime operation information for UpdateDeploymentResourcePool method.
24566
+ class GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata
24567
+ include Google::Apis::Core::Hashable
24568
+
24569
+ # Generic Metadata shared by all operations.
24570
+ # Corresponds to the JSON property `genericMetadata`
24571
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata]
24572
+ attr_accessor :generic_metadata
24573
+
24574
+ def initialize(**args)
24575
+ update!(**args)
24576
+ end
24577
+
24578
+ # Update properties of this object
24579
+ def update!(**args)
24580
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
24581
+ end
24582
+ end
24583
+
24289
24584
  # Runtime operation information for ModelService.UpdateExplanationDataset.
24290
24585
  class GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata
24291
24586
  include Google::Apis::Core::Hashable
@@ -24568,10 +24863,11 @@ module Google
24568
24863
 
24569
24864
  # Optional. The user-provided custom service account to use to do the model
24570
24865
  # upload. If empty, [Vertex AI Service Agent](https://cloud.google.com/vertex-ai/
24571
- # docs/general/access-control#service-agents) will be used. Users uploading the
24572
- # Model must have the `iam.serviceAccounts.actAs` permission on this service
24573
- # account. Also, this account must belong to the project specified in the `
24574
- # parent` field and have all necessary read permissions.
24866
+ # docs/general/access-control#service-agents) will be used to access resources
24867
+ # needed to upload the model. This account must belong to the target project
24868
+ # where the model is uploaded to, i.e., the project specified in the `parent`
24869
+ # field of this request and have necessary read permissions (to Google Cloud
24870
+ # Storage, Artifact Registry, etc.).
24575
24871
  # Corresponds to the JSON property `serviceAccount`
24576
24872
  # @return [String]
24577
24873
  attr_accessor :service_account
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231107"
25
+ REVISION = "20231111"
26
26
  end
27
27
  end
28
28
  end
@@ -460,6 +460,18 @@ module Google
460
460
  include Google::Apis::Core::JsonObjectSupport
461
461
  end
462
462
 
463
+ class GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
463
475
  class GoogleCloudAiplatformV1CreateEndpointOperationMetadata
464
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
477
 
@@ -754,6 +766,12 @@ module Google
754
766
  include Google::Apis::Core::JsonObjectSupport
755
767
  end
756
768
 
769
+ class GoogleCloudAiplatformV1DeploymentResourcePool
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
757
775
  class GoogleCloudAiplatformV1DestinationFeatureSetting
758
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
777
 
@@ -1144,6 +1162,12 @@ module Google
1144
1162
  include Google::Apis::Core::JsonObjectSupport
1145
1163
  end
1146
1164
 
1165
+ class GoogleCloudAiplatformV1FeatureViewDataKey
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ include Google::Apis::Core::JsonObjectSupport
1169
+ end
1170
+
1147
1171
  class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
1148
1172
  class Representation < Google::Apis::Core::JsonRepresentation; end
1149
1173
 
@@ -1492,6 +1516,12 @@ module Google
1492
1516
  include Google::Apis::Core::JsonObjectSupport
1493
1517
  end
1494
1518
 
1519
+ class GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse
1520
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1521
+
1522
+ include Google::Apis::Core::JsonObjectSupport
1523
+ end
1524
+
1495
1525
  class GoogleCloudAiplatformV1ListEndpointsResponse
1496
1526
  class Representation < Google::Apis::Core::JsonRepresentation; end
1497
1527
 
@@ -2308,6 +2338,18 @@ module Google
2308
2338
  include Google::Apis::Core::JsonObjectSupport
2309
2339
  end
2310
2340
 
2341
+ class GoogleCloudAiplatformV1Probe
2342
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2343
+
2344
+ include Google::Apis::Core::JsonObjectSupport
2345
+ end
2346
+
2347
+ class GoogleCloudAiplatformV1ProbeExecAction
2348
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2349
+
2350
+ include Google::Apis::Core::JsonObjectSupport
2351
+ end
2352
+
2311
2353
  class GoogleCloudAiplatformV1PublisherModel
2312
2354
  class Representation < Google::Apis::Core::JsonRepresentation; end
2313
2355
 
@@ -2410,6 +2452,12 @@ module Google
2410
2452
  include Google::Apis::Core::JsonObjectSupport
2411
2453
  end
2412
2454
 
2455
+ class GoogleCloudAiplatformV1QueryDeployedModelsResponse
2456
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2457
+
2458
+ include Google::Apis::Core::JsonObjectSupport
2459
+ end
2460
+
2413
2461
  class GoogleCloudAiplatformV1RawPredictRequest
2414
2462
  class Representation < Google::Apis::Core::JsonRepresentation; end
2415
2463
 
@@ -3976,6 +4024,12 @@ module Google
3976
4024
  include Google::Apis::Core::JsonObjectSupport
3977
4025
  end
3978
4026
 
4027
+ class GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata
4028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4029
+
4030
+ include Google::Apis::Core::JsonObjectSupport
4031
+ end
4032
+
3979
4033
  class GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata
3980
4034
  class Representation < Google::Apis::Core::JsonRepresentation; end
3981
4035
 
@@ -4897,6 +4951,23 @@ module Google
4897
4951
  end
4898
4952
  end
4899
4953
 
4954
+ class GoogleCloudAiplatformV1CreateDeploymentResourcePoolOperationMetadata
4955
+ # @private
4956
+ class Representation < Google::Apis::Core::JsonRepresentation
4957
+ property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata::Representation
4958
+
4959
+ end
4960
+ end
4961
+
4962
+ class GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest
4963
+ # @private
4964
+ class Representation < Google::Apis::Core::JsonRepresentation
4965
+ property :deployment_resource_pool, as: 'deploymentResourcePool', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool::Representation
4966
+
4967
+ property :deployment_resource_pool_id, as: 'deploymentResourcePoolId'
4968
+ end
4969
+ end
4970
+
4900
4971
  class GoogleCloudAiplatformV1CreateEndpointOperationMetadata
4901
4972
  # @private
4902
4973
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5410,6 +5481,16 @@ module Google
5410
5481
  end
5411
5482
  end
5412
5483
 
5484
+ class GoogleCloudAiplatformV1DeploymentResourcePool
5485
+ # @private
5486
+ class Representation < Google::Apis::Core::JsonRepresentation
5487
+ property :create_time, as: 'createTime'
5488
+ property :dedicated_resources, as: 'dedicatedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DedicatedResources::Representation
5489
+
5490
+ property :name, as: 'name'
5491
+ end
5492
+ end
5493
+
5413
5494
  class GoogleCloudAiplatformV1DestinationFeatureSetting
5414
5495
  # @private
5415
5496
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6097,6 +6178,13 @@ module Google
6097
6178
  end
6098
6179
  end
6099
6180
 
6181
+ class GoogleCloudAiplatformV1FeatureViewDataKey
6182
+ # @private
6183
+ class Representation < Google::Apis::Core::JsonRepresentation
6184
+ property :key, as: 'key'
6185
+ end
6186
+ end
6187
+
6100
6188
  class GoogleCloudAiplatformV1FeatureViewFeatureRegistrySource
6101
6189
  # @private
6102
6190
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6208,8 +6296,9 @@ module Google
6208
6296
  class GoogleCloudAiplatformV1FetchFeatureValuesRequest
6209
6297
  # @private
6210
6298
  class Representation < Google::Apis::Core::JsonRepresentation
6211
- property :format, as: 'format'
6212
- property :id, as: 'id'
6299
+ property :data_format, as: 'dataFormat'
6300
+ property :data_key, as: 'dataKey', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKey, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewDataKey::Representation
6301
+
6213
6302
  end
6214
6303
  end
6215
6304
 
@@ -6701,6 +6790,15 @@ module Google
6701
6790
  end
6702
6791
  end
6703
6792
 
6793
+ class GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse
6794
+ # @private
6795
+ class Representation < Google::Apis::Core::JsonRepresentation
6796
+ collection :deployment_resource_pools, as: 'deploymentResourcePools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool::Representation
6797
+
6798
+ property :next_page_token, as: 'nextPageToken'
6799
+ end
6800
+ end
6801
+
6704
6802
  class GoogleCloudAiplatformV1ListEndpointsResponse
6705
6803
  # @private
6706
6804
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7275,13 +7373,19 @@ module Google
7275
7373
  class Representation < Google::Apis::Core::JsonRepresentation
7276
7374
  collection :args, as: 'args'
7277
7375
  collection :command, as: 'command'
7376
+ property :deployment_timeout, as: 'deploymentTimeout'
7278
7377
  collection :env, as: 'env', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar::Representation
7279
7378
 
7379
+ property :health_probe, as: 'healthProbe', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe::Representation
7380
+
7280
7381
  property :health_route, as: 'healthRoute'
7281
7382
  property :image_uri, as: 'imageUri'
7282
7383
  collection :ports, as: 'ports', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Port::Representation
7283
7384
 
7284
7385
  property :predict_route, as: 'predictRoute'
7386
+ property :shared_memory_size_mb, :numeric_string => true, as: 'sharedMemorySizeMb'
7387
+ property :startup_probe, as: 'startupProbe', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Probe::Representation
7388
+
7285
7389
  end
7286
7390
  end
7287
7391
 
@@ -8116,6 +8220,23 @@ module Google
8116
8220
  end
8117
8221
  end
8118
8222
 
8223
+ class GoogleCloudAiplatformV1Probe
8224
+ # @private
8225
+ class Representation < Google::Apis::Core::JsonRepresentation
8226
+ property :exec, as: 'exec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ProbeExecAction::Representation
8227
+
8228
+ property :period_seconds, as: 'periodSeconds'
8229
+ property :timeout_seconds, as: 'timeoutSeconds'
8230
+ end
8231
+ end
8232
+
8233
+ class GoogleCloudAiplatformV1ProbeExecAction
8234
+ # @private
8235
+ class Representation < Google::Apis::Core::JsonRepresentation
8236
+ collection :command, as: 'command'
8237
+ end
8238
+ end
8239
+
8119
8240
  class GoogleCloudAiplatformV1PublisherModel
8120
8241
  # @private
8121
8242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8294,6 +8415,19 @@ module Google
8294
8415
  end
8295
8416
  end
8296
8417
 
8418
+ class GoogleCloudAiplatformV1QueryDeployedModelsResponse
8419
+ # @private
8420
+ class Representation < Google::Apis::Core::JsonRepresentation
8421
+ collection :deployed_model_refs, as: 'deployedModelRefs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModelRef::Representation
8422
+
8423
+ collection :deployed_models, as: 'deployedModels', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModel, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeployedModel::Representation
8424
+
8425
+ property :next_page_token, as: 'nextPageToken'
8426
+ property :total_deployed_model_count, as: 'totalDeployedModelCount'
8427
+ property :total_endpoint_count, as: 'totalEndpointCount'
8428
+ end
8429
+ end
8430
+
8297
8431
  class GoogleCloudAiplatformV1RawPredictRequest
8298
8432
  # @private
8299
8433
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9009,6 +9143,7 @@ module Google
9009
9143
  class GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfig
9010
9144
  # @private
9011
9145
  class Representation < Google::Apis::Core::JsonRepresentation
9146
+ property :disable_attribution, as: 'disableAttribution'
9012
9147
  collection :sources, as: 'sources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPredictParamsGroundingConfigSourceEntry::Representation
9013
9148
 
9014
9149
  end
@@ -9019,6 +9154,7 @@ module Google
9019
9154
  class Representation < Google::Apis::Core::JsonRepresentation
9020
9155
  property :enterprise_datastore, as: 'enterpriseDatastore'
9021
9156
  property :type, as: 'type'
9157
+ property :vertex_ai_search_datastore, as: 'vertexAiSearchDatastore'
9022
9158
  end
9023
9159
  end
9024
9160
 
@@ -10850,6 +10986,14 @@ module Google
10850
10986
  end
10851
10987
  end
10852
10988
 
10989
+ class GoogleCloudAiplatformV1UpdateDeploymentResourcePoolOperationMetadata
10990
+ # @private
10991
+ class Representation < Google::Apis::Core::JsonRepresentation
10992
+ property :generic_metadata, as: 'genericMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenericOperationMetadata::Representation
10993
+
10994
+ end
10995
+ end
10996
+
10853
10997
  class GoogleCloudAiplatformV1UpdateExplanationDatasetOperationMetadata
10854
10998
  # @private
10855
10999
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2709,6 +2709,187 @@ module Google
2709
2709
  execute_or_queue_command(command, &block)
2710
2710
  end
2711
2711
 
2712
+ # Create a DeploymentResourcePool.
2713
+ # @param [String] parent
2714
+ # Required. The parent location resource where this DeploymentResourcePool will
2715
+ # be created. Format: `projects/`project`/locations/`location``
2716
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest] google_cloud_aiplatform_v1_create_deployment_resource_pool_request_object
2717
+ # @param [String] fields
2718
+ # Selector specifying which fields to include in a partial response.
2719
+ # @param [String] quota_user
2720
+ # Available to use for quota purposes for server-side applications. Can be any
2721
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2722
+ # @param [Google::Apis::RequestOptions] options
2723
+ # Request-specific options
2724
+ #
2725
+ # @yield [result, err] Result & error if block supplied
2726
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2727
+ # @yieldparam err [StandardError] error object if request failed
2728
+ #
2729
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2730
+ #
2731
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2732
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2733
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2734
+ def create_project_location_deployment_resource_pool(parent, google_cloud_aiplatform_v1_create_deployment_resource_pool_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2735
+ command = make_simple_command(:post, 'v1/{+parent}/deploymentResourcePools', options)
2736
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest::Representation
2737
+ command.request_object = google_cloud_aiplatform_v1_create_deployment_resource_pool_request_object
2738
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2739
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2740
+ command.params['parent'] = parent unless parent.nil?
2741
+ command.query['fields'] = fields unless fields.nil?
2742
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2743
+ execute_or_queue_command(command, &block)
2744
+ end
2745
+
2746
+ # Delete a DeploymentResourcePool.
2747
+ # @param [String] name
2748
+ # Required. The name of the DeploymentResourcePool to delete. Format: `projects/`
2749
+ # project`/locations/`location`/deploymentResourcePools/`
2750
+ # deployment_resource_pool``
2751
+ # @param [String] fields
2752
+ # Selector specifying which fields to include in a partial response.
2753
+ # @param [String] quota_user
2754
+ # Available to use for quota purposes for server-side applications. Can be any
2755
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2756
+ # @param [Google::Apis::RequestOptions] options
2757
+ # Request-specific options
2758
+ #
2759
+ # @yield [result, err] Result & error if block supplied
2760
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
2761
+ # @yieldparam err [StandardError] error object if request failed
2762
+ #
2763
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
2764
+ #
2765
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2766
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2767
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2768
+ def delete_project_location_deployment_resource_pool(name, fields: nil, quota_user: nil, options: nil, &block)
2769
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2770
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
2771
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
2772
+ command.params['name'] = name unless name.nil?
2773
+ command.query['fields'] = fields unless fields.nil?
2774
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2775
+ execute_or_queue_command(command, &block)
2776
+ end
2777
+
2778
+ # Get a DeploymentResourcePool.
2779
+ # @param [String] name
2780
+ # Required. The name of the DeploymentResourcePool to retrieve. Format: `
2781
+ # projects/`project`/locations/`location`/deploymentResourcePools/`
2782
+ # deployment_resource_pool``
2783
+ # @param [String] fields
2784
+ # Selector specifying which fields to include in a partial response.
2785
+ # @param [String] quota_user
2786
+ # Available to use for quota purposes for server-side applications. Can be any
2787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2788
+ # @param [Google::Apis::RequestOptions] options
2789
+ # Request-specific options
2790
+ #
2791
+ # @yield [result, err] Result & error if block supplied
2792
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool] parsed result object
2793
+ # @yieldparam err [StandardError] error object if request failed
2794
+ #
2795
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool]
2796
+ #
2797
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2798
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2799
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2800
+ def get_project_location_deployment_resource_pool(name, fields: nil, quota_user: nil, options: nil, &block)
2801
+ command = make_simple_command(:get, 'v1/{+name}', options)
2802
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool::Representation
2803
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DeploymentResourcePool
2804
+ command.params['name'] = name unless name.nil?
2805
+ command.query['fields'] = fields unless fields.nil?
2806
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2807
+ execute_or_queue_command(command, &block)
2808
+ end
2809
+
2810
+ # List DeploymentResourcePools in a location.
2811
+ # @param [String] parent
2812
+ # Required. The parent Location which owns this collection of
2813
+ # DeploymentResourcePools. Format: `projects/`project`/locations/`location``
2814
+ # @param [Fixnum] page_size
2815
+ # The maximum number of DeploymentResourcePools to return. The service may
2816
+ # return fewer than this value.
2817
+ # @param [String] page_token
2818
+ # A page token, received from a previous `ListDeploymentResourcePools` call.
2819
+ # Provide this to retrieve the subsequent page. When paginating, all other
2820
+ # parameters provided to `ListDeploymentResourcePools` must match the call that
2821
+ # provided the page token.
2822
+ # @param [String] fields
2823
+ # Selector specifying which fields to include in a partial response.
2824
+ # @param [String] quota_user
2825
+ # Available to use for quota purposes for server-side applications. Can be any
2826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2827
+ # @param [Google::Apis::RequestOptions] options
2828
+ # Request-specific options
2829
+ #
2830
+ # @yield [result, err] Result & error if block supplied
2831
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse] parsed result object
2832
+ # @yieldparam err [StandardError] error object if request failed
2833
+ #
2834
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse]
2835
+ #
2836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2839
+ def list_project_location_deployment_resource_pools(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2840
+ command = make_simple_command(:get, 'v1/{+parent}/deploymentResourcePools', options)
2841
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse::Representation
2842
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse
2843
+ command.params['parent'] = parent unless parent.nil?
2844
+ command.query['pageSize'] = page_size unless page_size.nil?
2845
+ command.query['pageToken'] = page_token unless page_token.nil?
2846
+ command.query['fields'] = fields unless fields.nil?
2847
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2848
+ execute_or_queue_command(command, &block)
2849
+ end
2850
+
2851
+ # List DeployedModels that have been deployed on this DeploymentResourcePool.
2852
+ # @param [String] deployment_resource_pool
2853
+ # Required. The name of the target DeploymentResourcePool to query. Format: `
2854
+ # projects/`project`/locations/`location`/deploymentResourcePools/`
2855
+ # deployment_resource_pool``
2856
+ # @param [Fixnum] page_size
2857
+ # The maximum number of DeployedModels to return. The service may return fewer
2858
+ # than this value.
2859
+ # @param [String] page_token
2860
+ # A page token, received from a previous `QueryDeployedModels` call. Provide
2861
+ # this to retrieve the subsequent page. When paginating, all other parameters
2862
+ # provided to `QueryDeployedModels` must match the call that provided the page
2863
+ # token.
2864
+ # @param [String] fields
2865
+ # Selector specifying which fields to include in a partial response.
2866
+ # @param [String] quota_user
2867
+ # Available to use for quota purposes for server-side applications. Can be any
2868
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2869
+ # @param [Google::Apis::RequestOptions] options
2870
+ # Request-specific options
2871
+ #
2872
+ # @yield [result, err] Result & error if block supplied
2873
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse] parsed result object
2874
+ # @yieldparam err [StandardError] error object if request failed
2875
+ #
2876
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse]
2877
+ #
2878
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2879
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2880
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2881
+ def query_project_location_deployment_resource_pool_deployed_models(deployment_resource_pool, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2882
+ command = make_simple_command(:get, 'v1/{+deploymentResourcePool}:queryDeployedModels', options)
2883
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse::Representation
2884
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QueryDeployedModelsResponse
2885
+ command.params['deploymentResourcePool'] = deployment_resource_pool unless deployment_resource_pool.nil?
2886
+ command.query['pageSize'] = page_size unless page_size.nil?
2887
+ command.query['pageToken'] = page_token unless page_token.nil?
2888
+ command.query['fields'] = fields unless fields.nil?
2889
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2890
+ execute_or_queue_command(command, &block)
2891
+ end
2892
+
2712
2893
  # Starts asynchronous cancellation on a long-running operation. The server makes
2713
2894
  # a best effort to cancel the operation, but success is not guaranteed. If the
2714
2895
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
63
63
  post_install_message:
64
64
  rdoc_options: []