google-apis-aiplatform_v1 0.41.0 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -206,7 +206,8 @@ module Google
|
|
206
206
|
|
207
207
|
# Updates a Dataset.
|
208
208
|
# @param [String] name
|
209
|
-
# Output only. Identifier. The resource name of the Dataset.
|
209
|
+
# Output only. Identifier. The resource name of the Dataset. Format: `projects/`
|
210
|
+
# project`/locations/`location`/datasets/`dataset``
|
210
211
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Dataset] google_cloud_aiplatform_v1_dataset_object
|
211
212
|
# @param [String] update_mask
|
212
213
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -2252,7 +2253,8 @@ module Google
|
|
2252
2253
|
|
2253
2254
|
# Updates a Dataset.
|
2254
2255
|
# @param [String] name
|
2255
|
-
# Output only. Identifier. The resource name of the Dataset.
|
2256
|
+
# Output only. Identifier. The resource name of the Dataset. Format: `projects/`
|
2257
|
+
# project`/locations/`location`/datasets/`dataset``
|
2256
2258
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Dataset] google_cloud_aiplatform_v1_dataset_object
|
2257
2259
|
# @param [String] update_mask
|
2258
2260
|
# Required. The update mask applies to the resource. For the `FieldMask`
|
@@ -14943,9 +14945,11 @@ module Google
|
|
14943
14945
|
# labels` supports general map functions that is: * `labels.key=value` - key:
|
14944
14946
|
# value equality * `labels.key:* or labels:key - key existence * A key including
|
14945
14947
|
# a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports =
|
14946
|
-
# and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK].
|
14948
|
+
# and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType`
|
14949
|
+
# supports = and !=. * `acceleratorType` supports = and !=. Some examples: * `
|
14947
14950
|
# notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="
|
14948
14951
|
# myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED`
|
14952
|
+
# * `machineType=e2-standard-4` * `acceleratorType=NVIDIA_TESLA_T4`
|
14949
14953
|
# @param [String] order_by
|
14950
14954
|
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
14951
14955
|
# order. Use "desc" after a field name for descending. Supported fields: * `
|
@@ -15410,12 +15414,14 @@ module Google
|
|
15410
15414
|
# UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED,
|
15411
15415
|
# UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
|
15412
15416
|
# UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=.
|
15413
|
-
# notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK].
|
15417
|
+
# notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. * `machineType` supports =
|
15418
|
+
# and !=. * `acceleratorType` supports = and !=. Some examples: * `
|
15414
15419
|
# notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `
|
15415
15420
|
# displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="
|
15416
15421
|
# notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` *
|
15417
15422
|
# `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` *
|
15418
|
-
# `notebookRuntimeType=USER_DEFINED`
|
15423
|
+
# `notebookRuntimeType=USER_DEFINED` * `machineType=e2-standard-4` * `
|
15424
|
+
# acceleratorType=NVIDIA_TESLA_T4`
|
15419
15425
|
# @param [String] order_by
|
15420
15426
|
# Optional. A comma-separated list of fields to order by, sorted in ascending
|
15421
15427
|
# order. Use "desc" after a field name for descending. Supported fields: * `
|
@@ -17325,6 +17331,189 @@ module Google
|
|
17325
17331
|
execute_or_queue_command(command, &block)
|
17326
17332
|
end
|
17327
17333
|
|
17334
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
17335
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
17336
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
17337
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
17338
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
17339
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
17340
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
17341
|
+
# , corresponding to `Code.CANCELLED`.
|
17342
|
+
# @param [String] name
|
17343
|
+
# The name of the operation resource to be cancelled.
|
17344
|
+
# @param [String] fields
|
17345
|
+
# Selector specifying which fields to include in a partial response.
|
17346
|
+
# @param [String] quota_user
|
17347
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17348
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17349
|
+
# @param [Google::Apis::RequestOptions] options
|
17350
|
+
# Request-specific options
|
17351
|
+
#
|
17352
|
+
# @yield [result, err] Result & error if block supplied
|
17353
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
17354
|
+
# @yieldparam err [StandardError] error object if request failed
|
17355
|
+
#
|
17356
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
17357
|
+
#
|
17358
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17359
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17360
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17361
|
+
def cancel_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
17362
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
17363
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
17364
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
17365
|
+
command.params['name'] = name unless name.nil?
|
17366
|
+
command.query['fields'] = fields unless fields.nil?
|
17367
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17368
|
+
execute_or_queue_command(command, &block)
|
17369
|
+
end
|
17370
|
+
|
17371
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
17372
|
+
# longer interested in the operation result. It does not cancel the operation.
|
17373
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
17374
|
+
# UNIMPLEMENTED`.
|
17375
|
+
# @param [String] name
|
17376
|
+
# The name of the operation resource to be deleted.
|
17377
|
+
# @param [String] fields
|
17378
|
+
# Selector specifying which fields to include in a partial response.
|
17379
|
+
# @param [String] quota_user
|
17380
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17381
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17382
|
+
# @param [Google::Apis::RequestOptions] options
|
17383
|
+
# Request-specific options
|
17384
|
+
#
|
17385
|
+
# @yield [result, err] Result & error if block supplied
|
17386
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
17387
|
+
# @yieldparam err [StandardError] error object if request failed
|
17388
|
+
#
|
17389
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
17390
|
+
#
|
17391
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17392
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17393
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17394
|
+
def delete_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
17395
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
17396
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
17397
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
17398
|
+
command.params['name'] = name unless name.nil?
|
17399
|
+
command.query['fields'] = fields unless fields.nil?
|
17400
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17401
|
+
execute_or_queue_command(command, &block)
|
17402
|
+
end
|
17403
|
+
|
17404
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
17405
|
+
# to poll the operation result at intervals as recommended by the API service.
|
17406
|
+
# @param [String] name
|
17407
|
+
# The name of the operation resource.
|
17408
|
+
# @param [String] fields
|
17409
|
+
# Selector specifying which fields to include in a partial response.
|
17410
|
+
# @param [String] quota_user
|
17411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17413
|
+
# @param [Google::Apis::RequestOptions] options
|
17414
|
+
# Request-specific options
|
17415
|
+
#
|
17416
|
+
# @yield [result, err] Result & error if block supplied
|
17417
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
17418
|
+
# @yieldparam err [StandardError] error object if request failed
|
17419
|
+
#
|
17420
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
17421
|
+
#
|
17422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17425
|
+
def get_project_location_rag_corpora_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
17426
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
17427
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
17428
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
17429
|
+
command.params['name'] = name unless name.nil?
|
17430
|
+
command.query['fields'] = fields unless fields.nil?
|
17431
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17432
|
+
execute_or_queue_command(command, &block)
|
17433
|
+
end
|
17434
|
+
|
17435
|
+
# Lists operations that match the specified filter in the request. If the server
|
17436
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
17437
|
+
# @param [String] name
|
17438
|
+
# The name of the operation's parent resource.
|
17439
|
+
# @param [String] filter
|
17440
|
+
# The standard list filter.
|
17441
|
+
# @param [Fixnum] page_size
|
17442
|
+
# The standard list page size.
|
17443
|
+
# @param [String] page_token
|
17444
|
+
# The standard list page token.
|
17445
|
+
# @param [String] fields
|
17446
|
+
# Selector specifying which fields to include in a partial response.
|
17447
|
+
# @param [String] quota_user
|
17448
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17449
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17450
|
+
# @param [Google::Apis::RequestOptions] options
|
17451
|
+
# Request-specific options
|
17452
|
+
#
|
17453
|
+
# @yield [result, err] Result & error if block supplied
|
17454
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
17455
|
+
# @yieldparam err [StandardError] error object if request failed
|
17456
|
+
#
|
17457
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
17458
|
+
#
|
17459
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17460
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17461
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17462
|
+
def list_project_location_rag_corpora_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
17463
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
17464
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
17465
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
17466
|
+
command.params['name'] = name unless name.nil?
|
17467
|
+
command.query['filter'] = filter unless filter.nil?
|
17468
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
17469
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
17470
|
+
command.query['fields'] = fields unless fields.nil?
|
17471
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17472
|
+
execute_or_queue_command(command, &block)
|
17473
|
+
end
|
17474
|
+
|
17475
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
17476
|
+
# specified timeout, returning the latest state. If the operation is already
|
17477
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
17478
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
17479
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
17480
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
17481
|
+
# the latest state before the specified timeout (including immediately), meaning
|
17482
|
+
# even an immediate response is no guarantee that the operation is done.
|
17483
|
+
# @param [String] name
|
17484
|
+
# The name of the operation resource to wait on.
|
17485
|
+
# @param [String] timeout
|
17486
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
17487
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
17488
|
+
# context deadline is also specified, the shorter one will be used.
|
17489
|
+
# @param [String] fields
|
17490
|
+
# Selector specifying which fields to include in a partial response.
|
17491
|
+
# @param [String] quota_user
|
17492
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17493
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17494
|
+
# @param [Google::Apis::RequestOptions] options
|
17495
|
+
# Request-specific options
|
17496
|
+
#
|
17497
|
+
# @yield [result, err] Result & error if block supplied
|
17498
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
17499
|
+
# @yieldparam err [StandardError] error object if request failed
|
17500
|
+
#
|
17501
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
17502
|
+
#
|
17503
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17504
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17505
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17506
|
+
def wait_project_location_rag_corpora_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
17507
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
17508
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
17509
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
17510
|
+
command.params['name'] = name unless name.nil?
|
17511
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
17512
|
+
command.query['fields'] = fields unless fields.nil?
|
17513
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17514
|
+
execute_or_queue_command(command, &block)
|
17515
|
+
end
|
17516
|
+
|
17328
17517
|
# Deletes a RagFile.
|
17329
17518
|
# @param [String] name
|
17330
17519
|
# Required. The name of the RagFile resource to be deleted. Format: `projects/`
|
@@ -17460,6 +17649,189 @@ module Google
|
|
17460
17649
|
execute_or_queue_command(command, &block)
|
17461
17650
|
end
|
17462
17651
|
|
17652
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
17653
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
17654
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
17655
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
17656
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
17657
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
17658
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
17659
|
+
# , corresponding to `Code.CANCELLED`.
|
17660
|
+
# @param [String] name
|
17661
|
+
# The name of the operation resource to be cancelled.
|
17662
|
+
# @param [String] fields
|
17663
|
+
# Selector specifying which fields to include in a partial response.
|
17664
|
+
# @param [String] quota_user
|
17665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17667
|
+
# @param [Google::Apis::RequestOptions] options
|
17668
|
+
# Request-specific options
|
17669
|
+
#
|
17670
|
+
# @yield [result, err] Result & error if block supplied
|
17671
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
17672
|
+
# @yieldparam err [StandardError] error object if request failed
|
17673
|
+
#
|
17674
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
17675
|
+
#
|
17676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17679
|
+
def cancel_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
17680
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
17681
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
17682
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
17683
|
+
command.params['name'] = name unless name.nil?
|
17684
|
+
command.query['fields'] = fields unless fields.nil?
|
17685
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17686
|
+
execute_or_queue_command(command, &block)
|
17687
|
+
end
|
17688
|
+
|
17689
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
17690
|
+
# longer interested in the operation result. It does not cancel the operation.
|
17691
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
17692
|
+
# UNIMPLEMENTED`.
|
17693
|
+
# @param [String] name
|
17694
|
+
# The name of the operation resource to be deleted.
|
17695
|
+
# @param [String] fields
|
17696
|
+
# Selector specifying which fields to include in a partial response.
|
17697
|
+
# @param [String] quota_user
|
17698
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17699
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17700
|
+
# @param [Google::Apis::RequestOptions] options
|
17701
|
+
# Request-specific options
|
17702
|
+
#
|
17703
|
+
# @yield [result, err] Result & error if block supplied
|
17704
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
17705
|
+
# @yieldparam err [StandardError] error object if request failed
|
17706
|
+
#
|
17707
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
17708
|
+
#
|
17709
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17710
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17711
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17712
|
+
def delete_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
17713
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
17714
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
17715
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
17716
|
+
command.params['name'] = name unless name.nil?
|
17717
|
+
command.query['fields'] = fields unless fields.nil?
|
17718
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17719
|
+
execute_or_queue_command(command, &block)
|
17720
|
+
end
|
17721
|
+
|
17722
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
17723
|
+
# to poll the operation result at intervals as recommended by the API service.
|
17724
|
+
# @param [String] name
|
17725
|
+
# The name of the operation resource.
|
17726
|
+
# @param [String] fields
|
17727
|
+
# Selector specifying which fields to include in a partial response.
|
17728
|
+
# @param [String] quota_user
|
17729
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17730
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17731
|
+
# @param [Google::Apis::RequestOptions] options
|
17732
|
+
# Request-specific options
|
17733
|
+
#
|
17734
|
+
# @yield [result, err] Result & error if block supplied
|
17735
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
17736
|
+
# @yieldparam err [StandardError] error object if request failed
|
17737
|
+
#
|
17738
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
17739
|
+
#
|
17740
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17741
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17742
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17743
|
+
def get_project_location_rag_corpora_rag_file_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
17744
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
17745
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
17746
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
17747
|
+
command.params['name'] = name unless name.nil?
|
17748
|
+
command.query['fields'] = fields unless fields.nil?
|
17749
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17750
|
+
execute_or_queue_command(command, &block)
|
17751
|
+
end
|
17752
|
+
|
17753
|
+
# Lists operations that match the specified filter in the request. If the server
|
17754
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
17755
|
+
# @param [String] name
|
17756
|
+
# The name of the operation's parent resource.
|
17757
|
+
# @param [String] filter
|
17758
|
+
# The standard list filter.
|
17759
|
+
# @param [Fixnum] page_size
|
17760
|
+
# The standard list page size.
|
17761
|
+
# @param [String] page_token
|
17762
|
+
# The standard list page token.
|
17763
|
+
# @param [String] fields
|
17764
|
+
# Selector specifying which fields to include in a partial response.
|
17765
|
+
# @param [String] quota_user
|
17766
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17767
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17768
|
+
# @param [Google::Apis::RequestOptions] options
|
17769
|
+
# Request-specific options
|
17770
|
+
#
|
17771
|
+
# @yield [result, err] Result & error if block supplied
|
17772
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
17773
|
+
# @yieldparam err [StandardError] error object if request failed
|
17774
|
+
#
|
17775
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
17776
|
+
#
|
17777
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17778
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17779
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17780
|
+
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)
|
17781
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
17782
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
17783
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
17784
|
+
command.params['name'] = name unless name.nil?
|
17785
|
+
command.query['filter'] = filter unless filter.nil?
|
17786
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
17787
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
17788
|
+
command.query['fields'] = fields unless fields.nil?
|
17789
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17790
|
+
execute_or_queue_command(command, &block)
|
17791
|
+
end
|
17792
|
+
|
17793
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
17794
|
+
# specified timeout, returning the latest state. If the operation is already
|
17795
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
17796
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
17797
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
17798
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
17799
|
+
# the latest state before the specified timeout (including immediately), meaning
|
17800
|
+
# even an immediate response is no guarantee that the operation is done.
|
17801
|
+
# @param [String] name
|
17802
|
+
# The name of the operation resource to wait on.
|
17803
|
+
# @param [String] timeout
|
17804
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
17805
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
17806
|
+
# context deadline is also specified, the shorter one will be used.
|
17807
|
+
# @param [String] fields
|
17808
|
+
# Selector specifying which fields to include in a partial response.
|
17809
|
+
# @param [String] quota_user
|
17810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
17811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
17812
|
+
# @param [Google::Apis::RequestOptions] options
|
17813
|
+
# Request-specific options
|
17814
|
+
#
|
17815
|
+
# @yield [result, err] Result & error if block supplied
|
17816
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
17817
|
+
# @yieldparam err [StandardError] error object if request failed
|
17818
|
+
#
|
17819
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
17820
|
+
#
|
17821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
17822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
17823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
17824
|
+
def wait_project_location_rag_corpora_rag_file_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
17825
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
17826
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
17827
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
17828
|
+
command.params['name'] = name unless name.nil?
|
17829
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
17830
|
+
command.query['fields'] = fields unless fields.nil?
|
17831
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
17832
|
+
execute_or_queue_command(command, &block)
|
17833
|
+
end
|
17834
|
+
|
17463
17835
|
# Creates a reasoning engine.
|
17464
17836
|
# @param [String] parent
|
17465
17837
|
# Required. The resource name of the Location to create the ReasoningEngine in.
|
@@ -17667,6 +18039,40 @@ module Google
|
|
17667
18039
|
execute_or_queue_command(command, &block)
|
17668
18040
|
end
|
17669
18041
|
|
18042
|
+
# Streams queries using a reasoning engine.
|
18043
|
+
# @param [String] name
|
18044
|
+
# Required. The name of the ReasoningEngine resource to use. Format: `projects/`
|
18045
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine``
|
18046
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest] google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object
|
18047
|
+
# @param [String] fields
|
18048
|
+
# Selector specifying which fields to include in a partial response.
|
18049
|
+
# @param [String] quota_user
|
18050
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18051
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18052
|
+
# @param [Google::Apis::RequestOptions] options
|
18053
|
+
# Request-specific options
|
18054
|
+
#
|
18055
|
+
# @yield [result, err] Result & error if block supplied
|
18056
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
18057
|
+
# @yieldparam err [StandardError] error object if request failed
|
18058
|
+
#
|
18059
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
18060
|
+
#
|
18061
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18062
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18063
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18064
|
+
def stream_project_location_reasoning_engine_query(name, google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
18065
|
+
command = make_simple_command(:post, 'v1/{+name}:streamQuery', options)
|
18066
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest::Representation
|
18067
|
+
command.request_object = google_cloud_aiplatform_v1_stream_query_reasoning_engine_request_object
|
18068
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
18069
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
18070
|
+
command.params['name'] = name unless name.nil?
|
18071
|
+
command.query['fields'] = fields unless fields.nil?
|
18072
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18073
|
+
execute_or_queue_command(command, &block)
|
18074
|
+
end
|
18075
|
+
|
17670
18076
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
17671
18077
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
17672
18078
|
# 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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.43.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:
|
11
|
+
date: 2025-01-05 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.43.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Vertex AI API V1
|