google-apis-aiplatform_v1beta1 0.28.0 → 0.30.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 +1006 -159
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +439 -62
- data/lib/google/apis/aiplatform_v1beta1/service.rb +388 -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::GoogleProtobufEmpty] parsed result object
|
910
|
+
# @yieldparam err [StandardError] error object if request failed
|
911
|
+
#
|
912
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
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::GoogleProtobufEmpty::Representation
|
920
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
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
|
@@ -4538,6 +4711,40 @@ module Google
|
|
4538
4711
|
execute_or_queue_command(command, &block)
|
4539
4712
|
end
|
4540
4713
|
|
4714
|
+
# Perform a streaming online prediction with an arbitrary HTTP payload.
|
4715
|
+
# @param [String] endpoint
|
4716
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
4717
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
4718
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
|
4719
|
+
# @param [String] fields
|
4720
|
+
# Selector specifying which fields to include in a partial response.
|
4721
|
+
# @param [String] quota_user
|
4722
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4723
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4724
|
+
# @param [Google::Apis::RequestOptions] options
|
4725
|
+
# Request-specific options
|
4726
|
+
#
|
4727
|
+
# @yield [result, err] Result & error if block supplied
|
4728
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
4729
|
+
# @yieldparam err [StandardError] error object if request failed
|
4730
|
+
#
|
4731
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
4732
|
+
#
|
4733
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4734
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4735
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4736
|
+
def stream_project_location_endpoint_raw_predict(endpoint, google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4737
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:streamRawPredict', options)
|
4738
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest::Representation
|
4739
|
+
command.request_object = google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
|
4740
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
4741
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
4742
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
4743
|
+
command.query['fields'] = fields unless fields.nil?
|
4744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4745
|
+
execute_or_queue_command(command, &block)
|
4746
|
+
end
|
4747
|
+
|
4541
4748
|
# Returns permissions that a caller has on the specified resource. If the
|
4542
4749
|
# resource does not exist, this will return an empty set of permissions, not a `
|
4543
4750
|
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
@@ -4614,6 +4821,40 @@ module Google
|
|
4614
4821
|
execute_or_queue_command(command, &block)
|
4615
4822
|
end
|
4616
4823
|
|
4824
|
+
# Exposes an OpenAI-compatible endpoint for chat completions.
|
4825
|
+
# @param [String] endpoint
|
4826
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
4827
|
+
# projects/`project`/locations/`location`/endpoints/openapi`
|
4828
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] google_api_http_body_object
|
4829
|
+
# @param [String] fields
|
4830
|
+
# Selector specifying which fields to include in a partial response.
|
4831
|
+
# @param [String] quota_user
|
4832
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4833
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4834
|
+
# @param [Google::Apis::RequestOptions] options
|
4835
|
+
# Request-specific options
|
4836
|
+
#
|
4837
|
+
# @yield [result, err] Result & error if block supplied
|
4838
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
4839
|
+
# @yieldparam err [StandardError] error object if request failed
|
4840
|
+
#
|
4841
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
4842
|
+
#
|
4843
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4844
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4845
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4846
|
+
def completions_project_location_endpoint_chat(endpoint, google_api_http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4847
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}/chat/completions', options)
|
4848
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
4849
|
+
command.request_object = google_api_http_body_object
|
4850
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
4851
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
4852
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
4853
|
+
command.query['fields'] = fields unless fields.nil?
|
4854
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4855
|
+
execute_or_queue_command(command, &block)
|
4856
|
+
end
|
4857
|
+
|
4617
4858
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
4618
4859
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
4619
4860
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -5493,7 +5734,8 @@ module Google
|
|
5493
5734
|
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Extension] google_cloud_aiplatform_v1beta1_extension_object
|
5494
5735
|
# @param [String] update_mask
|
5495
5736
|
# Required. Mask specifying which fields to update. Supported fields: * `
|
5496
|
-
# display_name` * `description` * `tool_use_examples`
|
5737
|
+
# display_name` * `description` * `runtime_config` * `tool_use_examples` * `
|
5738
|
+
# manifest.description`
|
5497
5739
|
# @param [String] fields
|
5498
5740
|
# Selector specifying which fields to include in a partial response.
|
5499
5741
|
# @param [String] quota_user
|
@@ -15608,6 +15850,43 @@ module Google
|
|
15608
15850
|
execute_or_queue_command(command, &block)
|
15609
15851
|
end
|
15610
15852
|
|
15853
|
+
# Creates a NotebookExecutionJob.
|
15854
|
+
# @param [String] parent
|
15855
|
+
# Required. The resource name of the Location to create the NotebookExecutionJob.
|
15856
|
+
# Format: `projects/`project`/locations/`location``
|
15857
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJob] google_cloud_aiplatform_v1beta1_notebook_execution_job_object
|
15858
|
+
# @param [String] notebook_execution_job_id
|
15859
|
+
# Optional. User specified ID for the NotebookExecutionJob.
|
15860
|
+
# @param [String] fields
|
15861
|
+
# Selector specifying which fields to include in a partial response.
|
15862
|
+
# @param [String] quota_user
|
15863
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15864
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15865
|
+
# @param [Google::Apis::RequestOptions] options
|
15866
|
+
# Request-specific options
|
15867
|
+
#
|
15868
|
+
# @yield [result, err] Result & error if block supplied
|
15869
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
15870
|
+
# @yieldparam err [StandardError] error object if request failed
|
15871
|
+
#
|
15872
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
15873
|
+
#
|
15874
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15875
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15876
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15877
|
+
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)
|
15878
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/notebookExecutionJobs', options)
|
15879
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJob::Representation
|
15880
|
+
command.request_object = google_cloud_aiplatform_v1beta1_notebook_execution_job_object
|
15881
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
15882
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
15883
|
+
command.params['parent'] = parent unless parent.nil?
|
15884
|
+
command.query['notebookExecutionJobId'] = notebook_execution_job_id unless notebook_execution_job_id.nil?
|
15885
|
+
command.query['fields'] = fields unless fields.nil?
|
15886
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15887
|
+
execute_or_queue_command(command, &block)
|
15888
|
+
end
|
15889
|
+
|
15611
15890
|
# Deletes a NotebookExecutionJob.
|
15612
15891
|
# @param [String] name
|
15613
15892
|
# Required. The name of the NotebookExecutionJob resource to be deleted.
|
@@ -16007,6 +16286,44 @@ module Google
|
|
16007
16286
|
execute_or_queue_command(command, &block)
|
16008
16287
|
end
|
16009
16288
|
|
16289
|
+
# Updates a NotebookRuntimeTemplate.
|
16290
|
+
# @param [String] name
|
16291
|
+
# The resource name of the NotebookRuntimeTemplate.
|
16292
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate] google_cloud_aiplatform_v1beta1_notebook_runtime_template_object
|
16293
|
+
# @param [String] update_mask
|
16294
|
+
# Required. The update mask applies to the resource. For the `FieldMask`
|
16295
|
+
# definition, see google.protobuf.FieldMask. Input format: ``paths: "$`
|
16296
|
+
# updated_filed`"`` Updatable fields: * `encryption_spec.kms_key_name`
|
16297
|
+
# @param [String] fields
|
16298
|
+
# Selector specifying which fields to include in a partial response.
|
16299
|
+
# @param [String] quota_user
|
16300
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16301
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16302
|
+
# @param [Google::Apis::RequestOptions] options
|
16303
|
+
# Request-specific options
|
16304
|
+
#
|
16305
|
+
# @yield [result, err] Result & error if block supplied
|
16306
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate] parsed result object
|
16307
|
+
# @yieldparam err [StandardError] error object if request failed
|
16308
|
+
#
|
16309
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate]
|
16310
|
+
#
|
16311
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16312
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16313
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16314
|
+
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)
|
16315
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
16316
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate::Representation
|
16317
|
+
command.request_object = google_cloud_aiplatform_v1beta1_notebook_runtime_template_object
|
16318
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate::Representation
|
16319
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate
|
16320
|
+
command.params['name'] = name unless name.nil?
|
16321
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
16322
|
+
command.query['fields'] = fields unless fields.nil?
|
16323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16324
|
+
execute_or_queue_command(command, &block)
|
16325
|
+
end
|
16326
|
+
|
16010
16327
|
# Sets the access control policy on the specified resource. Replaces any
|
16011
16328
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
16012
16329
|
# PERMISSION_DENIED` errors.
|
@@ -17738,6 +18055,40 @@ module Google
|
|
17738
18055
|
execute_or_queue_command(command, &block)
|
17739
18056
|
end
|
17740
18057
|
|
18058
|
+
# Perform a streaming online prediction with an arbitrary HTTP payload.
|
18059
|
+
# @param [String] endpoint
|
18060
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
18061
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
18062
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
|
18063
|
+
# @param [String] fields
|
18064
|
+
# Selector specifying which fields to include in a partial response.
|
18065
|
+
# @param [String] quota_user
|
18066
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18067
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18068
|
+
# @param [Google::Apis::RequestOptions] options
|
18069
|
+
# Request-specific options
|
18070
|
+
#
|
18071
|
+
# @yield [result, err] Result & error if block supplied
|
18072
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
18073
|
+
# @yieldparam err [StandardError] error object if request failed
|
18074
|
+
#
|
18075
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
18076
|
+
#
|
18077
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18078
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18079
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18080
|
+
def stream_project_location_publisher_model_raw_predict(endpoint, google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
18081
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:streamRawPredict', options)
|
18082
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest::Representation
|
18083
|
+
command.request_object = google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object
|
18084
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
18085
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
18086
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
18087
|
+
command.query['fields'] = fields unless fields.nil?
|
18088
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18089
|
+
execute_or_queue_command(command, &block)
|
18090
|
+
end
|
18091
|
+
|
17741
18092
|
# Creates a RagCorpus.
|
17742
18093
|
# @param [String] parent
|
17743
18094
|
# Required. The resource name of the Location to create the RagCorpus in. Format:
|
@@ -18515,6 +18866,42 @@ module Google
|
|
18515
18866
|
execute_or_queue_command(command, &block)
|
18516
18867
|
end
|
18517
18868
|
|
18869
|
+
# Updates a reasoning engine.
|
18870
|
+
# @param [String] name
|
18871
|
+
# Identifier. The resource name of the ReasoningEngine.
|
18872
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] google_cloud_aiplatform_v1beta1_reasoning_engine_object
|
18873
|
+
# @param [String] update_mask
|
18874
|
+
# Required. Mask specifying which fields to update.
|
18875
|
+
# @param [String] fields
|
18876
|
+
# Selector specifying which fields to include in a partial response.
|
18877
|
+
# @param [String] quota_user
|
18878
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18879
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18880
|
+
# @param [Google::Apis::RequestOptions] options
|
18881
|
+
# Request-specific options
|
18882
|
+
#
|
18883
|
+
# @yield [result, err] Result & error if block supplied
|
18884
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
18885
|
+
# @yieldparam err [StandardError] error object if request failed
|
18886
|
+
#
|
18887
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
18888
|
+
#
|
18889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18892
|
+
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)
|
18893
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
18894
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine::Representation
|
18895
|
+
command.request_object = google_cloud_aiplatform_v1beta1_reasoning_engine_object
|
18896
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
18897
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
18898
|
+
command.params['name'] = name unless name.nil?
|
18899
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
18900
|
+
command.query['fields'] = fields unless fields.nil?
|
18901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18902
|
+
execute_or_queue_command(command, &block)
|
18903
|
+
end
|
18904
|
+
|
18518
18905
|
# Queries using a reasoning engine.
|
18519
18906
|
# @param [String] name
|
18520
18907
|
# 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.30.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-16 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.30.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: []
|