google-apis-aiplatform_v1beta1 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3659,12 +3659,12 @@ module Google
3659
3659
  # Format: `projects/`project`/locations/`location``
3660
3660
  # @param [String] filter
3661
3661
  # Optional. An expression for filtering the results of the request. For field
3662
- # names both snake_case and camelCase are supported. * `endpoint` supports = and
3663
- # !=. `endpoint` represents the Endpoint ID, i.e. the last segment of the
3664
- # Endpoint's resource name. * `display_name` supports = and, != * `labels`
3662
+ # names both snake_case and camelCase are supported. * `endpoint` supports `=`
3663
+ # and `!=`. `endpoint` represents the Endpoint ID, i.e. the last segment of the
3664
+ # Endpoint's resource name. * `display_name` supports `=` and `!=`. * `labels`
3665
3665
  # supports general map functions that is: * `labels.key=value` - key:value
3666
- # equality * `labels.key:* or labels:key - key existence * A key including a
3667
- # space must be quoted. `labels."a key"`. * `base_model_name` only supports =
3666
+ # equality * `labels.key:*` or `labels:key` - key existence * A key including a
3667
+ # space must be quoted. `labels."a key"`. * `base_model_name` only supports `=`.
3668
3668
  # Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="
3669
3669
  # myValue"` * `baseModelName="text-bison"`
3670
3670
  # @param [Fixnum] page_size
@@ -4729,6 +4729,255 @@ module Google
4729
4729
  execute_or_queue_command(command, &block)
4730
4730
  end
4731
4731
 
