google-apis-aiplatform_v1beta1 0.42.0 → 0.43.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.
@@ -52,6 +52,126 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Creates a BatchPredictionJob. A BatchPredictionJob once created will right
56
+ # away be attempted to start.
57
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob] google_cloud_aiplatform_v1beta1_batch_prediction_job_object
58
+ # @param [String] parent
59
+ # Required. The resource name of the Location to create the BatchPredictionJob
60
+ # in. Format: `projects/`project`/locations/`location``
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
63
+ # @param [String] quota_user
64
+ # Available to use for quota purposes for server-side applications. Can be any
65
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
66
+ # @param [Google::Apis::RequestOptions] options
67
+ # Request-specific options
68
+ #
69
+ # @yield [result, err] Result & error if block supplied
70
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob] parsed result object
71
+ # @yieldparam err [StandardError] error object if request failed
72
+ #
73
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob]
74
+ #
75
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
76
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
77
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
78
+ def create_batch_prediction_job(google_cloud_aiplatform_v1beta1_batch_prediction_job_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
79
+ command = make_simple_command(:post, 'v1beta1/batchPredictionJobs', options)
80
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob::Representation
81
+ command.request_object = google_cloud_aiplatform_v1beta1_batch_prediction_job_object
82
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob::Representation
83
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob
84
+ command.query['parent'] = parent unless parent.nil?
85
+ command.query['fields'] = fields unless fields.nil?
86
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
87
+ execute_or_queue_command(command, &block)
88
+ end
89
+
90
+ # Gets a BatchPredictionJob
91
+ # @param [String] name
92
+ # Required. The name of the BatchPredictionJob resource. Format: `projects/`
93
+ # project`/locations/`location`/batchPredictionJobs/`batch_prediction_job``
94
+ # @param [String] fields
95
+ # Selector specifying which fields to include in a partial response.
96
+ # @param [String] quota_user
97
+ # Available to use for quota purposes for server-side applications. Can be any
98
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
99
+ # @param [Google::Apis::RequestOptions] options
100
+ # Request-specific options
101
+ #
102
+ # @yield [result, err] Result & error if block supplied
103
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob] parsed result object
104
+ # @yieldparam err [StandardError] error object if request failed
105
+ #
106
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob]
107
+ #
108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
111
+ def get_batch_prediction_job(name, fields: nil, quota_user: nil, options: nil, &block)
112
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
113
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob::Representation
114
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchPredictionJob
115
+ command.params['name'] = name unless name.nil?
116
+ command.query['fields'] = fields unless fields.nil?
117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
118
+ execute_or_queue_command(command, &block)
119
+ end
120
+
121
+ # Lists BatchPredictionJobs in a Location.
122
+ # @param [String] filter
123
+ # The standard list filter. Supported fields: * `display_name` supports `=`, `!=`
124
+ # comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=`
125
+ # comparisons. * `state` supports `=`, `!=` comparisons. * `create_time`
126
+ # supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in
127
+ # RFC 3339 format. * `labels` supports general map functions that is: `labels.
128
+ # key=value` - key:value equality `labels.key:* - key existence Some examples of
129
+ # using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*
130
+ # "` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="
131
+ # my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `
132
+ # labels.keyB:*`
133
+ # @param [Fixnum] page_size
134
+ # The standard list page size.
135
+ # @param [String] page_token
136
+ # The standard list page token. Typically obtained via
137
+ # ListBatchPredictionJobsResponse.next_page_token of the previous JobService.
138
+ # ListBatchPredictionJobs call.
139
+ # @param [String] parent
140
+ # Required. The resource name of the Location to list the BatchPredictionJobs
141
+ # from. Format: `projects/`project`/locations/`location``
142
+ # @param [String] read_mask
143
+ # Mask specifying which fields to read.
144
+ # @param [String] fields
145
+ # Selector specifying which fields to include in a partial response.
146
+ # @param [String] quota_user
147
+ # Available to use for quota purposes for server-side applications. Can be any
148
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
149
+ # @param [Google::Apis::RequestOptions] options
150
+ # Request-specific options
151
+ #
152
+ # @yield [result, err] Result & error if block supplied
153
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse] parsed result object
154
+ # @yieldparam err [StandardError] error object if request failed
155
+ #
156
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse]
157
+ #
158
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
159
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
160
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
161
+ def list_batch_prediction_jobs(filter: nil, page_size: nil, page_token: nil, parent: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
162
+ command = make_simple_command(:get, 'v1beta1/batchPredictionJobs', options)
163
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse::Representation
164
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse
165
+ command.query['filter'] = filter unless filter.nil?
166
+ command.query['pageSize'] = page_size unless page_size.nil?
167
+ command.query['pageToken'] = page_token unless page_token.nil?
168
+ command.query['parent'] = parent unless parent.nil?
169
+ command.query['readMask'] = read_mask unless read_mask.nil?
170
+ command.query['fields'] = fields unless fields.nil?
171
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
172
+ execute_or_queue_command(command, &block)
173
+ end
174
+
55
175
  # Creates a Dataset.
56
176
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Dataset] google_cloud_aiplatform_v1beta1_dataset_object
57
177
  # @param [String] parent
