google-apis-aiplatform_v1 0.6.0 → 0.8.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.
@@ -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`.
|
@@ -3070,6 +3251,75 @@ module Google
|
|
3070
3251
|
execute_or_queue_command(command, &block)
|
3071
3252
|
end
|
3072
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
|
+
|
3073
3323
|
# Perform an online explanation. If deployed_model_id is specified, the
|
3074
3324
|
# corresponding DeployModel must have explanation_spec populated. If
|
3075
3325
|
# deployed_model_id is not specified, all DeployedModels must have
|
@@ -3758,7 +4008,7 @@ module Google
|
|
3758
4008
|
|
3759
4009
|
# Updates the parameters of a single FeatureGroup.
|
3760
4010
|
# @param [String] name
|
3761
|
-
#
|
4011
|
+
# Identifier. Name of the FeatureGroup. Format: `projects/`project`/locations/`
|
3762
4012
|
# location`/featureGroups/`featureGroup``
|
3763
4013
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
|
3764
4014
|
# @param [String] update_mask
|
@@ -3943,8 +4193,8 @@ module Google
|
|
3943
4193
|
# A page token, received from a previous FeaturestoreService.ListFeatures call
|
3944
4194
|
# or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
|
3945
4195
|
# subsequent page. When paginating, all other parameters provided to
|
3946
|
-
# FeaturestoreService.ListFeatures or
|
3947
|
-
#
|
4196
|
+
# FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
|
4197
|
+
# match the call that provided the page token.
|
3948
4198
|
# @param [String] read_mask
|
3949
4199
|
# Mask specifying which fields to read.
|
3950
4200
|
# @param [String] fields
|
@@ -4488,7 +4738,7 @@ module Google
|
|
4488
4738
|
|
4489
4739
|
# Updates the parameters of a single FeatureOnlineStore.
|
4490
4740
|
# @param [String] name
|
4491
|
-
#
|
4741
|
+
# Identifier. Name of the FeatureOnlineStore. Format: `projects/`project`/
|
4492
4742
|
# locations/`location`/featureOnlineStores/`featureOnlineStore``
|
4493
4743
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureOnlineStore] google_cloud_aiplatform_v1_feature_online_store_object
|
4494
4744
|
# @param [String] update_mask
|
@@ -4734,7 +4984,7 @@ module Google
|
|
4734
4984
|
|
4735
4985
|
# Updates the parameters of a single FeatureView.
|
4736
4986
|
# @param [String] name
|
4737
|
-
#
|
4987
|
+
# Identifier. Name of the FeatureView. Format: `projects/`project`/locations/`
|
4738
4988
|
# location`/featureOnlineStores/`feature_online_store`/featureViews/`
|
4739
4989
|
# feature_view``
|
4740
4990
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureView] google_cloud_aiplatform_v1_feature_view_object
|
@@ -6398,8 +6648,8 @@ module Google
|
|
6398
6648
|
# A page token, received from a previous FeaturestoreService.ListFeatures call
|
6399
6649
|
# or FeatureRegistryService.ListFeatures call. Provide this to retrieve the
|
6400
6650
|
# subsequent page. When paginating, all other parameters provided to
|
6401
|
-
# FeaturestoreService.ListFeatures or
|
6402
|
-
#
|
6651
|
+
# FeaturestoreService.ListFeatures or FeatureRegistryService.ListFeatures must
|
6652
|
+
# match the call that provided the page token.
|
6403
6653
|
# @param [String] read_mask
|
6404
6654
|
# Mask specifying which fields to read.
|
6405
6655
|
# @param [String] fields
|
@@ -12209,6 +12459,42 @@ module Google
|
|
12209
12459
|
execute_or_queue_command(command, &block)
|
12210
12460
|
end
|
12211
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
|
+
|
12212
12498
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
12213
12499
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
12214
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.
|
4
|
+
version: 0.8.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
|
+
date: 2023-12-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.8.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: []
|