google-apis-aiplatform_v1 0.7.0 → 0.9.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.
@@ -3251,6 +3251,75 @@ module Google
3251
3251
  execute_or_queue_command(command, &block)
3252
3252
  end
3253
3253
 
3254
+ # Perform an unary online prediction request for Vertex first-party products and
3255
+ # frameworks.
3256
+ # @param [String] endpoint
3257
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3258
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3259
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictRequest] google_cloud_aiplatform_v1_direct_predict_request_object
3260
+ # @param [String] fields
3261
+ # Selector specifying which fields to include in a partial response.
3262
+ # @param [String] quota_user
3263
+ # Available to use for quota purposes for server-side applications. Can be any
3264
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3265
+ # @param [Google::Apis::RequestOptions] options
3266
+ # Request-specific options
3267
+ #
3268
+ # @yield [result, err] Result & error if block supplied
3269
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse] parsed result object
3270
+ # @yieldparam err [StandardError] error object if request failed
3271
+ #
3272
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse]
3273
+ #
3274
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3275
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3276
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3277
+ def direct_project_location_endpoint_predict(endpoint, google_cloud_aiplatform_v1_direct_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3278
+ command = make_simple_command(:post, 'v1/{+endpoint}:directPredict', options)
3279
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictRequest::Representation
3280
+ command.request_object = google_cloud_aiplatform_v1_direct_predict_request_object
3281
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse::Representation
3282
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectPredictResponse
3283
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3284
+ command.query['fields'] = fields unless fields.nil?
3285
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3286
+ execute_or_queue_command(command, &block)
3287
+ end
3288
+
3289
+ # Perform an online prediction request through gRPC.
3290
+ # @param [String] endpoint
3291
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
3292
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
3293
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictRequest] google_cloud_aiplatform_v1_direct_raw_predict_request_object
3294
+ # @param [String] fields
3295
+ # Selector specifying which fields to include in a partial response.
3296
+ # @param [String] quota_user
3297
+ # Available to use for quota purposes for server-side applications. Can be any
3298
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3299
+ # @param [Google::Apis::RequestOptions] options
3300
+ # Request-specific options
3301
+ #
3302
+ # @yield [result, err] Result & error if block supplied
3303
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse] parsed result object
3304
+ # @yieldparam err [StandardError] error object if request failed
3305
+ #
3306
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse]
3307
+ #
3308
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3309
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3310
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3311
+ def direct_project_location_endpoint_raw_predict(endpoint, google_cloud_aiplatform_v1_direct_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3312
+ command = make_simple_command(:post, 'v1/{+endpoint}:directRawPredict', options)
3313
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictRequest::Representation
3314
+ command.request_object = google_cloud_aiplatform_v1_direct_raw_predict_request_object
3315
+ command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse::Representation
3316
+ command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DirectRawPredictResponse
3317
+ command.params['endpoint'] = endpoint unless endpoint.nil?
3318
+ command.query['fields'] = fields unless fields.nil?
3319
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3320
+ execute_or_queue_command(command, &block)
3321
+ end
3322
+
3254
3323
  # Perform an online explanation. If deployed_model_id is specified, the
3255
3324
  # corresponding DeployModel must have explanation_spec populated. If
3256
3325
  # deployed_model_id is not specified, all DeployedModels must have
@@ -3939,7 +4008,7 @@ module Google
3939
4008
 
3940
4009
  # Updates the parameters of a single FeatureGroup.
3941
4010
  # @param [String] name
3942
- # Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
4011
+ # Identifier. Name of the FeatureGroup. Format: `projects/`project`/locations/`
3943
4012
  # location`/featureGroups/`featureGroup``
3944
4013
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
3945
4014
  # @param [String] update_mask
@@ -4124,8 +4193,8 @@ module Google
4124
4193
  # A page token, received from a previous FeaturestoreService.ListFeatures call
4125
4194
  # or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
4126
4195
  # subsequent page. When paginating, all other parameters provided to
4127
- # FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures
4128
- # must match the call that provided the page token.
4196
+ # FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
4197
+ # match the call that provided the page token.
4129
4198
  # @param [String] read_mask
4130
4199
  # Mask specifying which fields to read.
4131
4200
  # @param [String] fields
@@ -4669,7 +4738,7 @@ module Google
4669
4738
 
4670
4739
  # Updates the parameters of a single FeatureOnlineStore.
4671
4740
  # @param [String] name
4672
- # Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
4741
+ # Identifier. Name of the FeatureOnlineStore. Format: `projects/`project`/
4673
4742
  # locations/`location`/featureOnlineStores/`featureOnlineStore``
4674
4743
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
4675
4744
  # @param [String] update_mask
@@ -4915,7 +4984,7 @@ module Google
4915
4984
 
4916
4985
  # Updates the parameters of a single FeatureView.
4917
4986
  # @param [String] name
4918
- # Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
4987
+ # Identifier. Name of the FeatureView. Format: `projects/`project`/locations/`
4919
4988
  # location`/featureOnlineStores/`feature_online_store`/featureViews/`
4920
4989
  # feature_view``
4921
4990
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] google_cloud_aiplatform_v1_feature_view_object
@@ -6579,8 +6648,8 @@ module Google
6579
6648
  # A page token, received from a previous FeaturestoreService.ListFeatures call
