google-apis-aiplatform_v1beta1 0.13.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 +9 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +2716 -68
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +4785 -3697
- data/lib/google/apis/aiplatform_v1beta1/service.rb +1148 -237
- 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,383 @@ 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
|
-
#
|
10930
|
-
#
|
10931
|
-
#
|
10932
|
-
#
|
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.
|
11297
|
+
# @param [String] fields
|
11298
|
+
# Selector specifying which fields to include in a partial response.
|
11299
|
+
# @param [String] quota_user
|
11300
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
11301
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
11302
|
+
# @param [Google::Apis::RequestOptions] options
|
11303
|
+
# Request-specific options
|
11304
|
+
#
|
11305
|
+
# @yield [result, err] Result & error if block supplied
|
11306
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
11307
|
+
# @yieldparam err [StandardError] error object if request failed
|
11308
|
+
#
|
11309
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
11310
|
+
#
|
11311
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
11312
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
11313
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
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.
|
10933
11664
|
# @param [String] fields
|
10934
11665
|
# Selector specifying which fields to include in a partial response.
|
10935
11666
|
# @param [String] quota_user
|
@@ -10939,32 +11670,34 @@ module Google
|
|
10939
11670
|
# Request-specific options
|
10940
11671
|
#
|
10941
11672
|
# @yield [result, err] Result & error if block supplied
|
10942
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
11673
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
10943
11674
|
# @yieldparam err [StandardError] error object if request failed
|
10944
11675
|
#
|
10945
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
11676
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
10946
11677
|
#
|
10947
11678
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10948
11679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10949
11680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10950
|
-
def
|
10951
|
-
command = make_simple_command(:
|
10952
|
-
command.
|
10953
|
-
command.
|
10954
|
-
command.
|
10955
|
-
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataSchema
|
10956
|
-
command.params['parent'] = parent unless parent.nil?
|
10957
|
-
command.query['metadataSchemaId'] = metadata_schema_id unless metadata_schema_id.nil?
|
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)
|
@@ -15195,14 +15929,186 @@ module Google
|
|
15195
15929
|
execute_or_queue_command(command, &block)
|
15196
15930
|
end
|
15197
15931
|
|
15198
|
-
# Perform an online prediction with an arbitrary HTTP payload. The response
|
15199
|
-
# includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the
|
15200
|
-
# Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of
|
15201
|
-
# the Endpoint's DeployedModel that served this prediction.
|
15202
|
-
# @param [String] endpoint
|
15203
|
-
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
15204
|
-
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
15205
|
-
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RawPredictRequest] google_cloud_aiplatform_v1beta1_raw_predict_request_object
|
15932
|
+
# Perform an online prediction with an arbitrary HTTP payload. The response
|
15933
|
+
# includes the following HTTP headers: * `X-Vertex-AI-Endpoint-Id`: ID of the
|
15934
|
+
# Endpoint that served this prediction. * `X-Vertex-AI-Deployed-Model-Id`: ID of
|
15935
|
+
# the Endpoint's DeployedModel that served this prediction.
|
15936
|
+
# @param [String] endpoint
|
15937
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
15938
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
15939
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RawPredictRequest] google_cloud_aiplatform_v1beta1_raw_predict_request_object
|
15940
|
+
# @param [String] fields
|
15941
|
+
# Selector specifying which fields to include in a partial response.
|
15942
|
+
# @param [String] quota_user
|
15943
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15944
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15945
|
+
# @param [Google::Apis::RequestOptions] options
|
15946
|
+
# Request-specific options
|
15947
|
+
#
|
15948
|
+
# @yield [result, err] Result & error if block supplied
|
15949
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
15950
|
+
# @yieldparam err [StandardError] error object if request failed
|
15951
|
+
#
|
15952
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
15953
|
+
#
|
15954
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15955
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15956
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15957
|
+
def raw_project_location_publisher_model_predict(endpoint, google_cloud_aiplatform_v1beta1_raw_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
15958
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:rawPredict', options)
|
15959
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RawPredictRequest::Representation
|
15960
|
+
command.request_object = google_cloud_aiplatform_v1beta1_raw_predict_request_object
|
15961
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
15962
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
15963
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
15964
|
+
command.query['fields'] = fields unless fields.nil?
|
15965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15966
|
+
execute_or_queue_command(command, &block)
|
15967
|
+
end
|
15968
|
+
|
15969
|
+
# Perform a server-side streaming online prediction request for Vertex LLM
|
15970
|
+
# streaming.
|
15971
|
+
# @param [String] endpoint
|
15972
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
15973
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
15974
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingPredictRequest] google_cloud_aiplatform_v1beta1_streaming_predict_request_object
|
15975
|
+
# @param [String] fields
|
15976
|
+
# Selector specifying which fields to include in a partial response.
|
15977
|
+
# @param [String] quota_user
|
15978
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
15979
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
15980
|
+
# @param [Google::Apis::RequestOptions] options
|
15981
|
+
# Request-specific options
|
15982
|
+
#
|
15983
|
+
# @yield [result, err] Result & error if block supplied
|
15984
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingPredictResponse] parsed result object
|
15985
|
+
# @yieldparam err [StandardError] error object if request failed
|
15986
|
+
#
|
15987
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingPredictResponse]
|
15988
|
+
#
|
15989
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15990
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15991
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15992
|
+
def server_project_location_publisher_model_streaming_predict(endpoint, google_cloud_aiplatform_v1beta1_streaming_predict_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
15993
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}:serverStreamingPredict', options)
|
15994
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingPredictRequest::Representation
|
15995
|
+
command.request_object = google_cloud_aiplatform_v1beta1_streaming_predict_request_object
|
15996
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingPredictResponse::Representation
|
15997
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamingPredictResponse
|
15998
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
15999
|
+
command.query['fields'] = fields unless fields.nil?
|
16000
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16001
|
+
execute_or_queue_command(command, &block)
|
16002
|
+
end
|
16003
|
+
|
16004
|
+
# Generate content with multimodal inputs with streaming support.
|
16005
|
+
# @param [String] model
|
16006
|
+
# Required. The name of the publisher model requested to serve the prediction.
|
16007
|
+
# Format: `projects/`project`/locations/`location`/publishers/*/models/*`
|
16008
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
|
16009
|
+
# @param [String] fields
|
16010
|
+
# Selector specifying which fields to include in a partial response.
|
16011
|
+
# @param [String] quota_user
|
16012
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16013
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16014
|
+
# @param [Google::Apis::RequestOptions] options
|
16015
|
+
# Request-specific options
|
16016
|
+
#
|
16017
|
+
# @yield [result, err] Result & error if block supplied
|
16018
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse] parsed result object
|
16019
|
+
# @yieldparam err [StandardError] error object if request failed
|
16020
|
+
#
|
16021
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse]
|
16022
|
+
#
|
16023
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16024
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16025
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16026
|
+
def stream_project_location_publisher_model_generate_content(model, google_cloud_aiplatform_v1beta1_generate_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
16027
|
+
command = make_simple_command(:post, 'v1beta1/{+model}:streamGenerateContent', options)
|
16028
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentRequest::Representation
|
16029
|
+
command.request_object = google_cloud_aiplatform_v1beta1_generate_content_request_object
|
16030
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse::Representation
|
16031
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateContentResponse
|
16032
|
+
command.params['model'] = model unless model.nil?
|
16033
|
+
command.query['fields'] = fields unless fields.nil?
|
16034
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16035
|
+
execute_or_queue_command(command, &block)
|
16036
|
+
end
|
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.
|
15206
16112
|
# @param [String] fields
|
15207
16113
|
# Selector specifying which fields to include in a partial response.
|
15208
16114
|
# @param [String] quota_user
|
@@ -15212,32 +16118,34 @@ module Google
|
|
15212
16118
|
# Request-specific options
|
15213
16119
|
#
|
15214
16120
|
# @yield [result, err] Result & error if block supplied
|
15215
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
16121
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
15216
16122
|
# @yieldparam err [StandardError] error object if request failed
|
15217
16123
|
#
|
15218
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
16124
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
15219
16125
|
#
|
15220
16126
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15221
16127
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15222
16128
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15223
|
-
def
|
15224
|
-
command = make_simple_command(:
|
15225
|
-
command.
|
15226
|
-
command.
|
15227
|
-
command.
|
15228
|
-
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
15229
|
-
command.params['endpoint'] = endpoint unless endpoint.nil?
|
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?
|
15230
16134
|
command.query['fields'] = fields unless fields.nil?
|
15231
16135
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15232
16136
|
execute_or_queue_command(command, &block)
|
15233
16137
|
end
|
15234
16138
|
|
15235
|
-
#
|
15236
|
-
#
|
15237
|
-
# @param [String]
|
15238
|
-
#
|
15239
|
-
#
|
15240
|
-
#
|
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.
|
15241
16149
|
# @param [String] fields
|
15242
16150
|
# Selector specifying which fields to include in a partial response.
|
15243
16151
|
# @param [String] quota_user
|
@@ -15247,31 +16155,41 @@ module Google
|
|
15247
16155
|
# Request-specific options
|
15248
16156
|
#
|
15249
16157
|
# @yield [result, err] Result & error if block supplied
|
15250
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
16158
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
15251
16159
|
# @yieldparam err [StandardError] error object if request failed
|
15252
16160
|
#
|
15253
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
16161
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
15254
16162
|
#
|
15255
16163
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15256
16164
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15257
16165
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15258
|
-
def
|
15259
|
-
command = make_simple_command(:
|
15260
|
-
command.
|
15261
|
-
command.
|
15262
|
-
command.
|
15263
|
-
command.
|
15264
|
-
command.
|
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?
|
15265
16174
|
command.query['fields'] = fields unless fields.nil?
|
15266
16175
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15267
16176
|
execute_or_queue_command(command, &block)
|
15268
16177
|
end
|
15269
16178
|
|
15270
|
-
#
|
15271
|
-
#
|
15272
|
-
#
|
15273
|
-
#
|
15274
|
-
#
|
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.
|
15275
16193
|
# @param [String] fields
|
15276
16194
|
# Selector specifying which fields to include in a partial response.
|
15277
16195
|
# @param [String] quota_user
|
@@ -15281,21 +16199,20 @@ module Google
|
|
15281
16199
|
# Request-specific options
|
15282
16200
|
#
|
15283
16201
|
# @yield [result, err] Result & error if block supplied
|
15284
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
16202
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
15285
16203
|
# @yieldparam err [StandardError] error object if request failed
|
15286
16204
|
#
|
15287
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
16205
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
15288
16206
|
#
|
15289
16207
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15290
16208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15291
16209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15292
|
-
def
|
15293
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
15294
|
-
command.
|
15295
|
-
command.
|
15296
|
-
command.
|
15297
|
-
command.
|
15298
|
-
command.params['model'] = model unless model.nil?
|
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?
|
15299
16216
|
command.query['fields'] = fields unless fields.nil?
|
15300
16217
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15301
16218
|
execute_or_queue_command(command, &block)
|
@@ -17110,6 +18027,48 @@ module Google
|
|
17110
18027
|
execute_or_queue_command(command, &block)
|
17111
18028
|
end
|
17112
18029
|
|
18030
|
+
# Reads multiple TensorboardTimeSeries' data. The data point number limit is
|
18031
|
+
# 1000 for scalars, 100 for tensors and blob references. If the number of data
|
18032
|
+
# points stored is less than the limit, all data is returned. Otherwise, the
|
18033
|
+
# number limit of data points is randomly selected from this time series and
|
18034
|
+
# returned.
|
18035
|
+
# @param [String] tensorboard
|
18036
|
+
# Required. The resource name of the Tensorboard containing
|
18037
|
+
# TensorboardTimeSeries to read data from. Format: `projects/`project`/locations/
|
18038
|
+
# `location`/tensorboards/`tensorboard``. The TensorboardTimeSeries referenced
|
18039
|
+
# by time_series must be sub resources of this Tensorboard.
|
18040
|
+
# @param [Array<String>, String] time_series
|
18041
|
+
# Required. The resource names of the TensorboardTimeSeries to read data from.
|
18042
|
+
# Format: `projects/`project`/locations/`location`/tensorboards/`tensorboard`/
|
18043
|
+
# experiments/`experiment`/runs/`run`/timeSeries/`time_series``
|
18044
|
+
# @param [String] fields
|
18045
|
+
# Selector specifying which fields to include in a partial response.
|
18046
|
+
# @param [String] quota_user
|
18047
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18048
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18049
|
+
# @param [Google::Apis::RequestOptions] options
|
18050
|
+
# Request-specific options
|
18051
|
+
#
|
18052
|
+
# @yield [result, err] Result & error if block supplied
|
18053
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse] parsed result object
|
18054
|
+
# @yieldparam err [StandardError] error object if request failed
|
18055
|
+
#
|
18056
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse]
|
18057
|
+
#
|
18058
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18059
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18060
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18061
|
+
def batch_project_location_tensorboard_read(tensorboard, time_series: nil, fields: nil, quota_user: nil, options: nil, &block)
|
18062
|
+
command = make_simple_command(:get, 'v1beta1/{+tensorboard}:batchRead', options)
|
18063
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse::Representation
|
18064
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse
|
18065
|
+
command.params['tensorboard'] = tensorboard unless tensorboard.nil?
|
18066
|
+
command.query['timeSeries'] = time_series unless time_series.nil?
|
18067
|
+
command.query['fields'] = fields unless fields.nil?
|
18068
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18069
|
+
execute_or_queue_command(command, &block)
|
18070
|
+
end
|
18071
|
+
|
17113
18072
|
# Creates a Tensorboard.
|
17114
18073
|
# @param [String] parent
|
17115
18074
|
# Required. The resource name of the Location to create the Tensorboard in.
|
@@ -17360,6 +18319,43 @@ module Google
|
|
17360
18319
|
execute_or_queue_command(command, &block)
|
17361
18320
|
end
|
17362
18321
|
|
18322
|
+
# Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
|
18323
|
+
# @param [String] parent
|
18324
|
+
# Required. The resource name of the TensorboardExperiment to create the
|
18325
|
+
# TensorboardTimeSeries in. Format: `projects/`project`/locations/`location`/
|
18326
|
+
# tensorboards/`tensorboard`/experiments/`experiment`` The TensorboardRuns
|
18327
|
+
# referenced by the parent fields in the CreateTensorboardTimeSeriesRequest
|
18328
|
+
# messages must be sub resources of this TensorboardExperiment.
|
18329
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest] google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
|
18330
|
+
# @param [String] fields
|
18331
|
+
# Selector specifying which fields to include in a partial response.
|
18332
|
+
# @param [String] quota_user
|
18333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18335
|
+
# @param [Google::Apis::RequestOptions] options
|
18336
|
+
# Request-specific options
|
18337
|
+
#
|
18338
|
+
# @yield [result, err] Result & error if block supplied
|
18339
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse] parsed result object
|
18340
|
+
# @yieldparam err [StandardError] error object if request failed
|
18341
|
+
#
|
18342
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse]
|
18343
|
+
#
|
18344
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18345
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18346
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18347
|
+
def batch_project_location_tensorboard_experiment_create(parent, google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
18348
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}:batchCreate', options)
|
18349
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest::Representation
|
18350
|
+
command.request_object = google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
|
18351
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse::Representation
|
18352
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse
|
18353
|
+
command.params['parent'] = parent unless parent.nil?
|
18354
|
+
command.query['fields'] = fields unless fields.nil?
|
18355
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18356
|
+
execute_or_queue_command(command, &block)
|
18357
|
+
end
|
18358
|
+
|
17363
18359
|
# Creates a TensorboardExperiment.
|
17364
18360
|
# @param [String] parent
|
17365
18361
|
# Required. The resource name of the Tensorboard to create the
|
@@ -18227,91 +19223,6 @@ module Google
|
|
18227
19223
|
execute_or_queue_command(command, &block)
|
18228
19224
|
end
|
18229
19225
|
|
18230
|
-
# Batch create TensorboardTimeSeries that belong to a TensorboardExperiment.
|
18231
|
-
# @param [String] parent
|
18232
|
-
# Required. The resource name of the TensorboardExperiment to create the
|
18233
|
-
# TensorboardTimeSeries in. Format: `projects/`project`/locations/`location`/
|
18234
|
-
# tensorboards/`tensorboard`/experiments/`experiment`` The TensorboardRuns
|
18235
|
-
# referenced by the parent fields in the CreateTensorboardTimeSeriesRequest
|
18236
|
-
# messages must be sub resources of this TensorboardExperiment.
|
18237
|
-
# @param [String] runs_id
|
18238
|
-
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest] google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
|
18239
|
-
# @param [String] fields
|
18240
|
-
# Selector specifying which fields to include in a partial response.
|
18241
|
-
# @param [String] quota_user
|
18242
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
18243
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18244
|
-
# @param [Google::Apis::RequestOptions] options
|
18245
|
-
# Request-specific options
|
18246
|
-
#
|
18247
|
-
# @yield [result, err] Result & error if block supplied
|
18248
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse] parsed result object
|
18249
|
-
# @yieldparam err [StandardError] error object if request failed
|
18250
|
-
#
|
18251
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse]
|
18252
|
-
#
|
18253
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18254
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18255
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18256
|
-
def batch_project_location_tensorboard_experiment_run_time_series_create(parent, runs_id, google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
18257
|
-
command = make_simple_command(:post, 'v1beta1/{+parent}/runs/{runsId}/timeSeries:batchCreate', options)
|
18258
|
-
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesRequest::Representation
|
18259
|
-
command.request_object = google_cloud_aiplatform_v1beta1_batch_create_tensorboard_time_series_request_object
|
18260
|
-
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse::Representation
|
18261
|
-
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchCreateTensorboardTimeSeriesResponse
|
18262
|
-
command.params['parent'] = parent unless parent.nil?
|
18263
|
-
command.params['runsId'] = runs_id unless runs_id.nil?
|
18264
|
-
command.query['fields'] = fields unless fields.nil?
|
18265
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18266
|
-
execute_or_queue_command(command, &block)
|
18267
|
-
end
|
18268
|
-
|
18269
|
-
# Reads multiple TensorboardTimeSeries' data. The data point number limit is
|
18270
|
-
# 1000 for scalars, 100 for tensors and blob references. If the number of data
|
18271
|
-
# points stored is less than the limit, all data is returned. Otherwise, the
|
18272
|
-
# number limit of data points is randomly selected from this time series and
|
18273
|
-
# returned.
|
18274
|
-
# @param [String] tensorboard
|
18275
|
-
# Required. The resource name of the Tensorboard containing
|
18276
|
-
# TensorboardTimeSeries to read data from. Format: `projects/`project`/locations/
|
18277
|
-
# `location`/tensorboards/`tensorboard``. The TensorboardTimeSeries referenced
|
18278
|
-
# by time_series must be sub resources of this Tensorboard.
|
18279
|
-
# @param [String] experiments_id
|
18280
|
-
# @param [String] runs_id
|
18281
|
-
# @param [Array<String>, String] time_series
|
18282
|
-
# Required. The resource names of the TensorboardTimeSeries to read data from.
|
18283
|
-
# Format: `projects/`project`/locations/`location`/tensorboards/`tensorboard`/
|
18284
|
-
# experiments/`experiment`/runs/`run`/timeSeries/`time_series``
|
18285
|
-
# @param [String] fields
|
18286
|
-
# Selector specifying which fields to include in a partial response.
|
18287
|
-
# @param [String] quota_user
|
18288
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
18289
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18290
|
-
# @param [Google::Apis::RequestOptions] options
|
18291
|
-
# Request-specific options
|
18292
|
-
#
|
18293
|
-
# @yield [result, err] Result & error if block supplied
|
18294
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse] parsed result object
|
18295
|
-
# @yieldparam err [StandardError] error object if request failed
|
18296
|
-
#
|
18297
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse]
|
18298
|
-
#
|
18299
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18300
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18301
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18302
|
-
def batch_project_location_tensorboard_experiment_run_time_series_read(tensorboard, experiments_id, runs_id, time_series: nil, fields: nil, quota_user: nil, options: nil, &block)
|
18303
|
-
command = make_simple_command(:get, 'v1beta1/{+tensorboard}/experiments/{experimentsId}/runs/{runsId}/timeSeries:batchRead', options)
|
18304
|
-
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse::Representation
|
18305
|
-
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1BatchReadTensorboardTimeSeriesDataResponse
|
18306
|
-
command.params['tensorboard'] = tensorboard unless tensorboard.nil?
|
18307
|
-
command.params['experimentsId'] = experiments_id unless experiments_id.nil?
|
18308
|
-
command.params['runsId'] = runs_id unless runs_id.nil?
|
18309
|
-
command.query['timeSeries'] = time_series unless time_series.nil?
|
18310
|
-
command.query['fields'] = fields unless fields.nil?
|
18311
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18312
|
-
execute_or_queue_command(command, &block)
|
18313
|
-
end
|
18314
|
-
|
18315
19226
|
# Creates a TensorboardTimeSeries.
|
18316
19227
|
# @param [String] parent
|
18317
19228
|
# Required. The resource name of the TensorboardRun to create the
|