@@ -635,6 +755,40 @@ module Google
635
755
  execute_or_queue_command(command, &block)
636
756
  end
637
757
 
758
+ # Exposes an OpenAI-compatible endpoint for chat completions.
759
+ # @param [String] endpoint
760
+ # Required. The name of the endpoint requested to serve the prediction. Format: `
761
+ # projects/`project`/locations/`location`/endpoints/`endpoint``
762
+ # @param [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] google_api_http_body_object
763
+ # @param [String] fields
764
+ # Selector specifying which fields to include in a partial response.
765
+ # @param [String] quota_user
766
+ # Available to use for quota purposes for server-side applications. Can be any
767
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
768
+ # @param [Google::Apis::RequestOptions] options
769
+ # Request-specific options
770
+ #
771
+ # @yield [result, err] Result & error if block supplied
772
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
773
+ # @yieldparam err [StandardError] error object if request failed
774
+ #
775
+ # @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
776
+ #
777
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
778
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
779
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
780
+ def completions_endpoint_chat(endpoint, google_api_http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
781
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}/chat/completions', options)
782
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
783
+ command.request_object = google_api_http_body_object
784
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
785
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
786
+ command.params['endpoint'] = endpoint unless endpoint.nil?
787
+ command.query['fields'] = fields unless fields.nil?
788
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
789
+ execute_or_queue_command(command, &block)
790
+ end
791
+
638
792
  # Upload a file into a RagCorpus.
639
793
  # @param [String] parent
640
794
  # Required. The name of the RagCorpus resource into which to upload the file.
@@ -982,6 +1136,37 @@ module Google
982
1136
  execute_or_queue_command(command, &block)
983
1137
  end
984
1138
 
1139
+ # Gets a RagEngineConfig.
1140
+ # @param [String] name
1141
+ # Required. The name of the RagEngineConfig resource. Format: `projects/`project`
1142
+ # /locations/`location`/ragEngineConfig`
1143
+ # @param [String] fields
1144
+ # Selector specifying which fields to include in a partial response.
1145
+ # @param [String] quota_user
1146
+ # Available to use for quota purposes for server-side applications. Can be any
1147
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1148
+ # @param [Google::Apis::RequestOptions] options
1149
+ # Request-specific options
1150
+ #
1151
+ # @yield [result, err] Result & error if block supplied
1152
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEngineConfig] parsed result object
1153
+ # @yieldparam err [StandardError] error object if request failed
1154
+ #
1155
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEngineConfig]
1156
+ #
1157
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1158
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1159
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1160
+ def get_project_location_rag_engine_config(name, fields: nil, quota_user: nil, options: nil, &block)
1161
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
1162
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEngineConfig::Representation
1163
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEngineConfig
1164
+ command.params['name'] = name unless name.nil?
1165
+ command.query['fields'] = fields unless fields.nil?
1166
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1167
+ execute_or_queue_command(command, &block)
1168
+ end
1169
+
985
1170
  # Lists information about the supported locations for this service.
986
1171
  # @param [String] name
987
1172
  # The resource that owns the locations collection, if applicable.
@@ -1064,6 +1249,40 @@ module Google
1064
1249
  execute_or_queue_command(command, &block)
1065
1250
  end
1066
1251
 
