google-apis-aiplatform_v1beta1 0.28.0 → 0.29.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 +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +992 -152
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +430 -60
- data/lib/google/apis/aiplatform_v1beta1/service.rb +320 -1
- metadata +3 -3
@@ -860,6 +860,179 @@ module Google
|
|
860
860
|
execute_or_queue_command(command, &block)
|
861
861
|
end
|
862
862
|
|
863
|
+
# Creates cached content, this call will initialize the cached content in the
|
864
|
+
# data storage, and users need to pay for the cache data storage.
|
865
|
+
# @param [String] parent
|
866
|
+
# Required. The parent resource where the cached content will be created
|
867
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent] google_cloud_aiplatform_v1beta1_cached_content_object
|
868
|
+
# @param [String] fields
|
869
|
+
# Selector specifying which fields to include in a partial response.
|
870
|
+
# @param [String] quota_user
|
871
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
872
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
873
|
+
# @param [Google::Apis::RequestOptions] options
|
874
|
+
# Request-specific options
|
875
|
+
#
|
876
|
+
# @yield [result, err] Result & error if block supplied
|
877
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent] parsed result object
|
878
|
+
# @yieldparam err [StandardError] error object if request failed
|
879
|
+
#
|
880
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent]
|
881
|
+
#
|
882
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
883
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
884
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
885
|
+
def create_project_location_cached_content(parent, google_cloud_aiplatform_v1beta1_cached_content_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
886
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/cachedContents', options)
|
887
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent::Representation
|
888
|
+
command.request_object = google_cloud_aiplatform_v1beta1_cached_content_object
|
889
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent::Representation
|
890
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent
|
891
|
+
command.params['parent'] = parent unless parent.nil?
|
892
|
+
command.query['fields'] = fields unless fields.nil?
|
893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
894
|
+
execute_or_queue_command(command, &block)
|
895
|
+
end
|
896
|
+
|
897
|
+
# Deletes cached content
|
898
|
+
# @param [String] name
|
899
|
+
# Required. The resource name referring to the cached content
|
900
|
+
# @param [String] fields
|
901
|
+
# Selector specifying which fields to include in a partial response.
|
902
|
+
# @param [String] quota_user
|
903
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
904
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
905
|
+
# @param [Google::Apis::RequestOptions] options
|
906
|
+
# Request-specific options
|
907
|
+
#
|
908
|
+
# @yield [result, err] Result & error if block supplied
|
909
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
910
|
+
# @yieldparam err [StandardError] error object if request failed
|
911
|
+
#
|
912
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
913
|
+
#
|
914
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
915
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
916
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
917
|
+
def delete_project_location_cached_content(name, fields: nil, quota_user: nil, options: nil, &block)
|
918
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
919
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
920
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
921
|
+
command.params['name'] = name unless name.nil?
|
922
|
+
command.query['fields'] = fields unless fields.nil?
|
923
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
924
|
+
execute_or_queue_command(command, &block)
|
925
|
+
end
|
926
|
+
|
927
|
+
# Gets cached content configurations
|
928
|
+
# @param [String] name
|
929
|
+
# Required. The resource name referring to the cached content
|
930
|
+
# @param [String] fields
|
931
|
+
# Selector specifying which fields to include in a partial response.
|
932
|
+
# @param [String] quota_user
|
933
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
934
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
935
|
+
# @param [Google::Apis::RequestOptions] options
|
936
|
+
# Request-specific options
|
937
|
+
#
|
938
|
+
# @yield [result, err] Result & error if block supplied
|
939
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent] parsed result object
|
940
|
+
# @yieldparam err [StandardError] error object if request failed
|
941
|
+
#
|
942
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent]
|
943
|
+
#
|
944
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
945
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
946
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
947
|
+
def get_project_location_cached_content(name, fields: nil, quota_user: nil, options: nil, &block)
|
948
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
949
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent::Representation
|
950
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent
|
951
|
+
command.params['name'] = name unless name.nil?
|
952
|
+
command.query['fields'] = fields unless fields.nil?
|
953
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
954
|
+
execute_or_queue_command(command, &block)
|
955
|
+
end
|
956
|
+
|
957
|
+
# Lists cached contents in a project
|
958
|
+
# @param [String] parent
|
959
|
+
# Required. The parent, which owns this collection of cached contents.
|
960
|
+
# @param [Fixnum] page_size
|
961
|
+
# Optional. The maximum number of cached contents to return. The service may
|
962
|
+
# return fewer than this value. If unspecified, some default (under maximum)
|
963
|
+
# number of items will be returned. The maximum value is 1000; values above 1000
|
964
|
+
# will be coerced to 1000.
|
965
|
+
# @param [String] page_token
|
966
|
+
# Optional. A page token, received from a previous `ListCachedContents` call.
|
967
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
968
|
+
# parameters provided to `ListCachedContents` must match the call that provided
|
969
|
+
# the page token.
|
970
|
+
# @param [String] fields
|
971
|
+
# Selector specifying which fields to include in a partial response.
|
972
|
+
# @param [String] quota_user
|
973
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
974
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
975
|
+
# @param [Google::Apis::RequestOptions] options
|
976
|
+
# Request-specific options
|
977
|
+
#
|
978
|
+
# @yield [result, err] Result & error if block supplied
|
979
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListCachedContentsResponse] parsed result object
|
980
|
+
# @yieldparam err [StandardError] error object if request failed
|
981
|
+
#
|
982
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListCachedContentsResponse]
|
983
|
+
#
|
984
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
985
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
986
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
987
|
+
def list_project_location_cached_contents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
988
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/cachedContents', options)
|
989
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListCachedContentsResponse::Representation
|
990
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListCachedContentsResponse
|
991
|
+
command.params['parent'] = parent unless parent.nil?
|
992
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
993
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
994
|
+
command.query['fields'] = fields unless fields.nil?
|
995
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
996
|
+
execute_or_queue_command(command, &block)
|
997
|
+
end
|
998
|
+
|
999
|
+
# Updates cached content configurations
|
1000
|
+
# @param [String] name
|
1001
|
+
# Immutable. Identifier. The resource name of the cached content Format:
|
1002
|
+
# projects/`project`/locations/`location`/cachedContents/`cached_content`
|
1003
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent] google_cloud_aiplatform_v1beta1_cached_content_object
|
1004
|
+
# @param [String] update_mask
|
1005
|
+
# Required. The list of fields to update.
|
1006
|
+
# @param [String] fields
|
1007
|
+
# Selector specifying which fields to include in a partial response.
|
1008
|
+
# @param [String] quota_user
|
1009
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1010
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1011
|
+
# @param [Google::Apis::RequestOptions] options
|
1012
|
+
# Request-specific options
|
1013
|
+
#
|
1014
|
+
# @yield [result, err] Result & error if block supplied
|
1015
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent] parsed result object
|
1016
|
+
# @yieldparam err [StandardError] error object if request failed
|
1017
|
+
#
|
1018
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent]
|
1019
|
+
#
|
1020
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1021
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1022
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1023
|
+
def patch_project_location_cached_content(name, google_cloud_aiplatform_v1beta1_cached_content_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1024
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1025
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent::Representation
|
1026
|
+
command.request_object = google_cloud_aiplatform_v1beta1_cached_content_object
|
1027
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent::Representation
|
1028
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent
|
1029
|
+
command.params['name'] = name unless name.nil?
|
1030
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1031
|
+
command.query['fields'] = fields unless fields.nil?
|
1032
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1033
|
+
execute_or_queue_command(command, &block)
|
1034
|
+
end
|
1035
|
+
|
863
1036
|
# Cancels a CustomJob. Starts asynchronous cancellation on the CustomJob. The
|
864
1037
|
# server makes a best effort to cancel the job, but success is not guaranteed.
|
865
1038
|
# Clients can use JobService.GetCustomJob or other methods to check whether the
|
@@ -4614,6 +4787,40 @@ module Google
|
|
4614
4787
|
execute_or_queue_command(command, &block)
|
4615
4788
|
end
|
4616
4789
|
|
4790
|
+
# Exposes an OpenAI-compatible endpoint for chat completions.
|
4791
|
+
# @param [String] endpoint
|
4792
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
4793
|
+
# projects/`project`/locations/`location`/endpoints/openapi`
|
4794
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] google_api_http_body_object
|
4795
|
+
# @param [String] fields
|
4796
|
+
# Selector specifying which fields to include in a partial response.
|
4797
|
+
# @param [String] quota_user
|
4798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4800
|
+
# @param [Google::Apis::RequestOptions] options
|
4801
|
+
# Request-specific options
|
4802
|
+
#
|
4803
|
+
# @yield [result, err] Result & error if block supplied
|
4804
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
4805
|
+
# @yieldparam err [StandardError] error object if request failed
|
4806
|
+
#
|
4807
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
4808
|
+
#
|
4809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4812
|
+
def completions_project_location_endpoint_chat(endpoint, google_api_http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4813
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}/chat/completions', options)
|
4814
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
4815
|
+
command.request_object = google_api_http_body_object
|
4816
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
4817
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
4818
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
4819
|
+
command.query['fields'] = fields unless fields.nil?
|
4820
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4821
|
+
execute_or_queue_command(command, &block)
|
4822
|
+
end
|
4823
|
+
|
4617
4824
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4618
4825
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4619
4826
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -5493,7 +5700,8 @@ module Google
|
|
5493
5700
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension] google_cloud_aiplatform_v1beta1_extension_object
|
5494
5701
|
# @param [String] update_mask
|
5495
5702
|
# Required. Mask specifying which fields to update. Supported fields: * `
|
5496
|
-
# display_name` * `description` * `tool_use_examples`
|
5703
|
+
# display_name` * `description` * `runtime_config` * `tool_use_examples` * `
|
5704
|
+
# manifest.description`
|
5497
5705
|
# @param [String] fields
|
5498
5706
|
# Selector specifying which fields to include in a partial response.
|
5499
5707
|
# @param [String] quota_user
|
@@ -15608,6 +15816,43 @@ module Google
|
|
15608
15816
|
execute_or_queue_command(command, &block)
|
15609
15817
|
end
|
15610
15818
|
|
15819
|
+
# Creates a NotebookExecutionJob.
|
15820
|
+
# @param [String] parent
|
15821
|
+
# Required. The resource name of the Location to create the NotebookExecutionJob.
|
15822
|
+
# Format: `projects/`project`/locations/`location``
|
15823
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJob] google_cloud_aiplatform_v1beta1_notebook_execution_job_object
|
15824
|
+
# @param [String] notebook_execution_job_id
|
15825
|
+
# Optional. User specified ID for the NotebookExecutionJob.
|
15826
|
+
# @param [String] fields
|
15827
|
+
# Selector specifying which fields to include in a partial response.
|
15828
|
+
# @param [String] quota_user
|
15829
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15830
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15831
|
+
# @param [Google::Apis::RequestOptions] options
|
15832
|
+
# Request-specific options
|
15833
|
+
#
|
15834
|
+
# @yield [result, err] Result & error if block supplied
|
15835
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
15836
|
+
# @yieldparam err [StandardError] error object if request failed
|
15837
|
+
#
|
15838
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
15839
|
+
#
|
15840
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15841
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15842
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15843
|
+
def create_project_location_notebook_execution_job(parent, google_cloud_aiplatform_v1beta1_notebook_execution_job_object = nil, notebook_execution_job_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
15844
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/notebookExecutionJobs', options)
|
15845
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJob::Representation
|
15846
|
+
command.request_object = google_cloud_aiplatform_v1beta1_notebook_execution_job_object
|
15847
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
15848
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
15849
|
+
command.params['parent'] = parent unless parent.nil?
|
15850
|
+
command.query['notebookExecutionJobId'] = notebook_execution_job_id unless notebook_execution_job_id.nil?
|
15851
|
+
command.query['fields'] = fields unless fields.nil?
|
15852
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15853
|
+
execute_or_queue_command(command, &block)
|
15854
|
+
end
|
15855
|
+
|
15611
15856
|
# Deletes a NotebookExecutionJob.
|
15612
15857
|
# @param [String] name
|
15613
15858
|
# Required. The name of the NotebookExecutionJob resource to be deleted.
|
@@ -16007,6 +16252,44 @@ module Google
|
|
16007
16252
|
execute_or_queue_command(command, &block)
|
16008
16253
|
end
|
16009
16254
|
|
16255
|
+
# Updates a NotebookRuntimeTemplate.
|
16256
|
+
# @param [String] name
|
16257
|
+
# The resource name of the NotebookRuntimeTemplate.
|
16258
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate] google_cloud_aiplatform_v1beta1_notebook_runtime_template_object
|
16259
|
+
# @param [String] update_mask
|
16260
|
+
# Required. The update mask applies to the resource. For the `FieldMask`
|
16261
|
+
# definition, see google.protobuf.FieldMask. Input format: ``paths: "$`
|
16262
|
+
# updated_filed`"`` Updatable fields: * `encryption_spec.kms_key_name`
|
16263
|
+
# @param [String] fields
|
16264
|
+
# Selector specifying which fields to include in a partial response.
|
16265
|
+
# @param [String] quota_user
|
16266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16268
|
+
# @param [Google::Apis::RequestOptions] options
|
16269
|
+
# Request-specific options
|
16270
|
+
#
|
16271
|
+
# @yield [result, err] Result & error if block supplied
|
16272
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate] parsed result object
|
16273
|
+
# @yieldparam err [StandardError] error object if request failed
|
16274
|
+
#
|
16275
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate]
|
16276
|
+
#
|
16277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16280
|
+
def patch_project_location_notebook_runtime_template(name, google_cloud_aiplatform_v1beta1_notebook_runtime_template_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16281
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
16282
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate::Representation
|
16283
|
+
command.request_object = google_cloud_aiplatform_v1beta1_notebook_runtime_template_object
|
16284
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate::Representation
|
16285
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate
|
16286
|
+
command.params['name'] = name unless name.nil?
|
16287
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
16288
|
+
command.query['fields'] = fields unless fields.nil?
|
16289
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16290
|
+
execute_or_queue_command(command, &block)
|
16291
|
+
end
|
16292
|
+
|
16010
16293
|
# Sets the access control policy on the specified resource. Replaces any
|
16011
16294
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
16012
16295
|
# PERMISSION_DENIED` errors.
|
@@ -18515,6 +18798,42 @@ module Google
|
|
18515
18798
|
execute_or_queue_command(command, &block)
|
18516
18799
|
end
|
18517
18800
|
|
18801
|
+
# Updates a reasoning engine.
|
18802
|
+
# @param [String] name
|
18803
|
+
# Identifier. The resource name of the ReasoningEngine.
|
18804
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] google_cloud_aiplatform_v1beta1_reasoning_engine_object
|
18805
|
+
# @param [String] update_mask
|
18806
|
+
# Required. Mask specifying which fields to update.
|
18807
|
+
# @param [String] fields
|
18808
|
+
# Selector specifying which fields to include in a partial response.
|
18809
|
+
# @param [String] quota_user
|
18810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18812
|
+
# @param [Google::Apis::RequestOptions] options
|
18813
|
+
# Request-specific options
|
18814
|
+
#
|
18815
|
+
# @yield [result, err] Result & error if block supplied
|
18816
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
18817
|
+
# @yieldparam err [StandardError] error object if request failed
|
18818
|
+
#
|
18819
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
18820
|
+
#
|
18821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18824
|
+
def patch_project_location_reasoning_engine(name, google_cloud_aiplatform_v1beta1_reasoning_engine_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
18825
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
18826
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine::Representation
|
18827
|
+
command.request_object = google_cloud_aiplatform_v1beta1_reasoning_engine_object
|
18828
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
18829
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
18830
|
+
command.params['name'] = name unless name.nil?
|
18831
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
18832
|
+
command.query['fields'] = fields unless fields.nil?
|
18833
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18834
|
+
execute_or_queue_command(command, &block)
|
18835
|
+
end
|
18836
|
+
|
18518
18837
|
# Queries using a reasoning engine.
|
18519
18838
|
# @param [String] name
|
18520
18839
|
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
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.
|
4
|
+
version: 0.29.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-
|
11
|
+
date: 2024-06-02 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.29.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: []
|