google-apis-aiplatform_v1beta1 0.14.0 → 0.15.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 +5 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +2495 -29
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +4796 -3777
- data/lib/google/apis/aiplatform_v1beta1/service.rb +1023 -106
- metadata +6 -6
@@ -33,6 +33,8 @@ module Google
|
|
33
33
|
#
|
34
34
|
# @see https://cloud.google.com/vertex-ai/
|
35
35
|
class AiplatformService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://aiplatform.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-aiplatform_v1beta1',
|
49
51
|
client_version: Google::Apis::AiplatformV1beta1::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
@@ -10190,6 +10192,189 @@ module Google
|
|
10190
10192
|
execute_or_queue_command(command, &block)
|
10191
10193
|
end
|
10192
10194
|
|
10195
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
10196
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
10197
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
10198
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
10199
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
10200
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
10201
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
10202
|
+
# corresponding to `Code.CANCELLED`.
|
10203
|
+
# @param [String] name
|
10204
|
+
# The name of the operation resource to be cancelled.
|
10205
|
+
# @param [String] fields
|
10206
|
+
# Selector specifying which fields to include in a partial response.
|
10207
|
+
# @param [String] quota_user
|
10208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10210
|
+
# @param [Google::Apis::RequestOptions] options
|
10211
|
+
# Request-specific options
|
10212
|
+
#
|
10213
|
+
# @yield [result, err] Result & error if block supplied
|
10214
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
10215
|
+
# @yieldparam err [StandardError] error object if request failed
|
10216
|
+
#
|
10217
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
10218
|
+
#
|
10219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10222
|
+
def cancel_project_location_metadata_store_artifact_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
10223
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
10224
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
10225
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
10226
|
+
command.params['name'] = name unless name.nil?
|
10227
|
+
command.query['fields'] = fields unless fields.nil?
|
10228
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10229
|
+
execute_or_queue_command(command, &block)
|
10230
|
+
end
|
10231
|
+
|
10232
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
10233
|
+
# longer interested in the operation result. It does not cancel the operation.
|
10234
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
10235
|
+
# UNIMPLEMENTED`.
|
10236
|
+
# @param [String] name
|
10237
|
+
# The name of the operation resource to be deleted.
|
10238
|
+
# @param [String] fields
|
10239
|
+
# Selector specifying which fields to include in a partial response.
|
10240
|
+
# @param [String] quota_user
|
10241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10243
|
+
# @param [Google::Apis::RequestOptions] options
|
10244
|
+
# Request-specific options
|
10245
|
+
#
|
10246
|
+
# @yield [result, err] Result & error if block supplied
|
10247
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
10248
|
+
# @yieldparam err [StandardError] error object if request failed
|
10249
|
+
#
|
10250
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
10251
|
+
#
|
10252
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10253
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10254
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10255
|
+
def delete_project_location_metadata_store_artifact_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
10256
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
10257
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
10258
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
10259
|
+
command.params['name'] = name unless name.nil?
|
10260
|
+
command.query['fields'] = fields unless fields.nil?
|
10261
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10262
|
+
execute_or_queue_command(command, &block)
|
10263
|
+
end
|
10264
|
+
|
10265
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
10266
|
+
# to poll the operation result at intervals as recommended by the API service.
|
10267
|
+
# @param [String] name
|
10268
|
+
# The name of the operation resource.
|
10269
|
+
# @param [String] fields
|
10270
|
+
# Selector specifying which fields to include in a partial response.
|
10271
|
+
# @param [String] quota_user
|
10272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10274
|
+
# @param [Google::Apis::RequestOptions] options
|
10275
|
+
# Request-specific options
|
10276
|
+
#
|
10277
|
+
# @yield [result, err] Result & error if block supplied
|
10278
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
10279
|
+
# @yieldparam err [StandardError] error object if request failed
|
10280
|
+
#
|
10281
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
10282
|
+
#
|
10283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10286
|
+
def get_project_location_metadata_store_artifact_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
10287
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
10288
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
10289
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
10290
|
+
command.params['name'] = name unless name.nil?
|
10291
|
+
command.query['fields'] = fields unless fields.nil?
|
10292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10293
|
+
execute_or_queue_command(command, &block)
|
10294
|
+
end
|
10295
|
+
|
10296
|
+
# Lists operations that match the specified filter in the request. If the server
|
10297
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
10298
|
+
# @param [String] name
|
10299
|
+
# The name of the operation's parent resource.
|
10300
|
+
# @param [String] filter
|
10301
|
+
# The standard list filter.
|
10302
|
+
# @param [Fixnum] page_size
|
10303
|
+
# The standard list page size.
|
10304
|
+
# @param [String] page_token
|
10305
|
+
# The standard list page token.
|
10306
|
+
# @param [String] fields
|
10307
|
+
# Selector specifying which fields to include in a partial response.
|
10308
|
+
# @param [String] quota_user
|
10309
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10310
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10311
|
+
# @param [Google::Apis::RequestOptions] options
|
10312
|
+
# Request-specific options
|
10313
|
+
#
|
10314
|
+
# @yield [result, err] Result & error if block supplied
|
10315
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
10316
|
+
# @yieldparam err [StandardError] error object if request failed
|
10317
|
+
#
|
10318
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
10319
|
+
#
|
10320
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10321
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10322
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10323
|
+
def list_project_location_metadata_store_artifact_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
10324
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
10325
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
10326
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
10327
|
+
command.params['name'] = name unless name.nil?
|
10328
|
+
command.query['filter'] = filter unless filter.nil?
|
10329
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
10330
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10331
|
+
command.query['fields'] = fields unless fields.nil?
|
10332
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10333
|
+
execute_or_queue_command(command, &block)
|
10334
|
+
end
|
10335
|
+
|
10336
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
10337
|
+
# specified timeout, returning the latest state. If the operation is already
|
10338
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
10339
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
10340
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
10341
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
10342
|
+
# the latest state before the specified timeout (including immediately), meaning
|
10343
|
+
# even an immediate response is no guarantee that the operation is done.
|
10344
|
+
# @param [String] name
|
10345
|
+
# The name of the operation resource to wait on.
|
10346
|
+
# @param [String] timeout
|
10347
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
10348
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
10349
|
+
# context deadline is also specified, the shorter one will be used.
|
10350
|
+
# @param [String] fields
|
10351
|
+
# Selector specifying which fields to include in a partial response.
|
10352
|
+
# @param [String] quota_user
|
10353
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10354
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10355
|
+
# @param [Google::Apis::RequestOptions] options
|
10356
|
+
# Request-specific options
|
10357
|
+
#
|
10358
|
+
# @yield [result, err] Result & error if block supplied
|
10359
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
10360
|
+
# @yieldparam err [StandardError] error object if request failed
|
10361
|
+
#
|
10362
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
10363
|
+
#
|
10364
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10365
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10366
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10367
|
+
def wait_project_location_metadata_store_artifact_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
10368
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
10369
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
10370
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
10371
|
+
command.params['name'] = name unless name.nil?
|
10372
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
10373
|
+
command.query['fields'] = fields unless fields.nil?
|
10374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10375
|
+
execute_or_queue_command(command, &block)
|
10376
|
+
end
|
10377
|
+
|
10193
10378
|
# Adds a set of Artifacts and Executions to a Context. If any of the Artifacts
|
10194
10379
|
# or Executions have already been added to a Context, they are simply skipped.
|
10195
10380
|
# @param [String] context
|
@@ -10592,14 +10777,16 @@ module Google
|
|
10592
10777
|
execute_or_queue_command(command, &block)
|
10593
10778
|
end
|
10594
10779
|
|
10595
|
-
#
|
10596
|
-
#
|
10597
|
-
#
|
10598
|
-
#
|
10599
|
-
#
|
10600
|
-
#
|
10601
|
-
#
|
10602
|
-
#
|
10780
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
10781
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
10782
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
10783
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
10784
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
10785
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
10786
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
10787
|
+
# corresponding to `Code.CANCELLED`.
|
10788
|
+
# @param [String] name
|
10789
|
+
# The name of the operation resource to be cancelled.
|
10603
10790
|
# @param [String] fields
|
10604
10791
|
# Selector specifying which fields to include in a partial response.
|
10605
10792
|
# @param [String] quota_user
|
@@ -10609,40 +10796,30 @@ module Google
|
|
10609
10796
|
# Request-specific options
|
10610
10797
|
#
|
10611
10798
|
# @yield [result, err] Result & error if block supplied
|
10612
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
10799
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
10613
10800
|
# @yieldparam err [StandardError] error object if request failed
|
10614
10801
|
#
|
10615
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
10802
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
10616
10803
|
#
|
10617
10804
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10618
10805
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10619
10806
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10620
|
-
def
|
10621
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
10622
|
-
command.
|
10623
|
-
command.
|
10624
|
-
command.
|
10625
|
-
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddExecutionEventsResponse
|
10626
|
-
command.params['execution'] = execution unless execution.nil?
|
10807
|
+
def cancel_project_location_metadata_store_context_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
10808
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
10809
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
10810
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
10811
|
+
command.params['name'] = name unless name.nil?
|
10627
10812
|
command.query['fields'] = fields unless fields.nil?
|
10628
10813
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10629
10814
|
execute_or_queue_command(command, &block)
|
10630
10815
|
end
|
10631
10816
|
|
10632
|
-
#
|
10633
|
-
#
|
10634
|
-
#
|
10635
|
-
#
|
10636
|
-
#
|
10637
|
-
#
|
10638
|
-
# @param [String] execution_id
|
10639
|
-
# The `execution` portion of the resource name with the format: `projects/`
|
10640
|
-
# project`/locations/`location`/metadataStores/`metadatastore`/executions/`
|
10641
|
-
# execution`` If not provided, the Execution's ID will be a UUID generated by
|
10642
|
-
# the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`.
|
10643
|
-
# Must be unique across all Executions in the parent MetadataStore. (Otherwise
|
10644
|
-
# the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller
|
10645
|
-
# can't view the preexisting Execution.)
|
10817
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
10818
|
+
# longer interested in the operation result. It does not cancel the operation.
|
10819
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
10820
|
+
# UNIMPLEMENTED`.
|
10821
|
+
# @param [String] name
|
10822
|
+
# The name of the operation resource to be deleted.
|
10646
10823
|
# @param [String] fields
|
10647
10824
|
# Selector specifying which fields to include in a partial response.
|
10648
10825
|
# @param [String] quota_user
|
@@ -10652,34 +10829,225 @@ module Google
|
|
10652
10829
|
# Request-specific options
|
10653
10830
|
#
|
10654
10831
|
# @yield [result, err] Result & error if block supplied
|
10655
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
10832
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
10656
10833
|
# @yieldparam err [StandardError] error object if request failed
|
10657
10834
|
#
|
10658
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
10835
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
10659
10836
|
#
|
10660
10837
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10661
10838
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10662
10839
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10663
|
-
def
|
10664
|
-
command = make_simple_command(:
|
10665
|
-
command.
|
10666
|
-
command.
|
10667
|
-
command.
|
10668
|
-
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Execution
|
10669
|
-
command.params['parent'] = parent unless parent.nil?
|
10670
|
-
command.query['executionId'] = execution_id unless execution_id.nil?
|
10840
|
+
def delete_project_location_metadata_store_context_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
10841
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
10842
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
10843
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
10844
|
+
command.params['name'] = name unless name.nil?
|
10671
10845
|
command.query['fields'] = fields unless fields.nil?
|
10672
10846
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10673
10847
|
execute_or_queue_command(command, &block)
|
10674
10848
|
end
|
10675
10849
|
|
10676
|
-
#
|
10850
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
10851
|
+
# to poll the operation result at intervals as recommended by the API service.
|
10677
10852
|
# @param [String] name
|
10678
|
-
#
|
10679
|
-
#
|
10680
|
-
#
|
10681
|
-
# @param [String]
|
10682
|
-
#
|
10853
|
+
# The name of the operation resource.
|
10854
|
+
# @param [String] fields
|
10855
|
+
# Selector specifying which fields to include in a partial response.
|
10856
|
+
# @param [String] quota_user
|
10857
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10858
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10859
|
+
# @param [Google::Apis::RequestOptions] options
|
10860
|
+
# Request-specific options
|
10861
|
+
#
|
10862
|
+
# @yield [result, err] Result & error if block supplied
|
10863
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
10864
|
+
# @yieldparam err [StandardError] error object if request failed
|
10865
|
+
#
|
10866
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
10867
|
+
#
|
10868
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10869
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10870
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10871
|
+
def get_project_location_metadata_store_context_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
10872
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
10873
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
10874
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
10875
|
+
command.params['name'] = name unless name.nil?
|
10876
|
+
command.query['fields'] = fields unless fields.nil?
|
10877
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10878
|
+
execute_or_queue_command(command, &block)
|
10879
|
+
end
|
10880
|
+
|
10881
|
+
# Lists operations that match the specified filter in the request. If the server
|
10882
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
10883
|
+
# @param [String] name
|
10884
|
+
# The name of the operation's parent resource.
|
10885
|
+
# @param [String] filter
|
10886
|
+
# The standard list filter.
|
10887
|
+
# @param [Fixnum] page_size
|
10888
|
+
# The standard list page size.
|
10889
|
+
# @param [String] page_token
|
10890
|
+
# The standard list page token.
|
10891
|
+
# @param [String] fields
|
10892
|
+
# Selector specifying which fields to include in a partial response.
|
10893
|
+
# @param [String] quota_user
|
10894
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10895
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10896
|
+
# @param [Google::Apis::RequestOptions] options
|
10897
|
+
# Request-specific options
|
10898
|
+
#
|
10899
|
+
# @yield [result, err] Result & error if block supplied
|
10900
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
10901
|
+
# @yieldparam err [StandardError] error object if request failed
|
10902
|
+
#
|
10903
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
10904
|
+
#
|
10905
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10906
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10907
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10908
|
+
def list_project_location_metadata_store_context_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
10909
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
10910
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
10911
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
10912
|
+
command.params['name'] = name unless name.nil?
|
10913
|
+
command.query['filter'] = filter unless filter.nil?
|
10914
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
10915
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10916
|
+
command.query['fields'] = fields unless fields.nil?
|
10917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10918
|
+
execute_or_queue_command(command, &block)
|
10919
|
+
end
|
10920
|
+
|
10921
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
10922
|
+
# specified timeout, returning the latest state. If the operation is already
|
10923
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
10924
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
10925
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
10926
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
10927
|
+
# the latest state before the specified timeout (including immediately), meaning
|
10928
|
+
# even an immediate response is no guarantee that the operation is done.
|
10929
|
+
# @param [String] name
|
10930
|
+
# The name of the operation resource to wait on.
|
10931
|
+
# @param [String] timeout
|
10932
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
10933
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
10934
|
+
# context deadline is also specified, the shorter one will be used.
|
10935
|
+
# @param [String] fields
|
10936
|
+
# Selector specifying which fields to include in a partial response.
|
10937
|
+
# @param [String] quota_user
|
10938
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10939
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10940
|
+
# @param [Google::Apis::RequestOptions] options
|
10941
|
+
# Request-specific options
|
10942
|
+
#
|
10943
|
+
# @yield [result, err] Result & error if block supplied
|
10944
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
10945
|
+
# @yieldparam err [StandardError] error object if request failed
|
10946
|
+
#
|
10947
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
10948
|
+
#
|
10949
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10950
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10951
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10952
|
+
def wait_project_location_metadata_store_context_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
10953
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
10954
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
10955
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
10956
|
+
command.params['name'] = name unless name.nil?
|
10957
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
10958
|
+
command.query['fields'] = fields unless fields.nil?
|
10959
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10960
|
+
execute_or_queue_command(command, &block)
|
10961
|
+
end
|
10962
|
+
|
10963
|
+
# Adds Events to the specified Execution. An Event indicates whether an Artifact
|
10964
|
+
# was used as an input or output for an Execution. If an Event already exists
|
10965
|
+
# between the Execution and the Artifact, the Event is skipped.
|
10966
|
+
# @param [String] execution
|
10967
|
+
# Required. The resource name of the Execution that the Events connect Artifacts
|
10968
|
+
# with. Format: `projects/`project`/locations/`location`/metadataStores/`
|
10969
|
+
# metadatastore`/executions/`execution``
|
10970
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddExecutionEventsRequest] google_cloud_aiplatform_v1beta1_add_execution_events_request_object
|
10971
|
+
# @param [String] fields
|
10972
|
+
# Selector specifying which fields to include in a partial response.
|
10973
|
+
# @param [String] quota_user
|
10974
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10975
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10976
|
+
# @param [Google::Apis::RequestOptions] options
|
10977
|
+
# Request-specific options
|
10978
|
+
#
|
10979
|
+
# @yield [result, err] Result & error if block supplied
|
10980
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddExecutionEventsResponse] parsed result object
|
10981
|
+
# @yieldparam err [StandardError] error object if request failed
|
10982
|
+
#
|
10983
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddExecutionEventsResponse]
|
10984
|
+
#
|
10985
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10986
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10987
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10988
|
+
def add_project_location_metadata_store_execution_execution_events(execution, google_cloud_aiplatform_v1beta1_add_execution_events_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
10989
|
+
command = make_simple_command(:post, 'v1beta1/{+execution}:addExecutionEvents', options)
|
10990
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddExecutionEventsRequest::Representation
|
10991
|
+
command.request_object = google_cloud_aiplatform_v1beta1_add_execution_events_request_object
|
10992
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddExecutionEventsResponse::Representation
|
10993
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AddExecutionEventsResponse
|
10994
|
+
command.params['execution'] = execution unless execution.nil?
|
10995
|
+
command.query['fields'] = fields unless fields.nil?
|
10996
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10997
|
+
execute_or_queue_command(command, &block)
|
10998
|
+
end
|
10999
|
+
|
11000
|
+
# Creates an Execution associated with a MetadataStore.
|
11001
|
+
# @param [String] parent
|
11002
|
+
# Required. The resource name of the MetadataStore where the Execution should be
|
11003
|
+
# created. Format: `projects/`project`/locations/`location`/metadataStores/`
|
11004
|
+
# metadatastore``
|
11005
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Execution] google_cloud_aiplatform_v1beta1_execution_object
|
11006
|
+
# @param [String] execution_id
|
11007
|
+
# The `execution` portion of the resource name with the format: `projects/`
|
11008
|
+
# project`/locations/`location`/metadataStores/`metadatastore`/executions/`
|
11009
|
+
# execution`` If not provided, the Execution's ID will be a UUID generated by
|
11010
|
+
# the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`.
|
11011
|
+
# Must be unique across all Executions in the parent MetadataStore. (Otherwise
|
11012
|
+
# the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller
|
11013
|
+
# can't view the preexisting Execution.)
|
11014
|
+
# @param [String] fields
|
11015
|
+
# Selector specifying which fields to include in a partial response.
|
11016
|
+
# @param [String] quota_user
|
11017
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11018
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11019
|
+
# @param [Google::Apis::RequestOptions] options
|
11020
|
+
# Request-specific options
|
11021
|
+
#
|
11022
|
+
# @yield [result, err] Result & error if block supplied
|
11023
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Execution] parsed result object
|
11024
|
+
# @yieldparam err [StandardError] error object if request failed
|
11025
|
+
#
|
11026
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Execution]
|
11027
|
+
#
|
11028
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11029
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11030
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11031
|
+
def create_project_location_metadata_store_execution(parent, google_cloud_aiplatform_v1beta1_execution_object = nil, execution_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11032
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/executions', options)
|
11033
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Execution::Representation
|
11034
|
+
command.request_object = google_cloud_aiplatform_v1beta1_execution_object
|
11035
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Execution::Representation
|
11036
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Execution
|
11037
|
+
command.params['parent'] = parent unless parent.nil?
|
11038
|
+
command.query['executionId'] = execution_id unless execution_id.nil?
|
11039
|
+
command.query['fields'] = fields unless fields.nil?
|
11040
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11041
|
+
execute_or_queue_command(command, &block)
|
11042
|
+
end
|
11043
|
+
|
11044
|
+
# Deletes an Execution.
|
11045
|
+
# @param [String] name
|
11046
|
+
# Required. The resource name of the Execution to delete. Format: `projects/`
|
11047
|
+
# project`/locations/`location`/metadataStores/`metadatastore`/executions/`
|
11048
|
+
# execution``
|
11049
|
+
# @param [String] etag
|
11050
|
+
# Optional. The etag of the Execution to delete. If this is provided, it must
|
10683
11051
|
# match the server's etag. Otherwise, the request will fail with a
|
10684
11052
|
# FAILED_PRECONDITION.
|
10685
11053
|
# @param [String] fields
|
@@ -10916,20 +11284,16 @@ module Google
|
|
10916
11284
|
execute_or_queue_command(command, &block)
|
10917
11285
|
end
|
10918
11286
|
|
10919
|
-
#
|
10920
|
-
#
|
10921
|
-
#
|
10922
|
-
#
|
10923
|
-
#
|
10924
|
-
#
|
10925
|
-
#
|
10926
|
-
#
|
10927
|
-
#
|
10928
|
-
#
|
10929
|
-
# generated by the service. Must be 4-128 characters in length. Valid characters
|
10930
|
-
# are `/a-z-/`. Must be unique across all MetadataSchemas in the parent Location.
|
10931
|
-
# (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if
|
10932
|
-
# the caller can't view the preexisting MetadataSchema.)
|
11287
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
11288
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
11289
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
11290
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
11291
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
11292
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
11293
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
11294
|
+
# corresponding to `Code.CANCELLED`.
|
11295
|
+
# @param [String] name
|
11296
|
+
# The name of the operation resource to be cancelled.
|
10933
11297
|
# @param [String] fields
|
10934
11298
|
# Selector specifying which fields to include in a partial response.
|
10935
11299
|
# @param [String] quota_user
|
@@ -10939,32 +11303,401 @@ module Google
|
|
10939
11303
|
# Request-specific options
|
10940
11304
|
#
|
10941
11305
|
# @yield [result, err] Result & error if block supplied
|
10942
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
11306
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
10943
11307
|
# @yieldparam err [StandardError] error object if request failed
|
10944
11308
|
#
|
10945
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
11309
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
10946
11310
|
#
|
10947
11311
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10948
11312
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10949
11313
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10950
|
-
def
|
10951
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
10952
|
-
command.
|
10953
|
-
command.
|
10954
|
-
command.
|
10955
|
-
command.
|
10956
|
-
command.
|
10957
|
-
command
|
11314
|
+
def cancel_project_location_metadata_store_execution_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
11315
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
11316
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
11317
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
11318
|
+
command.params['name'] = name unless name.nil?
|
11319
|
+
command.query['fields'] = fields unless fields.nil?
|
11320
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11321
|
+
execute_or_queue_command(command, &block)
|
11322
|
+
end
|
11323
|
+
|
11324
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
11325
|
+
# longer interested in the operation result. It does not cancel the operation.
|
11326
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
11327
|
+
# UNIMPLEMENTED`.
|
11328
|
+
# @param [String] name
|
11329
|
+
# The name of the operation resource to be deleted.
|
11330
|
+
# @param [String] fields
|
11331
|
+
# Selector specifying which fields to include in a partial response.
|
11332
|
+
# @param [String] quota_user
|
11333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11335
|
+
# @param [Google::Apis::RequestOptions] options
|
11336
|
+
# Request-specific options
|
11337
|
+
#
|
11338
|
+
# @yield [result, err] Result & error if block supplied
|
11339
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
11340
|
+
# @yieldparam err [StandardError] error object if request failed
|
11341
|
+
#
|
11342
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
11343
|
+
#
|
11344
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11345
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11346
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11347
|
+
def delete_project_location_metadata_store_execution_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
11348
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
11349
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
11350
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
11351
|
+
command.params['name'] = name unless name.nil?
|
11352
|
+
command.query['fields'] = fields unless fields.nil?
|
11353
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11354
|
+
execute_or_queue_command(command, &block)
|
11355
|
+
end
|
11356
|
+
|
11357
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
11358
|
+
# to poll the operation result at intervals as recommended by the API service.
|
11359
|
+
# @param [String] name
|
11360
|
+
# The name of the operation resource.
|
11361
|
+
# @param [String] fields
|
11362
|
+
# Selector specifying which fields to include in a partial response.
|
11363
|
+
# @param [String] quota_user
|
11364
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11365
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11366
|
+
# @param [Google::Apis::RequestOptions] options
|
11367
|
+
# Request-specific options
|
11368
|
+
#
|
11369
|
+
# @yield [result, err] Result & error if block supplied
|
11370
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
11371
|
+
# @yieldparam err [StandardError] error object if request failed
|
11372
|
+
#
|
11373
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
11374
|
+
#
|
11375
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11376
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11377
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11378
|
+
def get_project_location_metadata_store_execution_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
11379
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
11380
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
11381
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
11382
|
+
command.params['name'] = name unless name.nil?
|
11383
|
+
command.query['fields'] = fields unless fields.nil?
|
11384
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11385
|
+
execute_or_queue_command(command, &block)
|
11386
|
+
end
|
11387
|
+
|
11388
|
+
# Lists operations that match the specified filter in the request. If the server
|
11389
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
11390
|
+
# @param [String] name
|
11391
|
+
# The name of the operation's parent resource.
|
11392
|
+
# @param [String] filter
|
11393
|
+
# The standard list filter.
|
11394
|
+
# @param [Fixnum] page_size
|
11395
|
+
# The standard list page size.
|
11396
|
+
# @param [String] page_token
|
11397
|
+
# The standard list page token.
|
11398
|
+
# @param [String] fields
|
11399
|
+
# Selector specifying which fields to include in a partial response.
|
11400
|
+
# @param [String] quota_user
|
11401
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11402
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11403
|
+
# @param [Google::Apis::RequestOptions] options
|
11404
|
+
# Request-specific options
|
11405
|
+
#
|
11406
|
+
# @yield [result, err] Result & error if block supplied
|
11407
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
11408
|
+
# @yieldparam err [StandardError] error object if request failed
|
11409
|
+
#
|
11410
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
11411
|
+
#
|
11412
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11413
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11414
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11415
|
+
def list_project_location_metadata_store_execution_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11416
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
11417
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
11418
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
11419
|
+
command.params['name'] = name unless name.nil?
|
11420
|
+
command.query['filter'] = filter unless filter.nil?
|
11421
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
11422
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
11423
|
+
command.query['fields'] = fields unless fields.nil?
|
11424
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11425
|
+
execute_or_queue_command(command, &block)
|
11426
|
+
end
|
11427
|
+
|
11428
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
11429
|
+
# specified timeout, returning the latest state. If the operation is already
|
11430
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
11431
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
11432
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
11433
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
11434
|
+
# the latest state before the specified timeout (including immediately), meaning
|
11435
|
+
# even an immediate response is no guarantee that the operation is done.
|
11436
|
+
# @param [String] name
|
11437
|
+
# The name of the operation resource to wait on.
|
11438
|
+
# @param [String] timeout
|
11439
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
11440
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
11441
|
+
# context deadline is also specified, the shorter one will be used.
|
11442
|
+
# @param [String] fields
|
11443
|
+
# Selector specifying which fields to include in a partial response.
|
11444
|
+
# @param [String] quota_user
|
11445
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11446
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11447
|
+
# @param [Google::Apis::RequestOptions] options
|
11448
|
+
# Request-specific options
|
11449
|
+
#
|
11450
|
+
# @yield [result, err] Result & error if block supplied
|
11451
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
11452
|
+
# @yieldparam err [StandardError] error object if request failed
|
11453
|
+
#
|
11454
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
11455
|
+
#
|
11456
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11457
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11458
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11459
|
+
def wait_project_location_metadata_store_execution_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11460
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
11461
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
11462
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
11463
|
+
command.params['name'] = name unless name.nil?
|
11464
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
11465
|
+
command.query['fields'] = fields unless fields.nil?
|
11466
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11467
|
+
execute_or_queue_command(command, &block)
|
11468
|
+
end
|
11469
|
+
|
11470
|
+
# Creates a MetadataSchema.
|
11471
|
+
# @param [String] parent
|
11472
|
+
# Required. The resource name of the MetadataStore where the MetadataSchema
|
11473
|
+
# should be created. Format: `projects/`project`/locations/`location`/
|
11474
|
+
# metadataStores/`metadatastore``
|
11475
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema] google_cloud_aiplatform_v1beta1_metadata_schema_object
|
11476
|
+
# @param [String] metadata_schema_id
|
11477
|
+
# The `metadata_schema` portion of the resource name with the format: `projects/`
|
11478
|
+
# project`/locations/`location`/metadataStores/`metadatastore`/metadataSchemas/`
|
11479
|
+
# metadataschema`` If not provided, the MetadataStore's ID will be a UUID
|
11480
|
+
# generated by the service. Must be 4-128 characters in length. Valid characters
|
11481
|
+
# are `/a-z-/`. Must be unique across all MetadataSchemas in the parent Location.
|
11482
|
+
# (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if
|
11483
|
+
# the caller can't view the preexisting MetadataSchema.)
|
11484
|
+
# @param [String] fields
|
11485
|
+
# Selector specifying which fields to include in a partial response.
|
11486
|
+
# @param [String] quota_user
|
11487
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11488
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11489
|
+
# @param [Google::Apis::RequestOptions] options
|
11490
|
+
# Request-specific options
|
11491
|
+
#
|
11492
|
+
# @yield [result, err] Result & error if block supplied
|
11493
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema] parsed result object
|
11494
|
+
# @yieldparam err [StandardError] error object if request failed
|
11495
|
+
#
|
11496
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema]
|
11497
|
+
#
|
11498
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11499
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11500
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11501
|
+
def create_project_location_metadata_store_metadata_schema(parent, google_cloud_aiplatform_v1beta1_metadata_schema_object = nil, metadata_schema_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11502
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/metadataSchemas', options)
|
11503
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema::Representation
|
11504
|
+
command.request_object = google_cloud_aiplatform_v1beta1_metadata_schema_object
|
11505
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema::Representation
|
11506
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema
|
11507
|
+
command.params['parent'] = parent unless parent.nil?
|
11508
|
+
command.query['metadataSchemaId'] = metadata_schema_id unless metadata_schema_id.nil?
|
11509
|
+
command.query['fields'] = fields unless fields.nil?
|
11510
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11511
|
+
execute_or_queue_command(command, &block)
|
11512
|
+
end
|
11513
|
+
|
11514
|
+
# Retrieves a specific MetadataSchema.
|
11515
|
+
# @param [String] name
|
11516
|
+
# Required. The resource name of the MetadataSchema to retrieve. Format: `
|
11517
|
+
# projects/`project`/locations/`location`/metadataStores/`metadatastore`/
|
11518
|
+
# metadataSchemas/`metadataschema``
|
11519
|
+
# @param [String] fields
|
11520
|
+
# Selector specifying which fields to include in a partial response.
|
11521
|
+
# @param [String] quota_user
|
11522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11524
|
+
# @param [Google::Apis::RequestOptions] options
|
11525
|
+
# Request-specific options
|
11526
|
+
#
|
11527
|
+
# @yield [result, err] Result & error if block supplied
|
11528
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema] parsed result object
|
11529
|
+
# @yieldparam err [StandardError] error object if request failed
|
11530
|
+
#
|
11531
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema]
|
11532
|
+
#
|
11533
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11534
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11535
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11536
|
+
def get_project_location_metadata_store_metadata_schema(name, fields: nil, quota_user: nil, options: nil, &block)
|
11537
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
11538
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema::Representation
|
11539
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema
|
11540
|
+
command.params['name'] = name unless name.nil?
|
11541
|
+
command.query['fields'] = fields unless fields.nil?
|
11542
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11543
|
+
execute_or_queue_command(command, &block)
|
11544
|
+
end
|
11545
|
+
|
11546
|
+
# Lists MetadataSchemas.
|
11547
|
+
# @param [String] parent
|
11548
|
+
# Required. The MetadataStore whose MetadataSchemas should be listed. Format: `
|
11549
|
+
# projects/`project`/locations/`location`/metadataStores/`metadatastore``
|
11550
|
+
# @param [String] filter
|
11551
|
+
# A query to filter available MetadataSchemas for matching results.
|
11552
|
+
# @param [Fixnum] page_size
|
11553
|
+
# The maximum number of MetadataSchemas to return. The service may return fewer.
|
11554
|
+
# Must be in range 1-1000, inclusive. Defaults to 100.
|
11555
|
+
# @param [String] page_token
|
11556
|
+
# A page token, received from a previous MetadataService.ListMetadataSchemas
|
11557
|
+
# call. Provide this to retrieve the next page. When paginating, all other
|
11558
|
+
# provided parameters must match the call that provided the page token. (
|
11559
|
+
# Otherwise the request will fail with INVALID_ARGUMENT error.)
|
11560
|
+
# @param [String] fields
|
11561
|
+
# Selector specifying which fields to include in a partial response.
|
11562
|
+
# @param [String] quota_user
|
11563
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11564
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11565
|
+
# @param [Google::Apis::RequestOptions] options
|
11566
|
+
# Request-specific options
|
11567
|
+
#
|
11568
|
+
# @yield [result, err] Result & error if block supplied
|
11569
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse] parsed result object
|
11570
|
+
# @yieldparam err [StandardError] error object if request failed
|
11571
|
+
#
|
11572
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse]
|
11573
|
+
#
|
11574
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11575
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11576
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11577
|
+
def list_project_location_metadata_store_metadata_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11578
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/metadataSchemas', options)
|
11579
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse::Representation
|
11580
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse
|
11581
|
+
command.params['parent'] = parent unless parent.nil?
|
11582
|
+
command.query['filter'] = filter unless filter.nil?
|
11583
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
11584
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
11585
|
+
command.query['fields'] = fields unless fields.nil?
|
11586
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11587
|
+
execute_or_queue_command(command, &block)
|
11588
|
+
end
|
11589
|
+
|
11590
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
11591
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
11592
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
11593
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
11594
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
11595
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
11596
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
11597
|
+
# corresponding to `Code.CANCELLED`.
|
11598
|
+
# @param [String] name
|
11599
|
+
# The name of the operation resource to be cancelled.
|
11600
|
+
# @param [String] fields
|
11601
|
+
# Selector specifying which fields to include in a partial response.
|
11602
|
+
# @param [String] quota_user
|
11603
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11604
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11605
|
+
# @param [Google::Apis::RequestOptions] options
|
11606
|
+
# Request-specific options
|
11607
|
+
#
|
11608
|
+
# @yield [result, err] Result & error if block supplied
|
11609
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
11610
|
+
# @yieldparam err [StandardError] error object if request failed
|
11611
|
+
#
|
11612
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
11613
|
+
#
|
11614
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11615
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11616
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11617
|
+
def cancel_project_location_metadata_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
11618
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
11619
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
11620
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
11621
|
+
command.params['name'] = name unless name.nil?
|
11622
|
+
command.query['fields'] = fields unless fields.nil?
|
11623
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11624
|
+
execute_or_queue_command(command, &block)
|
11625
|
+
end
|
11626
|
+
|
11627
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
11628
|
+
# longer interested in the operation result. It does not cancel the operation.
|
11629
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
11630
|
+
# UNIMPLEMENTED`.
|
11631
|
+
# @param [String] name
|
11632
|
+
# The name of the operation resource to be deleted.
|
11633
|
+
# @param [String] fields
|
11634
|
+
# Selector specifying which fields to include in a partial response.
|
11635
|
+
# @param [String] quota_user
|
11636
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11637
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11638
|
+
# @param [Google::Apis::RequestOptions] options
|
11639
|
+
# Request-specific options
|
11640
|
+
#
|
11641
|
+
# @yield [result, err] Result & error if block supplied
|
11642
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
11643
|
+
# @yieldparam err [StandardError] error object if request failed
|
11644
|
+
#
|
11645
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
11646
|
+
#
|
11647
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11648
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11649
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11650
|
+
def delete_project_location_metadata_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
11651
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
11652
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
11653
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
11654
|
+
command.params['name'] = name unless name.nil?
|
11655
|
+
command.query['fields'] = fields unless fields.nil?
|
11656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11657
|
+
execute_or_queue_command(command, &block)
|
11658
|
+
end
|
11659
|
+
|
11660
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
11661
|
+
# to poll the operation result at intervals as recommended by the API service.
|
11662
|
+
# @param [String] name
|
11663
|
+
# The name of the operation resource.
|
11664
|
+
# @param [String] fields
|
11665
|
+
# Selector specifying which fields to include in a partial response.
|
11666
|
+
# @param [String] quota_user
|
11667
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11668
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11669
|
+
# @param [Google::Apis::RequestOptions] options
|
11670
|
+
# Request-specific options
|
11671
|
+
#
|
11672
|
+
# @yield [result, err] Result & error if block supplied
|
11673
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
11674
|
+
# @yieldparam err [StandardError] error object if request failed
|
11675
|
+
#
|
11676
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
11677
|
+
#
|
11678
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11679
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11680
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11681
|
+
def get_project_location_metadata_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
11682
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
11683
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
11684
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
11685
|
+
command.params['name'] = name unless name.nil?
|
10958
11686
|
command.query['fields'] = fields unless fields.nil?
|
10959
11687
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10960
11688
|
execute_or_queue_command(command, &block)
|
10961
11689
|
end
|
10962
11690
|
|
10963
|
-
#
|
11691
|
+
# Lists operations that match the specified filter in the request. If the server
|
11692
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
10964
11693
|
# @param [String] name
|
10965
|
-
#
|
10966
|
-
#
|
10967
|
-
#
|
11694
|
+
# The name of the operation's parent resource.
|
11695
|
+
# @param [String] filter
|
11696
|
+
# The standard list filter.
|
11697
|
+
# @param [Fixnum] page_size
|
11698
|
+
# The standard list page size.
|
11699
|
+
# @param [String] page_token
|
11700
|
+
# The standard list page token.
|
10968
11701
|
# @param [String] fields
|
10969
11702
|
# Selector specifying which fields to include in a partial response.
|
10970
11703
|
# @param [String] quota_user
|
@@ -10974,38 +11707,41 @@ module Google
|
|
10974
11707
|
# Request-specific options
|
10975
11708
|
#
|
10976
11709
|
# @yield [result, err] Result & error if block supplied
|
10977
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
11710
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
10978
11711
|
# @yieldparam err [StandardError] error object if request failed
|
10979
11712
|
#
|
10980
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
11713
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
10981
11714
|
#
|
10982
11715
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10983
11716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10984
11717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10985
|
-
def
|
10986
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
10987
|
-
command.response_representation = Google::Apis::AiplatformV1beta1::
|
10988
|
-
command.response_class = Google::Apis::AiplatformV1beta1::
|
11718
|
+
def list_project_location_metadata_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11719
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
11720
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
11721
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
10989
11722
|
command.params['name'] = name unless name.nil?
|
11723
|
+
command.query['filter'] = filter unless filter.nil?
|
11724
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
11725
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10990
11726
|
command.query['fields'] = fields unless fields.nil?
|
10991
11727
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10992
11728
|
execute_or_queue_command(command, &block)
|
10993
11729
|
end
|
10994
11730
|
|
10995
|
-
#
|
10996
|
-
#
|
10997
|
-
#
|
10998
|
-
#
|
10999
|
-
#
|
11000
|
-
#
|
11001
|
-
#
|
11002
|
-
#
|
11003
|
-
#
|
11004
|
-
#
|
11005
|
-
#
|
11006
|
-
#
|
11007
|
-
#
|
11008
|
-
#
|
11731
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
11732
|
+
# specified timeout, returning the latest state. If the operation is already
|
11733
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
11734
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
11735
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
11736
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
11737
|
+
# the latest state before the specified timeout (including immediately), meaning
|
11738
|
+
# even an immediate response is no guarantee that the operation is done.
|
11739
|
+
# @param [String] name
|
11740
|
+
# The name of the operation resource to wait on.
|
11741
|
+
# @param [String] timeout
|
11742
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
11743
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
11744
|
+
# context deadline is also specified, the shorter one will be used.
|
11009
11745
|
# @param [String] fields
|
11010
11746
|
# Selector specifying which fields to include in a partial response.
|
11011
11747
|
# @param [String] quota_user
|
@@ -11015,22 +11751,20 @@ module Google
|
|
11015
11751
|
# Request-specific options
|
11016
11752
|
#
|
11017
11753
|
# @yield [result, err] Result & error if block supplied
|
11018
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
11754
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
11019
11755
|
# @yieldparam err [StandardError] error object if request failed
|
11020
11756
|
#
|
11021
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
11757
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
11022
11758
|
#
|
11023
11759
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11024
11760
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11025
11761
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
11026
|
-
def
|
11027
|
-
command = make_simple_command(:
|
11028
|
-
command.response_representation = Google::Apis::AiplatformV1beta1::
|
11029
|
-
command.response_class = Google::Apis::AiplatformV1beta1::
|
11030
|
-
command.params['
|
11031
|
-
command.query['
|
11032
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
11033
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
11762
|
+
def wait_project_location_metadata_store_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
11763
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
11764
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
11765
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
11766
|
+
command.params['name'] = name unless name.nil?
|
11767
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
11034
11768
|
command.query['fields'] = fields unless fields.nil?
|
11035
11769
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
11036
11770
|
execute_or_queue_command(command, &block)
|
@@ -15301,6 +16035,189 @@ module Google
|
|
15301
16035
|
execute_or_queue_command(command, &block)
|
15302
16036
|
end
|
15303
16037
|
|
16038
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
16039
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
16040
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
16041
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
16042
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
16043
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
16044
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
16045
|
+
# corresponding to `Code.CANCELLED`.
|
16046
|
+
# @param [String] name
|
16047
|
+
# The name of the operation resource to be cancelled.
|
16048
|
+
# @param [String] fields
|
16049
|
+
# Selector specifying which fields to include in a partial response.
|
16050
|
+
# @param [String] quota_user
|
16051
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16052
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16053
|
+
# @param [Google::Apis::RequestOptions] options
|
16054
|
+
# Request-specific options
|
16055
|
+
#
|
16056
|
+
# @yield [result, err] Result & error if block supplied
|
16057
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16058
|
+
# @yieldparam err [StandardError] error object if request failed
|
16059
|
+
#
|
16060
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16061
|
+
#
|
16062
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16063
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16064
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16065
|
+
def cancel_project_location_reasoning_engine_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16066
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
16067
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16068
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16069
|
+
command.params['name'] = name unless name.nil?
|
16070
|
+
command.query['fields'] = fields unless fields.nil?
|
16071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16072
|
+
execute_or_queue_command(command, &block)
|
16073
|
+
end
|
16074
|
+
|
16075
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
16076
|
+
# longer interested in the operation result. It does not cancel the operation.
|
16077
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
16078
|
+
# UNIMPLEMENTED`.
|
16079
|
+
# @param [String] name
|
16080
|
+
# The name of the operation resource to be deleted.
|
16081
|
+
# @param [String] fields
|
16082
|
+
# Selector specifying which fields to include in a partial response.
|
16083
|
+
# @param [String] quota_user
|
16084
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16085
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16086
|
+
# @param [Google::Apis::RequestOptions] options
|
16087
|
+
# Request-specific options
|
16088
|
+
#
|
16089
|
+
# @yield [result, err] Result & error if block supplied
|
16090
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16091
|
+
# @yieldparam err [StandardError] error object if request failed
|
16092
|
+
#
|
16093
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16094
|
+
#
|
16095
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16096
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16097
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16098
|
+
def delete_project_location_reasoning_engine_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16099
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
16100
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16101
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16102
|
+
command.params['name'] = name unless name.nil?
|
16103
|
+
command.query['fields'] = fields unless fields.nil?
|
16104
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16105
|
+
execute_or_queue_command(command, &block)
|
16106
|
+
end
|
16107
|
+
|
16108
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
16109
|
+
# to poll the operation result at intervals as recommended by the API service.
|
16110
|
+
# @param [String] name
|
16111
|
+
# The name of the operation resource.
|
16112
|
+
# @param [String] fields
|
16113
|
+
# Selector specifying which fields to include in a partial response.
|
16114
|
+
# @param [String] quota_user
|
16115
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16116
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16117
|
+
# @param [Google::Apis::RequestOptions] options
|
16118
|
+
# Request-specific options
|
16119
|
+
#
|
16120
|
+
# @yield [result, err] Result & error if block supplied
|
16121
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16122
|
+
# @yieldparam err [StandardError] error object if request failed
|
16123
|
+
#
|
16124
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16125
|
+
#
|
16126
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16127
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16128
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16129
|
+
def get_project_location_reasoning_engine_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16130
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
16131
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16132
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16133
|
+
command.params['name'] = name unless name.nil?
|
16134
|
+
command.query['fields'] = fields unless fields.nil?
|
16135
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16136
|
+
execute_or_queue_command(command, &block)
|
16137
|
+
end
|
16138
|
+
|
16139
|
+
# Lists operations that match the specified filter in the request. If the server
|
16140
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
16141
|
+
# @param [String] name
|
16142
|
+
# The name of the operation's parent resource.
|
16143
|
+
# @param [String] filter
|
16144
|
+
# The standard list filter.
|
16145
|
+
# @param [Fixnum] page_size
|
16146
|
+
# The standard list page size.
|
16147
|
+
# @param [String] page_token
|
16148
|
+
# The standard list page token.
|
16149
|
+
# @param [String] fields
|
16150
|
+
# Selector specifying which fields to include in a partial response.
|
16151
|
+
# @param [String] quota_user
|
16152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16154
|
+
# @param [Google::Apis::RequestOptions] options
|
16155
|
+
# Request-specific options
|
16156
|
+
#
|
16157
|
+
# @yield [result, err] Result & error if block supplied
|
16158
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
16159
|
+
# @yieldparam err [StandardError] error object if request failed
|
16160
|
+
#
|
16161
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
16162
|
+
#
|
16163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16166
|
+
def list_project_location_reasoning_engine_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16167
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
16168
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
16169
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
16170
|
+
command.params['name'] = name unless name.nil?
|
16171
|
+
command.query['filter'] = filter unless filter.nil?
|
16172
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
16173
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16174
|
+
command.query['fields'] = fields unless fields.nil?
|
16175
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16176
|
+
execute_or_queue_command(command, &block)
|
16177
|
+
end
|
16178
|
+
|
16179
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
16180
|
+
# specified timeout, returning the latest state. If the operation is already
|
16181
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
16182
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
16183
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
16184
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
16185
|
+
# the latest state before the specified timeout (including immediately), meaning
|
16186
|
+
# even an immediate response is no guarantee that the operation is done.
|
16187
|
+
# @param [String] name
|
16188
|
+
# The name of the operation resource to wait on.
|
16189
|
+
# @param [String] timeout
|
16190
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
16191
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
16192
|
+
# context deadline is also specified, the shorter one will be used.
|
16193
|
+
# @param [String] fields
|
16194
|
+
# Selector specifying which fields to include in a partial response.
|
16195
|
+
# @param [String] quota_user
|
16196
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16197
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16198
|
+
# @param [Google::Apis::RequestOptions] options
|
16199
|
+
# Request-specific options
|
16200
|
+
#
|
16201
|
+
# @yield [result, err] Result & error if block supplied
|
16202
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16203
|
+
# @yieldparam err [StandardError] error object if request failed
|
16204
|
+
#
|
16205
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16206
|
+
#
|
16207
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16208
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16209
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16210
|
+
def wait_project_location_reasoning_engine_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16211
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
16212
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16213
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16214
|
+
command.params['name'] = name unless name.nil?
|
16215
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
16216
|
+
command.query['fields'] = fields unless fields.nil?
|
16217
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16218
|
+
execute_or_queue_command(command, &block)
|
16219
|
+
end
|
16220
|
+
|
15304
16221
|
# Creates a Schedule.
|
15305
16222
|
# @param [String] parent
|
15306
16223
|
# Required. The resource name of the Location to create the Schedule in. Format:
|