6580
6649
  # or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
6581
6650
  # subsequent page. When paginating, all other parameters provided to
6582
- # FeaturestoreService.ListFeatures or or FeatureRegistryService.ListFeatures
6583
- # must match the call that provided the page token.
6651
+ # FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
6652
+ # match the call that provided the page token.
6584
6653
  # @param [String] read_mask
6585
6654
  # Mask specifying which fields to read.
6586
6655
  # @param [String] fields
@@ -12390,6 +12459,42 @@ module Google
12390
12459
  execute_or_queue_command(command, &block)
12391
12460
  end
12392
12461
 
12462
+ # Upgrades a NotebookRuntime.
12463
+ # @param [String] name
12464
+ # Required. The name of the NotebookRuntime resource to be upgrade. Instead of
12465
+ # checking whether the name is in valid NotebookRuntime resource name format,
12466
+ # directly throw NotFound exception if there is no such NotebookRuntime in
12467
+ # spanner.
12468
+ # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest] google_cloud_aiplatform_v1_upgrade_notebook_runtime_request_object
12469
+ # @param [String] fields
12470
+ # Selector specifying which fields to include in a partial response.
12471
+ # @param [String] quota_user
12472
+ # Available to use for quota purposes for server-side applications. Can be any
12473
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
12474
+ # @param [Google::Apis::RequestOptions] options
12475
+ # Request-specific options
12476
+ #
12477
+ # @yield [result, err] Result & error if block supplied
12478
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
12479
+ # @yieldparam err [StandardError] error object if request failed
12480
+ #
12481
+ # @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
12482
+ #
12483
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12484
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12485
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
12486
+ def upgrade_project_location_notebook_runtime(name, google_cloud_aiplatform_v1_upgrade_notebook_runtime_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
12487
+ command = make_simple_command(:post, 'v1/{+name}:upgrade', options)
12488
+ command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UpgradeNotebookRuntimeRequest::Representation
12489
+ command.request_object = google_cloud_aiplatform_v1_upgrade_notebook_runtime_request_object
12490
+ command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
12491
+ command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
12492
+ command.params['name'] = name unless name.nil?
12493
+ command.query['fields'] = fields unless fields.nil?
12494
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
12495
+ execute_or_queue_command(command, &block)
12496
+ end
12497
+
12393
12498
  # Starts asynchronous cancellation on a long-running operation. The server makes
12394
12499
  # a best effort to cancel the operation, but success is not guaranteed. If the
12395
12500
  # 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.7.0
4
+ version: 0.9.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-19 00:00:00.000000000 Z
11
+ date: 2023-12-17 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.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.9.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: []