1252
+ # Updates a RagEngineConfig.
1253
+ # @param [String] name
1254
+ # Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
1255
+ # locations/`location`/ragEngineConfig`
1256
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEngineConfig] google_cloud_aiplatform_v1beta1_rag_engine_config_object
1257
+ # @param [String] fields
1258
+ # Selector specifying which fields to include in a partial response.
1259
+ # @param [String] quota_user
1260
+ # Available to use for quota purposes for server-side applications. Can be any
1261
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1262
+ # @param [Google::Apis::RequestOptions] options
1263
+ # Request-specific options
1264
+ #
1265
+ # @yield [result, err] Result & error if block supplied
1266
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
1267
+ # @yieldparam err [StandardError] error object if request failed
1268
+ #
1269
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
1270
+ #
1271
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1272
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1273
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1274
+ def update_project_location_rag_engine_config(name, google_cloud_aiplatform_v1beta1_rag_engine_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1275
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
1276
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEngineConfig::Representation
1277
+ command.request_object = google_cloud_aiplatform_v1beta1_rag_engine_config_object
1278
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
1279
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
1280
+ command.params['name'] = name unless name.nil?
1281
+ command.query['fields'] = fields unless fields.nil?
1282
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1283
+ execute_or_queue_command(command, &block)
1284
+ end
1285
+
1067
1286
  # Starts asynchronous cancellation on a long-running operation. The server makes
1068
1287
  # a best effort to cancel the operation, but success is not guaranteed. If the
1069
1288
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -6176,8 +6395,7 @@ module Google
6176
6395
  # Required. Display name of the ExampleStore.
6177
6396
  # @param [String] example_store_example_store_config_vertex_embedding_model
6178
6397
  # Required. The embedding model to be used for vector embedding. Immutable.
6179
- # Supported models: * "textembedding-gecko@003" * "text-embedding-004" * "text-
6180
- # embedding-005" * "text-multilingual-embedding-002"
6398
+ # Supported models: * "text-embedding-005" * "text-multilingual-embedding-002"
6181
6399
  # @param [String] example_store_name
6182
6400
  # Identifier. The resource name of the ExampleStore. This is a unique identifier.
6183
6401
  # Format: projects/`project`/locations/`location`/exampleStores/`example_store`
@@ -20556,6 +20774,37 @@ module Google
20556
20774
  execute_or_queue_command(command, &block)
20557
20775
  end
20558
20776
 
20777
+ # Fetches the configs of publisher models.
20778
+ # @param [String] name
20779
+ # Required. The name of the publisher model, in the format of `projects/`project`
20780
+ # /locations/`location`/publishers/`publisher`/models/`model``.
20781
+ # @param [String] fields
20782
+ # Selector specifying which fields to include in a partial response.
20783
+ # @param [String] quota_user
20784
+ # Available to use for quota purposes for server-side applications. Can be any
20785
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
20786
+ # @param [Google::Apis::RequestOptions] options
20787
+ # Request-specific options
20788
+ #
20789
+ # @yield [result, err] Result & error if block supplied
20790
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig] parsed result object
20791
+ # @yieldparam err [StandardError] error object if request failed
20792
+ #
20793
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig]
20794
+ #
20795
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
20796
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
20797
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
20798
+ def fetch_project_location_publisher_model_publisher_model_config(name, fields: nil, quota_user: nil, options: nil, &block)
20799
+ command = make_simple_command(:get, 'v1beta1/{+name}:fetchPublisherModelConfig', options)
20800
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig::Representation
20801
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelConfig
20802
+ command.params['name'] = name unless name.nil?
20803
+ command.query['fields'] = fields unless fields.nil?
20804
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
20805
+ execute_or_queue_command(command, &block)
20806
+ end
20807
+
20559
20808
  # Generate content with multimodal inputs.
20560
20809
  # @param [String] model
20561
20810
  # Required. The fully qualified name of the publisher model or tuned model
@@ -20778,6 +21027,41 @@ module Google
20778
21027
  execute_or_queue_command(command, &block)
20779
21028
  end
20780
21029
 