4732
+ # Deletes an Extension.
4733
+ # @param [String] name
4734
+ # Required. The name of the Extension resource to be deleted. Format: `projects/`
4735
+ # project`/locations/`location`/extensions/`extension``
4736
+ # @param [String] fields
4737
+ # Selector specifying which fields to include in a partial response.
4738
+ # @param [String] quota_user
4739
+ # Available to use for quota purposes for server-side applications. Can be any
4740
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4741
+ # @param [Google::Apis::RequestOptions] options
4742
+ # Request-specific options
4743
+ #
4744
+ # @yield [result, err] Result & error if block supplied
4745
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4746
+ # @yieldparam err [StandardError] error object if request failed
4747
+ #
4748
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4749
+ #
4750
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4751
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4752
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4753
+ def delete_project_location_extension(name, fields: nil, quota_user: nil, options: nil, &block)
4754
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4755
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4756
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4757
+ command.params['name'] = name unless name.nil?
4758
+ command.query['fields'] = fields unless fields.nil?
4759
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4760
+ execute_or_queue_command(command, &block)
4761
+ end
4762
+
4763
+ # Executes the request against a given extension.
4764
+ # @param [String] name
4765
+ # Required. Name (identifier) of the extension; Format: `projects/`project`/
4766
+ # locations/`location`/extensions/`extension``
4767
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteExtensionRequest] google_cloud_aiplatform_v1beta1_execute_extension_request_object
4768
+ # @param [String] fields
4769
+ # Selector specifying which fields to include in a partial response.
4770
+ # @param [String] quota_user
4771
+ # Available to use for quota purposes for server-side applications. Can be any
4772
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4773
+ # @param [Google::Apis::RequestOptions] options
4774
+ # Request-specific options
4775
+ #
4776
+ # @yield [result, err] Result & error if block supplied
4777
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteExtensionResponse] parsed result object
4778
+ # @yieldparam err [StandardError] error object if request failed
4779
+ #
4780
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteExtensionResponse]
4781
+ #
4782
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4783
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4784
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4785
+ def execute_project_location_extension(name, google_cloud_aiplatform_v1beta1_execute_extension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4786
+ command = make_simple_command(:post, 'v1beta1/{+name}:execute', options)
4787
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteExtensionRequest::Representation
4788
+ command.request_object = google_cloud_aiplatform_v1beta1_execute_extension_request_object
4789
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteExtensionResponse::Representation
4790
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteExtensionResponse
4791
+ command.params['name'] = name unless name.nil?
4792
+ command.query['fields'] = fields unless fields.nil?
4793
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4794
+ execute_or_queue_command(command, &block)
4795
+ end
4796
+
4797
+ # Gets an Extension.
4798
+ # @param [String] name
4799
+ # Required. The name of the Extension resource. Format: `projects/`project`/
4800
+ # locations/`location`/extensions/`extension``
4801
+ # @param [String] fields
4802
+ # Selector specifying which fields to include in a partial response.
4803
+ # @param [String] quota_user
4804
+ # Available to use for quota purposes for server-side applications. Can be any
4805
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4806
+ # @param [Google::Apis::RequestOptions] options
4807
+ # Request-specific options
4808
+ #
4809
+ # @yield [result, err] Result & error if block supplied
4810
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension] parsed result object
4811
+ # @yieldparam err [StandardError] error object if request failed
4812
+ #
4813
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension]
4814
+ #
4815
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4816
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4817
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4818
+ def get_project_location_extension(name, fields: nil, quota_user: nil, options: nil, &block)
4819
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
4820
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension::Representation
4821
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension
4822
+ command.params['name'] = name unless name.nil?
4823
+ command.query['fields'] = fields unless fields.nil?
4824
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4825
+ execute_or_queue_command(command, &block)
4826
+ end
4827
+
4828
+ # Imports an Extension.
4829
+ # @param [String] parent
4830
+ # Required. The resource name of the Location to import the Extension in. Format:
4831
+ # `projects/`project`/locations/`location``
4832
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension] google_cloud_aiplatform_v1beta1_extension_object
4833
+ # @param [String] fields
4834
+ # Selector specifying which fields to include in a partial response.
4835
+ # @param [String] quota_user
4836
+ # Available to use for quota purposes for server-side applications. Can be any
4837
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4838
+ # @param [Google::Apis::RequestOptions] options
4839
+ # Request-specific options
4840
+ #
4841
+ # @yield [result, err] Result & error if block supplied
4842
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4843
+ # @yieldparam err [StandardError] error object if request failed
4844
+ #
4845
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4846
+ #
4847
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4848
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4849
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4850
+ def import_project_location_extension(parent, google_cloud_aiplatform_v1beta1_extension_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4851
+ command = make_simple_command(:post, 'v1beta1/{+parent}/extensions:import', options)
4852
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension::Representation
4853
+ command.request_object = google_cloud_aiplatform_v1beta1_extension_object
4854
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4855
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4856
+ command.params['parent'] = parent unless parent.nil?
4857
+ command.query['fields'] = fields unless fields.nil?
4858
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4859
+ execute_or_queue_command(command, &block)
4860
+ end
4861
+
4862
+ # Lists Extensions in a location.
4863
+ # @param [String] parent
4864
+ # Required. The resource name of the Location to list the Extensions from.
4865
+ # Format: `projects/`project`/locations/`location``
4866
+ # @param [String] filter
4867
+ # Optional. The standard list filter. Supported fields: * `display_name` * `
4868
+ # create_time` * `update_time` More detail in [AIP-160](https://google.aip.dev/
4869
+ # 160).
4870
+ # @param [String] order_by
4871
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
4872
+ # order. Use "desc" after a field name for descending. Supported fields: * `
4873
+ # display_name` * `create_time` * `update_time` Example: `display_name,
4874
+ # create_time desc`.
4875
+ # @param [Fixnum] page_size
4876
+ # Optional. The standard list page size.
4877
+ # @param [String] page_token
4878
+ # Optional. The standard list page token.
4879
+ # @param [String] fields
4880
+ # Selector specifying which fields to include in a partial response.
4881
+ # @param [String] quota_user
4882
+ # Available to use for quota purposes for server-side applications. Can be any
4883
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4884
+ # @param [Google::Apis::RequestOptions] options
4885
+ # Request-specific options
4886
+ #
4887
+ # @yield [result, err] Result & error if block supplied
4888
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExtensionsResponse] parsed result object
4889
+ # @yieldparam err [StandardError] error object if request failed
4890
+ #
4891
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExtensionsResponse]
4892
+ #
4893
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4894
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4895
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4896
+ def list_project_location_extensions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4897
+ command = make_simple_command(:get, 'v1beta1/{+parent}/extensions', options)
4898
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExtensionsResponse::Representation
4899
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListExtensionsResponse
4900
+ command.params['parent'] = parent unless parent.nil?
4901
+ command.query['filter'] = filter unless filter.nil?
4902
+ command.query['orderBy'] = order_by unless order_by.nil?
4903
+ command.query['pageSize'] = page_size unless page_size.nil?
4904
+ command.query['pageToken'] = page_token unless page_token.nil?
4905
+ command.query['fields'] = fields unless fields.nil?
4906
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4907
+ execute_or_queue_command(command, &block)
4908
+ end
4909
+
4910
+ # Updates an Extension.
4911
+ # @param [String] name
4912
+ # Identifier. The resource name of the Extension.
4913
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension] google_cloud_aiplatform_v1beta1_extension_object
4914
+ # @param [String] update_mask
4915
+ # Required. Mask specifying which fields to update. Supported fields: * `
4916
+ # display_name` * `description` * `tool_use_examples`
4917
+ # @param [String] fields
4918
+ # Selector specifying which fields to include in a partial response.
4919
+ # @param [String] quota_user
4920
+ # Available to use for quota purposes for server-side applications. Can be any
4921
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4922
+ # @param [Google::Apis::RequestOptions] options
4923
+ # Request-specific options
4924
+ #
4925
+ # @yield [result, err] Result & error if block supplied
4926
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension] parsed result object
4927
+ # @yieldparam err [StandardError] error object if request failed
4928
+ #
4929
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension]
4930
+ #
4931
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4932
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4933
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4934
+ def patch_project_location_extension(name, google_cloud_aiplatform_v1beta1_extension_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4935
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
4936
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension::Representation
4937
+ command.request_object = google_cloud_aiplatform_v1beta1_extension_object
4938
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension::Representation
4939
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension
4940
+ command.params['name'] = name unless name.nil?
4941
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4942
+ command.query['fields'] = fields unless fields.nil?
4943
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4944
+ execute_or_queue_command(command, &block)
4945
+ end
4946
+
4947
+ # Queries an extension with a default controller.
4948
+ # @param [String] name
4949
+ # Required. Name (identifier) of the extension; Format: `projects/`project`/
4950
+ # locations/`location`/extensions/`extension``
4951
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionRequest] google_cloud_aiplatform_v1beta1_query_extension_request_object
4952
+ # @param [String] fields
4953
+ # Selector specifying which fields to include in a partial response.
4954
+ # @param [String] quota_user
4955
+ # Available to use for quota purposes for server-side applications. Can be any
4956
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4957
+ # @param [Google::Apis::RequestOptions] options
4958
+ # Request-specific options
4959
+ #
4960
+ # @yield [result, err] Result & error if block supplied
4961
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionResponse] parsed result object
4962
+ # @yieldparam err [StandardError] error object if request failed
4963
+ #
4964
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionResponse]
4965
+ #
4966
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4967
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4968
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4969
+ def query_project_location_extension(name, google_cloud_aiplatform_v1beta1_query_extension_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4970
+ command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
4971
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionRequest::Representation
4972
+ command.request_object = google_cloud_aiplatform_v1beta1_query_extension_request_object
4973
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionResponse::Representation
4974
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryExtensionResponse
4975
+ command.params['name'] = name unless name.nil?
4976
+ command.query['fields'] = fields unless fields.nil?
4977
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4978
+ execute_or_queue_command(command, &block)
4979
+ end
4980
+
4732
4981
  # Starts asynchronous cancellation on a long-running operation. The server makes
4733
4982
  # a best effort to cancel the operation, but success is not guaranteed. If the
4734
4983
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -6517,6 +6766,42 @@ module Google
6517
6766
  execute_or_queue_command(command, &block)
6518
6767
  end
6519
6768
 
6769
+ # Bidirectional streaming RPC to fetch feature values under a FeatureView.
6770
+ # Requests may not have a one-to-one mapping to responses and responses may be
6771
+ # returned out-of-order to reduce latency.
6772
+ # @param [String] feature_view
6773
+ # Required. FeatureView resource format `projects/`project`/locations/`location`/
6774
+ # featureOnlineStores/`featureOnlineStore`/featureViews/`featureView``
6775
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest] google_cloud_aiplatform_v1beta1_streaming_fetch_feature_values_request_object
6776
+ # @param [String] fields
6777
+ # Selector specifying which fields to include in a partial response.
6778
+ # @param [String] quota_user
6779
+ # Available to use for quota purposes for server-side applications. Can be any
6780
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6781
+ # @param [Google::Apis::RequestOptions] options
6782
+ # Request-specific options
6783
+ #
6784
+ # @yield [result, err] Result & error if block supplied
6785
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse] parsed result object
6786
+ # @yieldparam err [StandardError] error object if request failed
6787
+ #
6788
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse]
6789
+ #
6790
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6791
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6792
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6793
+ def streaming_project_location_feature_online_store_feature_view_fetch_feature_values(feature_view, google_cloud_aiplatform_v1beta1_streaming_fetch_feature_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6794
+ command = make_simple_command(:post, 'v1beta1/{+featureView}:streamingFetchFeatureValues', options)
6795
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesRequest::Representation
6796
+ command.request_object = google_cloud_aiplatform_v1beta1_streaming_fetch_feature_values_request_object
6797
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse::Representation
6798
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingFetchFeatureValuesResponse
6799
+ command.params['featureView'] = feature_view unless feature_view.nil?
6800
+ command.query['fields'] = fields unless fields.nil?
6801
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6802
+ execute_or_queue_command(command, &block)
6803
+ end
6804
+
6520
6805
  # Triggers on-demand sync for the FeatureView.
6521
6806
  # @param [String] feature_view
6522
6807
  # Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
@@ -15033,8 +15318,8 @@ module Google
15033
15318
  # supports = and !=. healthState enum: [HEALTHY, UNHEALTHY,
15034
15319
  # HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState
15035
15320
  # enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED,
15036
- # STOPPED, BEING_UPGRADED]. * `runtimeUser` supports = and !=. * API version is
15037
- # UI only: `uiState` supports = and !=. uiState enum: [
15321
+ # STOPPED, BEING_UPGRADED, ERROR, INVALID]. * `runtimeUser` supports = and !=. *
15322
+ # API version is UI only: `uiState` supports = and !=. uiState enum: [
15038
15323
  # UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED,
15039
15324
  # UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
15040
15325
  # UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=.
@@ -15556,6 +15841,41 @@ module Google
15556
15841
  execute_or_queue_command(command, &block)
15557
15842
  end
15558
15843
 
15844
+ # Reboots a PersistentResource.
15845
+ # @param [String] name
15846
+ # Required. The name of the PersistentResource resource. Format: `projects/`
15847
+ # project_id_or_number`/locations/`location_id`/persistentResources/`
15848
+ # persistent_resource_id``
15849
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest] google_cloud_aiplatform_v1beta1_reboot_persistent_resource_request_object
15850
+ # @param [String] fields
15851
+ # Selector specifying which fields to include in a partial response.
15852
+ # @param [String] quota_user
15853
+ # Available to use for quota purposes for server-side applications. Can be any
15854
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
15855
+ # @param [Google::Apis::RequestOptions] options
15856
+ # Request-specific options
15857
+ #
15858
+ # @yield [result, err] Result & error if block supplied
15859
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
15860
+ # @yieldparam err [StandardError] error object if request failed
15861
+ #
15862
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
15863
+ #
15864
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
15865
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
15866
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
15867
+ def reboot_project_location_persistent_resource(name, google_cloud_aiplatform_v1beta1_reboot_persistent_resource_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
15868
+ command = make_simple_command(:post, 'v1beta1/{+name}:reboot', options)
15869
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest::Representation
15870
+ command.request_object = google_cloud_aiplatform_v1beta1_reboot_persistent_resource_request_object
15871
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
15872
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
15873
+ command.params['name'] = name unless name.nil?
15874
+ command.query['fields'] = fields unless fields.nil?
15875
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
15876
+ execute_or_queue_command(command, &block)
15877
+ end
15878
+
15559
15879
  # Starts asynchronous cancellation on a long-running operation. The server makes
15560
15880
  # a best effort to cancel the operation, but success is not guaranteed. If the
15561
15881
  # 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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.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: 2024-03-17 00:00:00.000000000 Z
11
+ date: 2024-03-24 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []