google-apis-aiplatform_v1beta1 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b2f365e160029ab7c05daa259406a5837a0c7e7de42e679e90646ce4890f02b
|
4
|
+
data.tar.gz: c4c9ed26bff636e26410b59f114ae22372403d8a1e66ca751300adf4128a8dea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6a80a43204a700ccdbaaacb62be5e820a43257b06d5e39b142be673c7ec99455b6d9909b5fd19fefa83c28e8663ed5e4eb3c06c7394520831194da4cc5efa2d
|
7
|
+
data.tar.gz: 24cae7d88e0721d9da6481dab4437cc994204982628ad5f1c01a74f17aa0853c0a666d4ac8fd095fb74d286354a29e79aee88c30972f0b00665770ef1c85e315
|
data/CHANGELOG.md
CHANGED
@@ -4987,7 +4987,7 @@ module Google
|
|
4987
4987
|
# @return [String]
|
4988
4988
|
attr_accessor :etag
|
4989
4989
|
|
4990
|
-
# Required. Additional information about the DatasetVersion.
|
4990
|
+
# Required. Output only. Additional information about the DatasetVersion.
|
4991
4991
|
# Corresponds to the JSON property `metadata`
|
4992
4992
|
# @return [Object]
|
4993
4993
|
attr_accessor :metadata
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AiplatformV1beta1
|
18
18
|
# Version of the google-apis-aiplatform_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240229"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -16250,6 +16250,372 @@ module Google
|
|
16250
16250
|
execute_or_queue_command(command, &block)
|
16251
16251
|
end
|
16252
16252
|
|
16253
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
16254
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
16255
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
16256
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
16257
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
16258
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
16259
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
16260
|
+
# corresponding to `Code.CANCELLED`.
|
16261
|
+
# @param [String] name
|
16262
|
+
# The name of the operation resource to be cancelled.
|
16263
|
+
# @param [String] fields
|
16264
|
+
# Selector specifying which fields to include in a partial response.
|
16265
|
+
# @param [String] quota_user
|
16266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16268
|
+
# @param [Google::Apis::RequestOptions] options
|
16269
|
+
# Request-specific options
|
16270
|
+
#
|
16271
|
+
# @yield [result, err] Result & error if block supplied
|
16272
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16273
|
+
# @yieldparam err [StandardError] error object if request failed
|
16274
|
+
#
|
16275
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16276
|
+
#
|
16277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16280
|
+
def cancel_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16281
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
16282
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16283
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16284
|
+
command.params['name'] = name unless name.nil?
|
16285
|
+
command.query['fields'] = fields unless fields.nil?
|
16286
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16287
|
+
execute_or_queue_command(command, &block)
|
16288
|
+
end
|
16289
|
+
|
16290
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
16291
|
+
# longer interested in the operation result. It does not cancel the operation.
|
16292
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
16293
|
+
# UNIMPLEMENTED`.
|
16294
|
+
# @param [String] name
|
16295
|
+
# The name of the operation resource to be deleted.
|
16296
|
+
# @param [String] fields
|
16297
|
+
# Selector specifying which fields to include in a partial response.
|
16298
|
+
# @param [String] quota_user
|
16299
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16300
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16301
|
+
# @param [Google::Apis::RequestOptions] options
|
16302
|
+
# Request-specific options
|
16303
|
+
#
|
16304
|
+
# @yield [result, err] Result & error if block supplied
|
16305
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16306
|
+
# @yieldparam err [StandardError] error object if request failed
|
16307
|
+
#
|
16308
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16309
|
+
#
|
16310
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16311
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16312
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16313
|
+
def delete_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16314
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
16315
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16316
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16317
|
+
command.params['name'] = name unless name.nil?
|
16318
|
+
command.query['fields'] = fields unless fields.nil?
|
16319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16320
|
+
execute_or_queue_command(command, &block)
|
16321
|
+
end
|
16322
|
+
|
16323
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
16324
|
+
# to poll the operation result at intervals as recommended by the API service.
|
16325
|
+
# @param [String] name
|
16326
|
+
# The name of the operation resource.
|
16327
|
+
# @param [String] fields
|
16328
|
+
# Selector specifying which fields to include in a partial response.
|
16329
|
+
# @param [String] quota_user
|
16330
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16331
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16332
|
+
# @param [Google::Apis::RequestOptions] options
|
16333
|
+
# Request-specific options
|
16334
|
+
#
|
16335
|
+
# @yield [result, err] Result & error if block supplied
|
16336
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16337
|
+
# @yieldparam err [StandardError] error object if request failed
|
16338
|
+
#
|
16339
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16340
|
+
#
|
16341
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16342
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16343
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16344
|
+
def get_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16345
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
16346
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16347
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16348
|
+
command.params['name'] = name unless name.nil?
|
16349
|
+
command.query['fields'] = fields unless fields.nil?
|
16350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16351
|
+
execute_or_queue_command(command, &block)
|
16352
|
+
end
|
16353
|
+
|
16354
|
+
# Lists operations that match the specified filter in the request. If the server
|
16355
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
16356
|
+
# @param [String] name
|
16357
|
+
# The name of the operation's parent resource.
|
16358
|
+
# @param [String] filter
|
16359
|
+
# The standard list filter.
|
16360
|
+
# @param [Fixnum] page_size
|
16361
|
+
# The standard list page size.
|
16362
|
+
# @param [String] page_token
|
16363
|
+
# The standard list page token.
|
16364
|
+
# @param [String] fields
|
16365
|
+
# Selector specifying which fields to include in a partial response.
|
16366
|
+
# @param [String] quota_user
|
16367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16369
|
+
# @param [Google::Apis::RequestOptions] options
|
16370
|
+
# Request-specific options
|
16371
|
+
#
|
16372
|
+
# @yield [result, err] Result & error if block supplied
|
16373
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
16374
|
+
# @yieldparam err [StandardError] error object if request failed
|
16375
|
+
#
|
16376
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
16377
|
+
#
|
16378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16381
|
+
def list_project_location_rag_corpora_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16382
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
16383
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
16384
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
16385
|
+
command.params['name'] = name unless name.nil?
|
16386
|
+
command.query['filter'] = filter unless filter.nil?
|
16387
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
16388
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16389
|
+
command.query['fields'] = fields unless fields.nil?
|
16390
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16391
|
+
execute_or_queue_command(command, &block)
|
16392
|
+
end
|
16393
|
+
|
16394
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
16395
|
+
# specified timeout, returning the latest state. If the operation is already
|
16396
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
16397
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
16398
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
16399
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
16400
|
+
# the latest state before the specified timeout (including immediately), meaning
|
16401
|
+
# even an immediate response is no guarantee that the operation is done.
|
16402
|
+
# @param [String] name
|
16403
|
+
# The name of the operation resource to wait on.
|
16404
|
+
# @param [String] timeout
|
16405
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
16406
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
16407
|
+
# context deadline is also specified, the shorter one will be used.
|
16408
|
+
# @param [String] fields
|
16409
|
+
# Selector specifying which fields to include in a partial response.
|
16410
|
+
# @param [String] quota_user
|
16411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16413
|
+
# @param [Google::Apis::RequestOptions] options
|
16414
|
+
# Request-specific options
|
16415
|
+
#
|
16416
|
+
# @yield [result, err] Result & error if block supplied
|
16417
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16418
|
+
# @yieldparam err [StandardError] error object if request failed
|
16419
|
+
#
|
16420
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16421
|
+
#
|
16422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16425
|
+
def wait_project_location_rag_corpora_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16426
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
16427
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16428
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16429
|
+
command.params['name'] = name unless name.nil?
|
16430
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
16431
|
+
command.query['fields'] = fields unless fields.nil?
|
16432
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16433
|
+
execute_or_queue_command(command, &block)
|
16434
|
+
end
|
16435
|
+
|
16436
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
16437
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
16438
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
16439
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
16440
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
16441
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
16442
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
16443
|
+
# corresponding to `Code.CANCELLED`.
|
16444
|
+
# @param [String] name
|
16445
|
+
# The name of the operation resource to be cancelled.
|
16446
|
+
# @param [String] fields
|
16447
|
+
# Selector specifying which fields to include in a partial response.
|
16448
|
+
# @param [String] quota_user
|
16449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16451
|
+
# @param [Google::Apis::RequestOptions] options
|
16452
|
+
# Request-specific options
|
16453
|
+
#
|
16454
|
+
# @yield [result, err] Result & error if block supplied
|
16455
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16456
|
+
# @yieldparam err [StandardError] error object if request failed
|
16457
|
+
#
|
16458
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16459
|
+
#
|
16460
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16461
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16462
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16463
|
+
def cancel_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16464
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
16465
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16466
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16467
|
+
command.params['name'] = name unless name.nil?
|
16468
|
+
command.query['fields'] = fields unless fields.nil?
|
16469
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16470
|
+
execute_or_queue_command(command, &block)
|
16471
|
+
end
|
16472
|
+
|
16473
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
16474
|
+
# longer interested in the operation result. It does not cancel the operation.
|
16475
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
16476
|
+
# UNIMPLEMENTED`.
|
16477
|
+
# @param [String] name
|
16478
|
+
# The name of the operation resource to be deleted.
|
16479
|
+
# @param [String] fields
|
16480
|
+
# Selector specifying which fields to include in a partial response.
|
16481
|
+
# @param [String] quota_user
|
16482
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16483
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16484
|
+
# @param [Google::Apis::RequestOptions] options
|
16485
|
+
# Request-specific options
|
16486
|
+
#
|
16487
|
+
# @yield [result, err] Result & error if block supplied
|
16488
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
16489
|
+
# @yieldparam err [StandardError] error object if request failed
|
16490
|
+
#
|
16491
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
16492
|
+
#
|
16493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16496
|
+
def delete_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16497
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
16498
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
16499
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
16500
|
+
command.params['name'] = name unless name.nil?
|
16501
|
+
command.query['fields'] = fields unless fields.nil?
|
16502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16503
|
+
execute_or_queue_command(command, &block)
|
16504
|
+
end
|
16505
|
+
|
16506
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
16507
|
+
# to poll the operation result at intervals as recommended by the API service.
|
16508
|
+
# @param [String] name
|
16509
|
+
# The name of the operation resource.
|
16510
|
+
# @param [String] fields
|
16511
|
+
# Selector specifying which fields to include in a partial response.
|
16512
|
+
# @param [String] quota_user
|
16513
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16514
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16515
|
+
# @param [Google::Apis::RequestOptions] options
|
16516
|
+
# Request-specific options
|
16517
|
+
#
|
16518
|
+
# @yield [result, err] Result & error if block supplied
|
16519
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16520
|
+
# @yieldparam err [StandardError] error object if request failed
|
16521
|
+
#
|
16522
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16523
|
+
#
|
16524
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16525
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16526
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16527
|
+
def get_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
16528
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
16529
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16530
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16531
|
+
command.params['name'] = name unless name.nil?
|
16532
|
+
command.query['fields'] = fields unless fields.nil?
|
16533
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16534
|
+
execute_or_queue_command(command, &block)
|
16535
|
+
end
|
16536
|
+
|
16537
|
+
# Lists operations that match the specified filter in the request. If the server
|
16538
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
16539
|
+
# @param [String] name
|
16540
|
+
# The name of the operation's parent resource.
|
16541
|
+
# @param [String] filter
|
16542
|
+
# The standard list filter.
|
16543
|
+
# @param [Fixnum] page_size
|
16544
|
+
# The standard list page size.
|
16545
|
+
# @param [String] page_token
|
16546
|
+
# The standard list page token.
|
16547
|
+
# @param [String] fields
|
16548
|
+
# Selector specifying which fields to include in a partial response.
|
16549
|
+
# @param [String] quota_user
|
16550
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16551
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16552
|
+
# @param [Google::Apis::RequestOptions] options
|
16553
|
+
# Request-specific options
|
16554
|
+
#
|
16555
|
+
# @yield [result, err] Result & error if block supplied
|
16556
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
16557
|
+
# @yieldparam err [StandardError] error object if request failed
|
16558
|
+
#
|
16559
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
16560
|
+
#
|
16561
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16562
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16563
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16564
|
+
def list_project_location_rag_corpora_rag_file_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16565
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
16566
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
16567
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
16568
|
+
command.params['name'] = name unless name.nil?
|
16569
|
+
command.query['filter'] = filter unless filter.nil?
|
16570
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
16571
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
16572
|
+
command.query['fields'] = fields unless fields.nil?
|
16573
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16574
|
+
execute_or_queue_command(command, &block)
|
16575
|
+
end
|
16576
|
+
|
16577
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
16578
|
+
# specified timeout, returning the latest state. If the operation is already
|
16579
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
16580
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
16581
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
16582
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
16583
|
+
# the latest state before the specified timeout (including immediately), meaning
|
16584
|
+
# even an immediate response is no guarantee that the operation is done.
|
16585
|
+
# @param [String] name
|
16586
|
+
# The name of the operation resource to wait on.
|
16587
|
+
# @param [String] timeout
|
16588
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
16589
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
16590
|
+
# context deadline is also specified, the shorter one will be used.
|
16591
|
+
# @param [String] fields
|
16592
|
+
# Selector specifying which fields to include in a partial response.
|
16593
|
+
# @param [String] quota_user
|
16594
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
16595
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
16596
|
+
# @param [Google::Apis::RequestOptions] options
|
16597
|
+
# Request-specific options
|
16598
|
+
#
|
16599
|
+
# @yield [result, err] Result & error if block supplied
|
16600
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
16601
|
+
# @yieldparam err [StandardError] error object if request failed
|
16602
|
+
#
|
16603
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
16604
|
+
#
|
16605
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16606
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16607
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16608
|
+
def wait_project_location_rag_corpora_rag_file_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
16609
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
16610
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
16611
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
16612
|
+
command.params['name'] = name unless name.nil?
|
16613
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
16614
|
+
command.query['fields'] = fields unless fields.nil?
|
16615
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
16616
|
+
execute_or_queue_command(command, &block)
|
16617
|
+
end
|
16618
|
+
|
16253
16619
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
16254
16620
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
16255
16621
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1beta1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|