21030
+ # Sets (creates or updates) configs of publisher models. For example, sets the
21031
+ # request/response logging config.
21032
+ # @param [String] name
21033
+ # Required. The name of the publisher model, in the format of `projects/`project`
21034
+ # /locations/`location`/publishers/`publisher`/models/`model``.
21035
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest] google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object
21036
+ # @param [String] fields
21037
+ # Selector specifying which fields to include in a partial response.
21038
+ # @param [String] quota_user
21039
+ # Available to use for quota purposes for server-side applications. Can be any
21040
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21041
+ # @param [Google::Apis::RequestOptions] options
21042
+ # Request-specific options
21043
+ #
21044
+ # @yield [result, err] Result & error if block supplied
21045
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
21046
+ # @yieldparam err [StandardError] error object if request failed
21047
+ #
21048
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
21049
+ #
21050
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21051
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21052
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21053
+ def set_project_location_publisher_model_publisher_model_config(name, google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
21054
+ command = make_simple_command(:post, 'v1beta1/{+name}:setPublisherModelConfig', options)
21055
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SetPublisherModelConfigRequest::Representation
21056
+ command.request_object = google_cloud_aiplatform_v1beta1_set_publisher_model_config_request_object
21057
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
21058
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
21059
+ command.params['name'] = name unless name.nil?
21060
+ command.query['fields'] = fields unless fields.nil?
21061
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21062
+ execute_or_queue_command(command, &block)
21063
+ end
21064
+
20781
21065
  # Generate content with multimodal inputs with streaming support.
20782
21066
  # @param [String] model
20783
21067
  # Required. The fully qualified name of the publisher model or tuned model
@@ -21521,6 +21805,189 @@ module Google
21521
21805
  execute_or_queue_command(command, &block)
21522
21806
  end
21523
21807
 
21808
+ # Starts asynchronous cancellation on a long-running operation. The server makes
21809
+ # a best effort to cancel the operation, but success is not guaranteed. If the
21810
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
21811
+ # Clients can use Operations.GetOperation or other methods to check whether the
21812
+ # cancellation succeeded or whether the operation completed despite cancellation.
21813
+ # On successful cancellation, the operation is not deleted; instead, it becomes
21814
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
21815
+ # , corresponding to `Code.CANCELLED`.
21816
+ # @param [String] name
21817
+ # The name of the operation resource to be cancelled.
21818
+ # @param [String] fields
21819
+ # Selector specifying which fields to include in a partial response.
21820
+ # @param [String] quota_user
21821
+ # Available to use for quota purposes for server-side applications. Can be any
21822
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21823
+ # @param [Google::Apis::RequestOptions] options
21824
+ # Request-specific options
21825
+ #
21826
+ # @yield [result, err] Result & error if block supplied
21827
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
21828
+ # @yieldparam err [StandardError] error object if request failed
21829
+ #
21830
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
21831
+ #
21832
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21833
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21834
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21835
+ def cancel_project_location_rag_engine_config_operation(name, fields: nil, quota_user: nil, options: nil, &block)
21836
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
21837
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
21838
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
21839
+ command.params['name'] = name unless name.nil?
21840
+ command.query['fields'] = fields unless fields.nil?
21841
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21842
+ execute_or_queue_command(command, &block)
21843
+ end
21844
+
21845
+ # Deletes a long-running operation. This method indicates that the client is no
21846
+ # longer interested in the operation result. It does not cancel the operation.
21847
+ # If the server doesn't support this method, it returns `google.rpc.Code.
21848
+ # UNIMPLEMENTED`.
21849
+ # @param [String] name
21850
+ # The name of the operation resource to be deleted.
21851
+ # @param [String] fields
21852
+ # Selector specifying which fields to include in a partial response.
21853
+ # @param [String] quota_user
21854
+ # Available to use for quota purposes for server-side applications. Can be any
21855
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21856
+ # @param [Google::Apis::RequestOptions] options
21857
+ # Request-specific options
21858
+ #
21859
+ # @yield [result, err] Result & error if block supplied
21860
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
21861
+ # @yieldparam err [StandardError] error object if request failed
21862
+ #
21863
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
21864
+ #
21865
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21866
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21867
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21868
+ def delete_project_location_rag_engine_config_operation(name, fields: nil, quota_user: nil, options: nil, &block)
21869
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
21870
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
21871
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
21872
+ command.params['name'] = name unless name.nil?
21873
+ command.query['fields'] = fields unless fields.nil?
21874
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21875
+ execute_or_queue_command(command, &block)
21876
+ end
21877
+
21878
+ # Gets the latest state of a long-running operation. Clients can use this method
21879
+ # to poll the operation result at intervals as recommended by the API service.
21880
+ # @param [String] name
21881
+ # The name of the operation resource.
21882
+ # @param [String] fields
21883
+ # Selector specifying which fields to include in a partial response.
21884
+ # @param [String] quota_user
21885
+ # Available to use for quota purposes for server-side applications. Can be any
21886
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21887
+ # @param [Google::Apis::RequestOptions] options
21888
+ # Request-specific options
21889
+ #
21890
+ # @yield [result, err] Result & error if block supplied
21891
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
21892
+ # @yieldparam err [StandardError] error object if request failed
21893
+ #
21894
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
21895
+ #
21896
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21897
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21898
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21899
+ def get_project_location_rag_engine_config_operation(name, fields: nil, quota_user: nil, options: nil, &block)
21900
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
21901
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
21902
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
21903
+ command.params['name'] = name unless name.nil?
21904
+ command.query['fields'] = fields unless fields.nil?
21905
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21906
+ execute_or_queue_command(command, &block)
21907
+ end
21908
+
21909
+ # Lists operations that match the specified filter in the request. If the server
21910
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
21911
+ # @param [String] name
21912
+ # The name of the operation's parent resource.
21913
+ # @param [String] filter
21914
+ # The standard list filter.
21915
+ # @param [Fixnum] page_size
21916
+ # The standard list page size.
21917
+ # @param [String] page_token
21918
+ # The standard list page token.
21919
+ # @param [String] fields
21920
+ # Selector specifying which fields to include in a partial response.
21921
+ # @param [String] quota_user
21922
+ # Available to use for quota purposes for server-side applications. Can be any
21923
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21924
+ # @param [Google::Apis::RequestOptions] options
21925
+ # Request-specific options
21926
+ #
21927
+ # @yield [result, err] Result & error if block supplied
21928
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
21929
+ # @yieldparam err [StandardError] error object if request failed
21930
+ #
21931
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
21932
+ #
21933
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21934
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21935
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21936
+ def list_project_location_rag_engine_config_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
21937
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
21938
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
21939
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
21940
+ command.params['name'] = name unless name.nil?
21941
+ command.query['filter'] = filter unless filter.nil?
21942
+ command.query['pageSize'] = page_size unless page_size.nil?
21943
+ command.query['pageToken'] = page_token unless page_token.nil?
21944
+ command.query['fields'] = fields unless fields.nil?
21945
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21946
+ execute_or_queue_command(command, &block)
21947
+ end
21948
+
21949
+ # Waits until the specified long-running operation is done or reaches at most a
21950
+ # specified timeout, returning the latest state. If the operation is already
21951
+ # done, the latest state is immediately returned. If the timeout specified is
21952
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
21953
+ # the server does not support this method, it returns `google.rpc.Code.
21954
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
21955
+ # the latest state before the specified timeout (including immediately), meaning
21956
+ # even an immediate response is no guarantee that the operation is done.
21957
+ # @param [String] name
21958
+ # The name of the operation resource to wait on.
21959
+ # @param [String] timeout
21960
+ # The maximum duration to wait before timing out. If left blank, the wait will
21961
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
21962
+ # context deadline is also specified, the shorter one will be used.
21963
+ # @param [String] fields
21964
+ # Selector specifying which fields to include in a partial response.
21965
+ # @param [String] quota_user
21966
+ # Available to use for quota purposes for server-side applications. Can be any
21967
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21968
+ # @param [Google::Apis::RequestOptions] options
21969
+ # Request-specific options
21970
+ #
21971
+ # @yield [result, err] Result & error if block supplied
21972
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
21973
+ # @yieldparam err [StandardError] error object if request failed
21974
+ #
21975
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
21976
+ #
21977
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21978
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21979
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21980
+ def wait_project_location_rag_engine_config_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
21981
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
21982
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
21983
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
21984
+ command.params['name'] = name unless name.nil?
21985
+ command.query['timeout'] = timeout unless timeout.nil?
21986
+ command.query['fields'] = fields unless fields.nil?
21987
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21988
+ execute_or_queue_command(command, &block)
21989
+ end
21990
+
21524
21991
  # Creates a reasoning engine.
21525
21992
  # @param [String] parent
21526
21993
  # Required. The resource name of the Location to create the ReasoningEngine in.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.43.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-16 00:00:00.000000000 Z
10
+ date: 2025-04-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.42.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.43.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: