google-apis-aiplatform_v1beta1 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +1256 -123
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +549 -2
- data/lib/google/apis/aiplatform_v1beta1/service.rb +578 -10
- metadata +3 -3
@@ -3659,13 +3659,14 @@ 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
|
3663
|
-
#
|
3664
|
-
# Endpoint's resource name. * `display_name` supports
|
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
|
3667
|
-
# space must be quoted. `labels."a key"`.
|
3668
|
-
# displayName="myDisplayName"` * `labels.myKey="
|
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
|
+
# Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="
|
3669
|
+
# myValue"` * `baseModelName="text-bison"`
|
3669
3670
|
# @param [Fixnum] page_size
|
3670
3671
|
# Optional. The standard list page size.
|
3671
3672
|
# @param [String] page_token
|
@@ -4728,6 +4729,255 @@ module Google
|
|
4728
4729
|
execute_or_queue_command(command, &block)
|
4729
4730
|
end
|
4730
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
|
+
|
4731
4981
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4732
4982
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4733
4983
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -5927,6 +6177,51 @@ module Google
|
|
5927
6177
|
execute_or_queue_command(command, &block)
|
5928
6178
|
end
|
5929
6179
|
|
6180
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
6181
|
+
# resource exists and does not have a policy set.
|
6182
|
+
# @param [String] resource
|
6183
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
6184
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
6185
|
+
# appropriate value for this field.
|
6186
|
+
# @param [Fixnum] options_requested_policy_version
|
6187
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
6188
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
6189
|
+
# rejected. Requests for policies with any conditional role bindings must
|
6190
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
6191
|
+
# valid value or leave the field unset. The policy in the response might use the
|
6192
|
+
# policy version that you specified, or it might use a lower policy version. For
|
6193
|
+
# example, if you specify version 3, but the policy has no conditional role
|
6194
|
+
# bindings, the response uses version 1. To learn which resources support
|
6195
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
6196
|
+
# google.com/iam/help/conditions/resource-policies).
|
6197
|
+
# @param [String] fields
|
6198
|
+
# Selector specifying which fields to include in a partial response.
|
6199
|
+
# @param [String] quota_user
|
6200
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6201
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6202
|
+
# @param [Google::Apis::RequestOptions] options
|
6203
|
+
# Request-specific options
|
6204
|
+
#
|
6205
|
+
# @yield [result, err] Result & error if block supplied
|
6206
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
6207
|
+
# @yieldparam err [StandardError] error object if request failed
|
6208
|
+
#
|
6209
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
6210
|
+
#
|
6211
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6212
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6213
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6214
|
+
def get_project_location_feature_online_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6215
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
6216
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
6217
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
6218
|
+
command.params['resource'] = resource unless resource.nil?
|
6219
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
6220
|
+
command.query['fields'] = fields unless fields.nil?
|
6221
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6222
|
+
execute_or_queue_command(command, &block)
|
6223
|
+
end
|
6224
|
+
|
5930
6225
|
# Lists FeatureOnlineStores in a given project and location.
|
5931
6226
|
# @param [String] parent
|
5932
6227
|
# Required. The resource name of the Location to list FeatureOnlineStores.
|
@@ -6029,6 +6324,84 @@ module Google
|
|
6029
6324
|
execute_or_queue_command(command, &block)
|
6030
6325
|
end
|
6031
6326
|
|
6327
|
+
# Sets the access control policy on the specified resource. Replaces any
|
6328
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
6329
|
+
# PERMISSION_DENIED` errors.
|
6330
|
+
# @param [String] resource
|
6331
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
6332
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
6333
|
+
# appropriate value for this field.
|
6334
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
6335
|
+
# @param [String] fields
|
6336
|
+
# Selector specifying which fields to include in a partial response.
|
6337
|
+
# @param [String] quota_user
|
6338
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6339
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6340
|
+
# @param [Google::Apis::RequestOptions] options
|
6341
|
+
# Request-specific options
|
6342
|
+
#
|
6343
|
+
# @yield [result, err] Result & error if block supplied
|
6344
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
6345
|
+
# @yieldparam err [StandardError] error object if request failed
|
6346
|
+
#
|
6347
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
6348
|
+
#
|
6349
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6350
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6351
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6352
|
+
def set_project_location_feature_online_store_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6353
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
6354
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
6355
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
6356
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
6357
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
6358
|
+
command.params['resource'] = resource unless resource.nil?
|
6359
|
+
command.query['fields'] = fields unless fields.nil?
|
6360
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6361
|
+
execute_or_queue_command(command, &block)
|
6362
|
+
end
|
6363
|
+
|
6364
|
+
# Returns permissions that a caller has on the specified resource. If the
|
6365
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
6366
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
6367
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
6368
|
+
# This operation may "fail open" without warning.
|
6369
|
+
# @param [String] resource
|
6370
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
6371
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
6372
|
+
# appropriate value for this field.
|
6373
|
+
# @param [Array<String>, String] permissions
|
6374
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
6375
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
6376
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
6377
|
+
# @param [String] fields
|
6378
|
+
# Selector specifying which fields to include in a partial response.
|
6379
|
+
# @param [String] quota_user
|
6380
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6381
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6382
|
+
# @param [Google::Apis::RequestOptions] options
|
6383
|
+
# Request-specific options
|
6384
|
+
#
|
6385
|
+
# @yield [result, err] Result & error if block supplied
|
6386
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
6387
|
+
# @yieldparam err [StandardError] error object if request failed
|
6388
|
+
#
|
6389
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse]
|
6390
|
+
#
|
6391
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6392
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6393
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6394
|
+
def test_project_location_feature_online_store_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6395
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
6396
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
6397
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse
|
6398
|
+
command.params['resource'] = resource unless resource.nil?
|
6399
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
6400
|
+
command.query['fields'] = fields unless fields.nil?
|
6401
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6402
|
+
execute_or_queue_command(command, &block)
|
6403
|
+
end
|
6404
|
+
|
6032
6405
|
# Creates a new FeatureView in a given FeatureOnlineStore.
|
6033
6406
|
# @param [String] parent
|
6034
6407
|
# Required. The resource name of the FeatureOnlineStore to create FeatureViews.
|
@@ -6172,6 +6545,51 @@ module Google
|
|
6172
6545
|
execute_or_queue_command(command, &block)
|
6173
6546
|
end
|
6174
6547
|
|
6548
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
6549
|
+
# resource exists and does not have a policy set.
|
6550
|
+
# @param [String] resource
|
6551
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
6552
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
6553
|
+
# appropriate value for this field.
|
6554
|
+
# @param [Fixnum] options_requested_policy_version
|
6555
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
6556
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
6557
|
+
# rejected. Requests for policies with any conditional role bindings must
|
6558
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
6559
|
+
# valid value or leave the field unset. The policy in the response might use the
|
6560
|
+
# policy version that you specified, or it might use a lower policy version. For
|
6561
|
+
# example, if you specify version 3, but the policy has no conditional role
|
6562
|
+
# bindings, the response uses version 1. To learn which resources support
|
6563
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
6564
|
+
# google.com/iam/help/conditions/resource-policies).
|
6565
|
+
# @param [String] fields
|
6566
|
+
# Selector specifying which fields to include in a partial response.
|
6567
|
+
# @param [String] quota_user
|
6568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6570
|
+
# @param [Google::Apis::RequestOptions] options
|
6571
|
+
# Request-specific options
|
6572
|
+
#
|
6573
|
+
# @yield [result, err] Result & error if block supplied
|
6574
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
6575
|
+
# @yieldparam err [StandardError] error object if request failed
|
6576
|
+
#
|
6577
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
6578
|
+
#
|
6579
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6580
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6581
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6582
|
+
def get_project_location_feature_online_store_feature_view_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6583
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
6584
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
6585
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
6586
|
+
command.params['resource'] = resource unless resource.nil?
|
6587
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
6588
|
+
command.query['fields'] = fields unless fields.nil?
|
6589
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6590
|
+
execute_or_queue_command(command, &block)
|
6591
|
+
end
|
6592
|
+
|
6175
6593
|
# Lists FeatureViews in a given FeatureOnlineStore.
|
6176
6594
|
# @param [String] parent
|
6177
6595
|
# Required. The resource name of the FeatureOnlineStore to list FeatureViews.
|
@@ -6311,6 +6729,79 @@ module Google
|
|
6311
6729
|
execute_or_queue_command(command, &block)
|
6312
6730
|
end
|
6313
6731
|
|
6732
|
+
# Sets the access control policy on the specified resource. Replaces any
|
6733
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
6734
|
+
# PERMISSION_DENIED` errors.
|
6735
|
+
# @param [String] resource
|
6736
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
6737
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
6738
|
+
# appropriate value for this field.
|
6739
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
6740
|
+
# @param [String] fields
|
6741
|
+
# Selector specifying which fields to include in a partial response.
|
6742
|
+
# @param [String] quota_user
|
6743
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6744
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6745
|
+
# @param [Google::Apis::RequestOptions] options
|
6746
|
+
# Request-specific options
|
6747
|
+
#
|
6748
|
+
# @yield [result, err] Result & error if block supplied
|
6749
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy] parsed result object
|
6750
|
+
# @yieldparam err [StandardError] error object if request failed
|
6751
|
+
#
|
6752
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1Policy]
|
6753
|
+
#
|
6754
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6755
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6756
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6757
|
+
def set_project_location_feature_online_store_feature_view_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6758
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
6759
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
6760
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
6761
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy::Representation
|
6762
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1Policy
|
6763
|
+
command.params['resource'] = resource unless resource.nil?
|
6764
|
+
command.query['fields'] = fields unless fields.nil?
|
6765
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6766
|
+
execute_or_queue_command(command, &block)
|
6767
|
+
end
|
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
|
+
|
6314
6805
|
# Triggers on-demand sync for the FeatureView.
|
6315
6806
|
# @param [String] feature_view
|
6316
6807
|
# Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
|
@@ -6345,6 +6836,47 @@ module Google
|
|
6345
6836
|
execute_or_queue_command(command, &block)
|
6346
6837
|
end
|
6347
6838
|
|
6839
|
+
# Returns permissions that a caller has on the specified resource. If the
|
6840
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
6841
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
6842
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
6843
|
+
# This operation may "fail open" without warning.
|
6844
|
+
# @param [String] resource
|
6845
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
6846
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
6847
|
+
# appropriate value for this field.
|
6848
|
+
# @param [Array<String>, String] permissions
|
6849
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
6850
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
6851
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
6852
|
+
# @param [String] fields
|
6853
|
+
# Selector specifying which fields to include in a partial response.
|
6854
|
+
# @param [String] quota_user
|
6855
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6856
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6857
|
+
# @param [Google::Apis::RequestOptions] options
|
6858
|
+
# Request-specific options
|
6859
|
+
#
|
6860
|
+
# @yield [result, err] Result & error if block supplied
|
6861
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
6862
|
+
# @yieldparam err [StandardError] error object if request failed
|
6863
|
+
#
|
6864
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse]
|
6865
|
+
#
|
6866
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6867
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6868
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6869
|
+
def test_project_location_feature_online_store_feature_view_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6870
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
6871
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
6872
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleIamV1TestIamPermissionsResponse
|
6873
|
+
command.params['resource'] = resource unless resource.nil?
|
6874
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
6875
|
+
command.query['fields'] = fields unless fields.nil?
|
6876
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6877
|
+
execute_or_queue_command(command, &block)
|
6878
|
+
end
|
6879
|
+
|
6348
6880
|
# Gets details of a single FeatureViewSync.
|
6349
6881
|
# @param [String] name
|
6350
6882
|
# Required. The name of the FeatureViewSync resource. Format: `projects/`project`
|
@@ -13118,8 +13650,9 @@ module Google
|
|
13118
13650
|
# `display_name` supports = and != * `labels` supports general map functions
|
13119
13651
|
# that is: * `labels.key=value` - key:value equality * `labels.key:* or labels:
|
13120
13652
|
# key - key existence * A key including a space must be quoted. `labels."a key"`.
|
13121
|
-
# Some examples: * `model=1234` * `
|
13122
|
-
# "myValue"`
|
13653
|
+
# * `base_model_name` only supports = Some examples: * `model=1234` * `
|
13654
|
+
# displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-
|
13655
|
+
# bison"`
|
13123
13656
|
# @param [Fixnum] page_size
|
13124
13657
|
# The standard list page size.
|
13125
13658
|
# @param [String] page_token
|
@@ -14785,8 +15318,8 @@ module Google
|
|
14785
15318
|
# supports = and !=. healthState enum: [HEALTHY, UNHEALTHY,
|
14786
15319
|
# HEALTH_STATE_UNSPECIFIED]. * `runtimeState` supports = and !=. runtimeState
|
14787
15320
|
# enum: [RUNTIME_STATE_UNSPECIFIED, RUNNING, BEING_STARTED, BEING_STOPPED,
|
14788
|
-
# STOPPED, BEING_UPGRADED]. * `runtimeUser` supports = and !=. *
|
14789
|
-
# 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: [
|
14790
15323
|
# UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED,
|
14791
15324
|
# UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
|
14792
15325
|
# UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=.
|
@@ -15308,6 +15841,41 @@ module Google
|
|
15308
15841
|
execute_or_queue_command(command, &block)
|
15309
15842
|
end
|
15310
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
|
+
|
15311
15879
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
15312
15880
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
15313
15881
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|