google-apis-aiplatform_v1beta1 0.51.0 → 0.52.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 +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +589 -10
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +286 -0
- data/lib/google/apis/aiplatform_v1beta1/service.rb +983 -47
- metadata +2 -2
@@ -6307,6 +6307,444 @@ module Google
|
|
6307
6307
|
execute_or_queue_command(command, &block)
|
6308
6308
|
end
|
6309
6309
|
|
6310
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
6311
|
+
# longer interested in the operation result. It does not cancel the operation.
|
6312
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
6313
|
+
# UNIMPLEMENTED`.
|
6314
|
+
# @param [String] name
|
6315
|
+
# The name of the operation resource to be deleted.
|
6316
|
+
# @param [String] fields
|
6317
|
+
# Selector specifying which fields to include in a partial response.
|
6318
|
+
# @param [String] quota_user
|
6319
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6320
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6321
|
+
# @param [Google::Apis::RequestOptions] options
|
6322
|
+
# Request-specific options
|
6323
|
+
#
|
6324
|
+
# @yield [result, err] Result & error if block supplied
|
6325
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
6326
|
+
# @yieldparam err [StandardError] error object if request failed
|
6327
|
+
#
|
6328
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
6329
|
+
#
|
6330
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6331
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6332
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6333
|
+
def delete_project_location_evaluation_item_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6334
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
6335
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
6336
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
6337
|
+
command.params['name'] = name unless name.nil?
|
6338
|
+
command.query['fields'] = fields unless fields.nil?
|
6339
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6340
|
+
execute_or_queue_command(command, &block)
|
6341
|
+
end
|
6342
|
+
|
6343
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
6344
|
+
# to poll the operation result at intervals as recommended by the API service.
|
6345
|
+
# @param [String] name
|
6346
|
+
# The name of the operation resource.
|
6347
|
+
# @param [String] fields
|
6348
|
+
# Selector specifying which fields to include in a partial response.
|
6349
|
+
# @param [String] quota_user
|
6350
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6351
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6352
|
+
# @param [Google::Apis::RequestOptions] options
|
6353
|
+
# Request-specific options
|
6354
|
+
#
|
6355
|
+
# @yield [result, err] Result & error if block supplied
|
6356
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6357
|
+
# @yieldparam err [StandardError] error object if request failed
|
6358
|
+
#
|
6359
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6360
|
+
#
|
6361
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6362
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6363
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6364
|
+
def get_project_location_evaluation_item_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6365
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
6366
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6367
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6368
|
+
command.params['name'] = name unless name.nil?
|
6369
|
+
command.query['fields'] = fields unless fields.nil?
|
6370
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6371
|
+
execute_or_queue_command(command, &block)
|
6372
|
+
end
|
6373
|
+
|
6374
|
+
# Lists operations that match the specified filter in the request. If the server
|
6375
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
6376
|
+
# @param [String] name
|
6377
|
+
# The name of the operation's parent resource.
|
6378
|
+
# @param [String] filter
|
6379
|
+
# The standard list filter.
|
6380
|
+
# @param [Fixnum] page_size
|
6381
|
+
# The standard list page size.
|
6382
|
+
# @param [String] page_token
|
6383
|
+
# The standard list page token.
|
6384
|
+
# @param [String] fields
|
6385
|
+
# Selector specifying which fields to include in a partial response.
|
6386
|
+
# @param [String] quota_user
|
6387
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6388
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6389
|
+
# @param [Google::Apis::RequestOptions] options
|
6390
|
+
# Request-specific options
|
6391
|
+
#
|
6392
|
+
# @yield [result, err] Result & error if block supplied
|
6393
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
6394
|
+
# @yieldparam err [StandardError] error object if request failed
|
6395
|
+
#
|
6396
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
6397
|
+
#
|
6398
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6399
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6400
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6401
|
+
def list_project_location_evaluation_item_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6402
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
6403
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
6404
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
6405
|
+
command.params['name'] = name unless name.nil?
|
6406
|
+
command.query['filter'] = filter unless filter.nil?
|
6407
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6408
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6409
|
+
command.query['fields'] = fields unless fields.nil?
|
6410
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6411
|
+
execute_or_queue_command(command, &block)
|
6412
|
+
end
|
6413
|
+
|
6414
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
6415
|
+
# specified timeout, returning the latest state. If the operation is already
|
6416
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
6417
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
6418
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
6419
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
6420
|
+
# the latest state before the specified timeout (including immediately), meaning
|
6421
|
+
# even an immediate response is no guarantee that the operation is done.
|
6422
|
+
# @param [String] name
|
6423
|
+
# The name of the operation resource to wait on.
|
6424
|
+
# @param [String] timeout
|
6425
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
6426
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
6427
|
+
# context deadline is also specified, the shorter one will be used.
|
6428
|
+
# @param [String] fields
|
6429
|
+
# Selector specifying which fields to include in a partial response.
|
6430
|
+
# @param [String] quota_user
|
6431
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6432
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6433
|
+
# @param [Google::Apis::RequestOptions] options
|
6434
|
+
# Request-specific options
|
6435
|
+
#
|
6436
|
+
# @yield [result, err] Result & error if block supplied
|
6437
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6438
|
+
# @yieldparam err [StandardError] error object if request failed
|
6439
|
+
#
|
6440
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6441
|
+
#
|
6442
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6443
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6444
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6445
|
+
def wait_project_location_evaluation_item_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6446
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
6447
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6448
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6449
|
+
command.params['name'] = name unless name.nil?
|
6450
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
6451
|
+
command.query['fields'] = fields unless fields.nil?
|
6452
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6453
|
+
execute_or_queue_command(command, &block)
|
6454
|
+
end
|
6455
|
+
|
6456
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
6457
|
+
# longer interested in the operation result. It does not cancel the operation.
|
6458
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
6459
|
+
# UNIMPLEMENTED`.
|
6460
|
+
# @param [String] name
|
6461
|
+
# The name of the operation resource to be deleted.
|
6462
|
+
# @param [String] fields
|
6463
|
+
# Selector specifying which fields to include in a partial response.
|
6464
|
+
# @param [String] quota_user
|
6465
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6466
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6467
|
+
# @param [Google::Apis::RequestOptions] options
|
6468
|
+
# Request-specific options
|
6469
|
+
#
|
6470
|
+
# @yield [result, err] Result & error if block supplied
|
6471
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
6472
|
+
# @yieldparam err [StandardError] error object if request failed
|
6473
|
+
#
|
6474
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
6475
|
+
#
|
6476
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6477
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6478
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6479
|
+
def delete_project_location_evaluation_run_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6480
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
6481
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
6482
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
6483
|
+
command.params['name'] = name unless name.nil?
|
6484
|
+
command.query['fields'] = fields unless fields.nil?
|
6485
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6486
|
+
execute_or_queue_command(command, &block)
|
6487
|
+
end
|
6488
|
+
|
6489
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
6490
|
+
# to poll the operation result at intervals as recommended by the API service.
|
6491
|
+
# @param [String] name
|
6492
|
+
# The name of the operation resource.
|
6493
|
+
# @param [String] fields
|
6494
|
+
# Selector specifying which fields to include in a partial response.
|
6495
|
+
# @param [String] quota_user
|
6496
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6497
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6498
|
+
# @param [Google::Apis::RequestOptions] options
|
6499
|
+
# Request-specific options
|
6500
|
+
#
|
6501
|
+
# @yield [result, err] Result & error if block supplied
|
6502
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6503
|
+
# @yieldparam err [StandardError] error object if request failed
|
6504
|
+
#
|
6505
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6506
|
+
#
|
6507
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6508
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6509
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6510
|
+
def get_project_location_evaluation_run_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6511
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
6512
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6513
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6514
|
+
command.params['name'] = name unless name.nil?
|
6515
|
+
command.query['fields'] = fields unless fields.nil?
|
6516
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6517
|
+
execute_or_queue_command(command, &block)
|
6518
|
+
end
|
6519
|
+
|
6520
|
+
# Lists operations that match the specified filter in the request. If the server
|
6521
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
6522
|
+
# @param [String] name
|
6523
|
+
# The name of the operation's parent resource.
|
6524
|
+
# @param [String] filter
|
6525
|
+
# The standard list filter.
|
6526
|
+
# @param [Fixnum] page_size
|
6527
|
+
# The standard list page size.
|
6528
|
+
# @param [String] page_token
|
6529
|
+
# The standard list page token.
|
6530
|
+
# @param [String] fields
|
6531
|
+
# Selector specifying which fields to include in a partial response.
|
6532
|
+
# @param [String] quota_user
|
6533
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6534
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6535
|
+
# @param [Google::Apis::RequestOptions] options
|
6536
|
+
# Request-specific options
|
6537
|
+
#
|
6538
|
+
# @yield [result, err] Result & error if block supplied
|
6539
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
6540
|
+
# @yieldparam err [StandardError] error object if request failed
|
6541
|
+
#
|
6542
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
6543
|
+
#
|
6544
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6545
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6546
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6547
|
+
def list_project_location_evaluation_run_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6548
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
6549
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
6550
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
6551
|
+
command.params['name'] = name unless name.nil?
|
6552
|
+
command.query['filter'] = filter unless filter.nil?
|
6553
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6554
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6555
|
+
command.query['fields'] = fields unless fields.nil?
|
6556
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6557
|
+
execute_or_queue_command(command, &block)
|
6558
|
+
end
|
6559
|
+
|
6560
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
6561
|
+
# specified timeout, returning the latest state. If the operation is already
|
6562
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
6563
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
6564
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
6565
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
6566
|
+
# the latest state before the specified timeout (including immediately), meaning
|
6567
|
+
# even an immediate response is no guarantee that the operation is done.
|
6568
|
+
# @param [String] name
|
6569
|
+
# The name of the operation resource to wait on.
|
6570
|
+
# @param [String] timeout
|
6571
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
6572
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
6573
|
+
# context deadline is also specified, the shorter one will be used.
|
6574
|
+
# @param [String] fields
|
6575
|
+
# Selector specifying which fields to include in a partial response.
|
6576
|
+
# @param [String] quota_user
|
6577
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6578
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6579
|
+
# @param [Google::Apis::RequestOptions] options
|
6580
|
+
# Request-specific options
|
6581
|
+
#
|
6582
|
+
# @yield [result, err] Result & error if block supplied
|
6583
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6584
|
+
# @yieldparam err [StandardError] error object if request failed
|
6585
|
+
#
|
6586
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6587
|
+
#
|
6588
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6589
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6590
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6591
|
+
def wait_project_location_evaluation_run_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6592
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
6593
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6594
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6595
|
+
command.params['name'] = name unless name.nil?
|
6596
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
6597
|
+
command.query['fields'] = fields unless fields.nil?
|
6598
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6599
|
+
execute_or_queue_command(command, &block)
|
6600
|
+
end
|
6601
|
+
|
6602
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
6603
|
+
# longer interested in the operation result. It does not cancel the operation.
|
6604
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
6605
|
+
# UNIMPLEMENTED`.
|
6606
|
+
# @param [String] name
|
6607
|
+
# The name of the operation resource to be deleted.
|
6608
|
+
# @param [String] fields
|
6609
|
+
# Selector specifying which fields to include in a partial response.
|
6610
|
+
# @param [String] quota_user
|
6611
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6612
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6613
|
+
# @param [Google::Apis::RequestOptions] options
|
6614
|
+
# Request-specific options
|
6615
|
+
#
|
6616
|
+
# @yield [result, err] Result & error if block supplied
|
6617
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
6618
|
+
# @yieldparam err [StandardError] error object if request failed
|
6619
|
+
#
|
6620
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
6621
|
+
#
|
6622
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6623
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6624
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6625
|
+
def delete_project_location_evaluation_set_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6626
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
6627
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
6628
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
6629
|
+
command.params['name'] = name unless name.nil?
|
6630
|
+
command.query['fields'] = fields unless fields.nil?
|
6631
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6632
|
+
execute_or_queue_command(command, &block)
|
6633
|
+
end
|
6634
|
+
|
6635
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
6636
|
+
# to poll the operation result at intervals as recommended by the API service.
|
6637
|
+
# @param [String] name
|
6638
|
+
# The name of the operation resource.
|
6639
|
+
# @param [String] fields
|
6640
|
+
# Selector specifying which fields to include in a partial response.
|
6641
|
+
# @param [String] quota_user
|
6642
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6643
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6644
|
+
# @param [Google::Apis::RequestOptions] options
|
6645
|
+
# Request-specific options
|
6646
|
+
#
|
6647
|
+
# @yield [result, err] Result & error if block supplied
|
6648
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6649
|
+
# @yieldparam err [StandardError] error object if request failed
|
6650
|
+
#
|
6651
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6652
|
+
#
|
6653
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6654
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6655
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6656
|
+
def get_project_location_evaluation_set_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
6657
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
6658
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6659
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6660
|
+
command.params['name'] = name unless name.nil?
|
6661
|
+
command.query['fields'] = fields unless fields.nil?
|
6662
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6663
|
+
execute_or_queue_command(command, &block)
|
6664
|
+
end
|
6665
|
+
|
6666
|
+
# Lists operations that match the specified filter in the request. If the server
|
6667
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
6668
|
+
# @param [String] name
|
6669
|
+
# The name of the operation's parent resource.
|
6670
|
+
# @param [String] filter
|
6671
|
+
# The standard list filter.
|
6672
|
+
# @param [Fixnum] page_size
|
6673
|
+
# The standard list page size.
|
6674
|
+
# @param [String] page_token
|
6675
|
+
# The standard list page token.
|
6676
|
+
# @param [String] fields
|
6677
|
+
# Selector specifying which fields to include in a partial response.
|
6678
|
+
# @param [String] quota_user
|
6679
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6680
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6681
|
+
# @param [Google::Apis::RequestOptions] options
|
6682
|
+
# Request-specific options
|
6683
|
+
#
|
6684
|
+
# @yield [result, err] Result & error if block supplied
|
6685
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
|
6686
|
+
# @yieldparam err [StandardError] error object if request failed
|
6687
|
+
#
|
6688
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
|
6689
|
+
#
|
6690
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6691
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6692
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6693
|
+
def list_project_location_evaluation_set_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6694
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
6695
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
|
6696
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
|
6697
|
+
command.params['name'] = name unless name.nil?
|
6698
|
+
command.query['filter'] = filter unless filter.nil?
|
6699
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
6700
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
6701
|
+
command.query['fields'] = fields unless fields.nil?
|
6702
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6703
|
+
execute_or_queue_command(command, &block)
|
6704
|
+
end
|
6705
|
+
|
6706
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
6707
|
+
# specified timeout, returning the latest state. If the operation is already
|
6708
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
6709
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
6710
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
6711
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
6712
|
+
# the latest state before the specified timeout (including immediately), meaning
|
6713
|
+
# even an immediate response is no guarantee that the operation is done.
|
6714
|
+
# @param [String] name
|
6715
|
+
# The name of the operation resource to wait on.
|
6716
|
+
# @param [String] timeout
|
6717
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
6718
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
6719
|
+
# context deadline is also specified, the shorter one will be used.
|
6720
|
+
# @param [String] fields
|
6721
|
+
# Selector specifying which fields to include in a partial response.
|
6722
|
+
# @param [String] quota_user
|
6723
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6724
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6725
|
+
# @param [Google::Apis::RequestOptions] options
|
6726
|
+
# Request-specific options
|
6727
|
+
#
|
6728
|
+
# @yield [result, err] Result & error if block supplied
|
6729
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
6730
|
+
# @yieldparam err [StandardError] error object if request failed
|
6731
|
+
#
|
6732
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
6733
|
+
#
|
6734
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6735
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6736
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6737
|
+
def wait_project_location_evaluation_set_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6738
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
6739
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
6740
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
6741
|
+
command.params['name'] = name unless name.nil?
|
6742
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
6743
|
+
command.query['fields'] = fields unless fields.nil?
|
6744
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6745
|
+
execute_or_queue_command(command, &block)
|
6746
|
+
end
|
6747
|
+
|
6310
6748
|
# Deletes a long-running operation. This method indicates that the client is no
|
6311
6749
|
# longer interested in the operation result. It does not cancel the operation.
|
6312
6750
|
# If the server doesn't support this method, it returns `google.rpc.Code.
|
@@ -22348,7 +22786,246 @@ module Google
|
|
22348
22786
|
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
22349
22787
|
# , corresponding to `Code.CANCELLED`.
|
22350
22788
|
# @param [String] name
|
22351
|
-
# The name of the operation resource to be cancelled.
|
22789
|
+
# The name of the operation resource to be cancelled.
|
22790
|
+
# @param [String] fields
|
22791
|
+
# Selector specifying which fields to include in a partial response.
|
22792
|
+
# @param [String] quota_user
|
22793
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22794
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22795
|
+
# @param [Google::Apis::RequestOptions] options
|
22796
|
+
# Request-specific options
|
22797
|
+
#
|
22798
|
+
# @yield [result, err] Result & error if block supplied
|
22799
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22800
|
+
# @yieldparam err [StandardError] error object if request failed
|
22801
|
+
#
|
22802
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22803
|
+
#
|
22804
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22805
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22806
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22807
|
+
def cancel_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22808
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
22809
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22810
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22811
|
+
command.params['name'] = name unless name.nil?
|
22812
|
+
command.query['fields'] = fields unless fields.nil?
|
22813
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22814
|
+
execute_or_queue_command(command, &block)
|
22815
|
+
end
|
22816
|
+
|
22817
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
22818
|
+
# longer interested in the operation result. It does not cancel the operation.
|
22819
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
22820
|
+
# UNIMPLEMENTED`.
|
22821
|
+
# @param [String] name
|
22822
|
+
# The name of the operation resource to be deleted.
|
22823
|
+
# @param [String] fields
|
22824
|
+
# Selector specifying which fields to include in a partial response.
|
22825
|
+
# @param [String] quota_user
|
22826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22828
|
+
# @param [Google::Apis::RequestOptions] options
|
22829
|
+
# Request-specific options
|
22830
|
+
#
|
22831
|
+
# @yield [result, err] Result & error if block supplied
|
22832
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
|
22833
|
+
# @yieldparam err [StandardError] error object if request failed
|
22834
|
+
#
|
22835
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
|
22836
|
+
#
|
22837
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22838
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22839
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22840
|
+
def delete_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22841
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
22842
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
|
22843
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
|
22844
|
+
command.params['name'] = name unless name.nil?
|
22845
|
+
command.query['fields'] = fields unless fields.nil?
|
22846
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22847
|
+
execute_or_queue_command(command, &block)
|
22848
|
+
end
|
22849
|
+
|
22850
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
22851
|
+
# to poll the operation result at intervals as recommended by the API service.
|
22852
|
+
# @param [String] name
|
22853
|
+
# The name of the operation resource.
|
22854
|
+
# @param [String] fields
|
22855
|
+
# Selector specifying which fields to include in a partial response.
|
22856
|
+
# @param [String] quota_user
|
22857
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22858
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22859
|
+
# @param [Google::Apis::RequestOptions] options
|
22860
|
+
# Request-specific options
|
22861
|
+
#
|
22862
|
+
# @yield [result, err] Result & error if block supplied
|
22863
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22864
|
+
# @yieldparam err [StandardError] error object if request failed
|
22865
|
+
#
|
22866
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22867
|
+
#
|
22868
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22869
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22870
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22871
|
+
def get_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
22872
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
22873
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22874
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22875
|
+
command.params['name'] = name unless name.nil?
|
22876
|
+
command.query['fields'] = fields unless fields.nil?
|
22877
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22878
|
+
execute_or_queue_command(command, &block)
|
22879
|
+
end
|
22880
|
+
|
22881
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
22882
|
+
# specified timeout, returning the latest state. If the operation is already
|
22883
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
22884
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
22885
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
22886
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
22887
|
+
# the latest state before the specified timeout (including immediately), meaning
|
22888
|
+
# even an immediate response is no guarantee that the operation is done.
|
22889
|
+
# @param [String] name
|
22890
|
+
# The name of the operation resource to wait on.
|
22891
|
+
# @param [String] timeout
|
22892
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
22893
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
22894
|
+
# context deadline is also specified, the shorter one will be used.
|
22895
|
+
# @param [String] fields
|
22896
|
+
# Selector specifying which fields to include in a partial response.
|
22897
|
+
# @param [String] quota_user
|
22898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22900
|
+
# @param [Google::Apis::RequestOptions] options
|
22901
|
+
# Request-specific options
|
22902
|
+
#
|
22903
|
+
# @yield [result, err] Result & error if block supplied
|
22904
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22905
|
+
# @yieldparam err [StandardError] error object if request failed
|
22906
|
+
#
|
22907
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22908
|
+
#
|
22909
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22910
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22911
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22912
|
+
def wait_project_location_reasoning_engine_example_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
22913
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
|
22914
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22915
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22916
|
+
command.params['name'] = name unless name.nil?
|
22917
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
22918
|
+
command.query['fields'] = fields unless fields.nil?
|
22919
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22920
|
+
execute_or_queue_command(command, &block)
|
22921
|
+
end
|
22922
|
+
|
22923
|
+
# Create a Memory.
|
22924
|
+
# @param [String] parent
|
22925
|
+
# Required. The resource name of the ReasoningEngine to create the Memory under.
|
22926
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
22927
|
+
# reasoning_engine``
|
22928
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
|
22929
|
+
# @param [String] fields
|
22930
|
+
# Selector specifying which fields to include in a partial response.
|
22931
|
+
# @param [String] quota_user
|
22932
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22933
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22934
|
+
# @param [Google::Apis::RequestOptions] options
|
22935
|
+
# Request-specific options
|
22936
|
+
#
|
22937
|
+
# @yield [result, err] Result & error if block supplied
|
22938
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22939
|
+
# @yieldparam err [StandardError] error object if request failed
|
22940
|
+
#
|
22941
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22942
|
+
#
|
22943
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22944
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22945
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22946
|
+
def create_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_memory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
22947
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories', options)
|
22948
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
22949
|
+
command.request_object = google_cloud_aiplatform_v1beta1_memory_object
|
22950
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22951
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22952
|
+
command.params['parent'] = parent unless parent.nil?
|
22953
|
+
command.query['fields'] = fields unless fields.nil?
|
22954
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22955
|
+
execute_or_queue_command(command, &block)
|
22956
|
+
end
|
22957
|
+
|
22958
|
+
# Delete a Memory.
|
22959
|
+
# @param [String] name
|
22960
|
+
# Required. The resource name of the Memory to delete. Format: `projects/`
|
22961
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
|
22962
|
+
# memory``
|
22963
|
+
# @param [String] fields
|
22964
|
+
# Selector specifying which fields to include in a partial response.
|
22965
|
+
# @param [String] quota_user
|
22966
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
22967
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
22968
|
+
# @param [Google::Apis::RequestOptions] options
|
22969
|
+
# Request-specific options
|
22970
|
+
#
|
22971
|
+
# @yield [result, err] Result & error if block supplied
|
22972
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
22973
|
+
# @yieldparam err [StandardError] error object if request failed
|
22974
|
+
#
|
22975
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
22976
|
+
#
|
22977
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22978
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22979
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22980
|
+
def delete_project_location_reasoning_engine_memory(name, fields: nil, quota_user: nil, options: nil, &block)
|
22981
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
22982
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22983
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22984
|
+
command.params['name'] = name unless name.nil?
|
22985
|
+
command.query['fields'] = fields unless fields.nil?
|
22986
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22987
|
+
execute_or_queue_command(command, &block)
|
22988
|
+
end
|
22989
|
+
|
22990
|
+
# Generate memories.
|
22991
|
+
# @param [String] parent
|
22992
|
+
# Required. The resource name of the ReasoningEngine to generate memories for.
|
22993
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
22994
|
+
# reasoning_engine``
|
22995
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequest] google_cloud_aiplatform_v1beta1_generate_memories_request_object
|
22996
|
+
# @param [String] fields
|
22997
|
+
# Selector specifying which fields to include in a partial response.
|
22998
|
+
# @param [String] quota_user
|
22999
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23000
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23001
|
+
# @param [Google::Apis::RequestOptions] options
|
23002
|
+
# Request-specific options
|
23003
|
+
#
|
23004
|
+
# @yield [result, err] Result & error if block supplied
|
23005
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
23006
|
+
# @yieldparam err [StandardError] error object if request failed
|
23007
|
+
#
|
23008
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
23009
|
+
#
|
23010
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23011
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23012
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23013
|
+
def generate_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_generate_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
23014
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories:generate', options)
|
23015
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequest::Representation
|
23016
|
+
command.request_object = google_cloud_aiplatform_v1beta1_generate_memories_request_object
|
23017
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
23018
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
23019
|
+
command.params['parent'] = parent unless parent.nil?
|
23020
|
+
command.query['fields'] = fields unless fields.nil?
|
23021
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23022
|
+
execute_or_queue_command(command, &block)
|
23023
|
+
end
|
23024
|
+
|
23025
|
+
# Get a Memory.
|
23026
|
+
# @param [String] name
|
23027
|
+
# Required. The resource name of the Memory. Format: `projects/`project`/
|
23028
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
22352
23029
|
# @param [String] fields
|
22353
23030
|
# Selector specifying which fields to include in a partial response.
|
22354
23031
|
# @param [String] quota_user
|
@@ -22358,30 +23035,37 @@ module Google
|
|
22358
23035
|
# Request-specific options
|
22359
23036
|
#
|
22360
23037
|
# @yield [result, err] Result & error if block supplied
|
22361
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
23038
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] parsed result object
|
22362
23039
|
# @yieldparam err [StandardError] error object if request failed
|
22363
23040
|
#
|
22364
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
23041
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory]
|
22365
23042
|
#
|
22366
23043
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22367
23044
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22368
23045
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22369
|
-
def
|
22370
|
-
command = make_simple_command(:
|
22371
|
-
command.response_representation = Google::Apis::AiplatformV1beta1::
|
22372
|
-
command.response_class = Google::Apis::AiplatformV1beta1::
|
23046
|
+
def get_project_location_reasoning_engine_memory(name, fields: nil, quota_user: nil, options: nil, &block)
|
23047
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
23048
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
23049
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory
|
22373
23050
|
command.params['name'] = name unless name.nil?
|
22374
23051
|
command.query['fields'] = fields unless fields.nil?
|
22375
23052
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22376
23053
|
execute_or_queue_command(command, &block)
|
22377
23054
|
end
|
22378
23055
|
|
22379
|
-
#
|
22380
|
-
#
|
22381
|
-
#
|
22382
|
-
#
|
22383
|
-
#
|
22384
|
-
#
|
23056
|
+
# List Memories.
|
23057
|
+
# @param [String] parent
|
23058
|
+
# Required. The resource name of the ReasoningEngine to list the Memories under.
|
23059
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
23060
|
+
# reasoning_engine``
|
23061
|
+
# @param [String] filter
|
23062
|
+
# Optional. The standard list filter. More detail in [AIP-160](https://google.
|
23063
|
+
# aip.dev/160). Supported fields (equality match only): * `scope` (as a JSON
|
23064
|
+
# string)
|
23065
|
+
# @param [Fixnum] page_size
|
23066
|
+
# Optional. The standard list page size.
|
23067
|
+
# @param [String] page_token
|
23068
|
+
# Optional. The standard list page token.
|
22385
23069
|
# @param [String] fields
|
22386
23070
|
# Selector specifying which fields to include in a partial response.
|
22387
23071
|
# @param [String] quota_user
|
@@ -22391,28 +23075,35 @@ module Google
|
|
22391
23075
|
# Request-specific options
|
22392
23076
|
#
|
22393
23077
|
# @yield [result, err] Result & error if block supplied
|
22394
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
23078
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse] parsed result object
|
22395
23079
|
# @yieldparam err [StandardError] error object if request failed
|
22396
23080
|
#
|
22397
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
23081
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse]
|
22398
23082
|
#
|
22399
23083
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22400
23084
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22401
23085
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22402
|
-
def
|
22403
|
-
command = make_simple_command(:
|
22404
|
-
command.response_representation = Google::Apis::AiplatformV1beta1::
|
22405
|
-
command.response_class = Google::Apis::AiplatformV1beta1::
|
22406
|
-
command.params['
|
23086
|
+
def list_project_location_reasoning_engine_memories(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23087
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/memories', options)
|
23088
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse::Representation
|
23089
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse
|
23090
|
+
command.params['parent'] = parent unless parent.nil?
|
23091
|
+
command.query['filter'] = filter unless filter.nil?
|
23092
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
23093
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
22407
23094
|
command.query['fields'] = fields unless fields.nil?
|
22408
23095
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22409
23096
|
execute_or_queue_command(command, &block)
|
22410
23097
|
end
|
22411
23098
|
|
22412
|
-
#
|
22413
|
-
# to poll the operation result at intervals as recommended by the API service.
|
23099
|
+
# Update a Memory.
|
22414
23100
|
# @param [String] name
|
22415
|
-
# The name of the
|
23101
|
+
# Identifier. The resource name of the Memory. Format: `projects/`project`/
|
23102
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
23103
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
|
23104
|
+
# @param [String] update_mask
|
23105
|
+
# Optional. Mask specifying which fields to update. Supported fields: * `
|
23106
|
+
# display_name` * `description` * `fact`
|
22416
23107
|
# @param [String] fields
|
22417
23108
|
# Selector specifying which fields to include in a partial response.
|
22418
23109
|
# @param [String] quota_user
|
@@ -22430,30 +23121,25 @@ module Google
|
|
22430
23121
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22431
23122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22432
23123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22433
|
-
def
|
22434
|
-
command = make_simple_command(:
|
23124
|
+
def patch_project_location_reasoning_engine_memory(name, google_cloud_aiplatform_v1beta1_memory_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23125
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
23126
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
23127
|
+
command.request_object = google_cloud_aiplatform_v1beta1_memory_object
|
22435
23128
|
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
22436
23129
|
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
22437
23130
|
command.params['name'] = name unless name.nil?
|
23131
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
22438
23132
|
command.query['fields'] = fields unless fields.nil?
|
22439
23133
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22440
23134
|
execute_or_queue_command(command, &block)
|
22441
23135
|
end
|
22442
23136
|
|
22443
|
-
#
|
22444
|
-
#
|
22445
|
-
#
|
22446
|
-
#
|
22447
|
-
#
|
22448
|
-
#
|
22449
|
-
# the latest state before the specified timeout (including immediately), meaning
|
22450
|
-
# even an immediate response is no guarantee that the operation is done.
|
22451
|
-
# @param [String] name
|
22452
|
-
# The name of the operation resource to wait on.
|
22453
|
-
# @param [String] timeout
|
22454
|
-
# The maximum duration to wait before timing out. If left blank, the wait will
|
22455
|
-
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
22456
|
-
# context deadline is also specified, the shorter one will be used.
|
23137
|
+
# Retrieve memories.
|
23138
|
+
# @param [String] parent
|
23139
|
+
# Required. The resource name of the ReasoningEngine to retrieve memories from.
|
23140
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
23141
|
+
# reasoning_engine``
|
23142
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest] google_cloud_aiplatform_v1beta1_retrieve_memories_request_object
|
22457
23143
|
# @param [String] fields
|
22458
23144
|
# Selector specifying which fields to include in a partial response.
|
22459
23145
|
# @param [String] quota_user
|
@@ -22463,20 +23149,21 @@ module Google
|
|
22463
23149
|
# Request-specific options
|
22464
23150
|
#
|
22465
23151
|
# @yield [result, err] Result & error if block supplied
|
22466
|
-
# @yieldparam result [Google::Apis::AiplatformV1beta1::
|
23152
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse] parsed result object
|
22467
23153
|
# @yieldparam err [StandardError] error object if request failed
|
22468
23154
|
#
|
22469
|
-
# @return [Google::Apis::AiplatformV1beta1::
|
23155
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse]
|
22470
23156
|
#
|
22471
23157
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
22472
23158
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
22473
23159
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
22474
|
-
def
|
22475
|
-
command = make_simple_command(:post, 'v1beta1/{+
|
22476
|
-
command.
|
22477
|
-
command.
|
22478
|
-
command.
|
22479
|
-
command.
|
23160
|
+
def retrieve_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_retrieve_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
23161
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories:retrieve', options)
|
23162
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest::Representation
|
23163
|
+
command.request_object = google_cloud_aiplatform_v1beta1_retrieve_memories_request_object
|
23164
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse::Representation
|
23165
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
|
23166
|
+
command.params['parent'] = parent unless parent.nil?
|
22480
23167
|
command.query['fields'] = fields unless fields.nil?
|
22481
23168
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
22482
23169
|
execute_or_queue_command(command, &block)
|
@@ -28410,6 +29097,255 @@ module Google
|
|
28410
29097
|
execute_or_queue_command(command, &block)
|
28411
29098
|
end
|
28412
29099
|
|
29100
|
+
# Create a Memory.
|
29101
|
+
# @param [String] parent
|
29102
|
+
# Required. The resource name of the ReasoningEngine to create the Memory under.
|
29103
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
29104
|
+
# reasoning_engine``
|
29105
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
|
29106
|
+
# @param [String] fields
|
29107
|
+
# Selector specifying which fields to include in a partial response.
|
29108
|
+
# @param [String] quota_user
|
29109
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29110
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29111
|
+
# @param [Google::Apis::RequestOptions] options
|
29112
|
+
# Request-specific options
|
29113
|
+
#
|
29114
|
+
# @yield [result, err] Result & error if block supplied
|
29115
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
29116
|
+
# @yieldparam err [StandardError] error object if request failed
|
29117
|
+
#
|
29118
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
29119
|
+
#
|
29120
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29121
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29122
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29123
|
+
def create_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_memory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
29124
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories', options)
|
29125
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
29126
|
+
command.request_object = google_cloud_aiplatform_v1beta1_memory_object
|
29127
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
29128
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
29129
|
+
command.params['parent'] = parent unless parent.nil?
|
29130
|
+
command.query['fields'] = fields unless fields.nil?
|
29131
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29132
|
+
execute_or_queue_command(command, &block)
|
29133
|
+
end
|
29134
|
+
|
29135
|
+
# Delete a Memory.
|
29136
|
+
# @param [String] name
|
29137
|
+
# Required. The resource name of the Memory to delete. Format: `projects/`
|
29138
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
|
29139
|
+
# memory``
|
29140
|
+
# @param [String] fields
|
29141
|
+
# Selector specifying which fields to include in a partial response.
|
29142
|
+
# @param [String] quota_user
|
29143
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29144
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29145
|
+
# @param [Google::Apis::RequestOptions] options
|
29146
|
+
# Request-specific options
|
29147
|
+
#
|
29148
|
+
# @yield [result, err] Result & error if block supplied
|
29149
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
29150
|
+
# @yieldparam err [StandardError] error object if request failed
|
29151
|
+
#
|
29152
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
29153
|
+
#
|
29154
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29155
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29156
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29157
|
+
def delete_reasoning_engine_memory(name, fields: nil, quota_user: nil, options: nil, &block)
|
29158
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
29159
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
29160
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
29161
|
+
command.params['name'] = name unless name.nil?
|
29162
|
+
command.query['fields'] = fields unless fields.nil?
|
29163
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29164
|
+
execute_or_queue_command(command, &block)
|
29165
|
+
end
|
29166
|
+
|
29167
|
+
# Generate memories.
|
29168
|
+
# @param [String] parent
|
29169
|
+
# Required. The resource name of the ReasoningEngine to generate memories for.
|
29170
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
29171
|
+
# reasoning_engine``
|
29172
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequest] google_cloud_aiplatform_v1beta1_generate_memories_request_object
|
29173
|
+
# @param [String] fields
|
29174
|
+
# Selector specifying which fields to include in a partial response.
|
29175
|
+
# @param [String] quota_user
|
29176
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29177
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29178
|
+
# @param [Google::Apis::RequestOptions] options
|
29179
|
+
# Request-specific options
|
29180
|
+
#
|
29181
|
+
# @yield [result, err] Result & error if block supplied
|
29182
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
29183
|
+
# @yieldparam err [StandardError] error object if request failed
|
29184
|
+
#
|
29185
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
29186
|
+
#
|
29187
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29188
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29189
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29190
|
+
def generate_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_generate_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
29191
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories:generate', options)
|
29192
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequest::Representation
|
29193
|
+
command.request_object = google_cloud_aiplatform_v1beta1_generate_memories_request_object
|
29194
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
29195
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
29196
|
+
command.params['parent'] = parent unless parent.nil?
|
29197
|
+
command.query['fields'] = fields unless fields.nil?
|
29198
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29199
|
+
execute_or_queue_command(command, &block)
|
29200
|
+
end
|
29201
|
+
|
29202
|
+
# Get a Memory.
|
29203
|
+
# @param [String] name
|
29204
|
+
# Required. The resource name of the Memory. Format: `projects/`project`/
|
29205
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
29206
|
+
# @param [String] fields
|
29207
|
+
# Selector specifying which fields to include in a partial response.
|
29208
|
+
# @param [String] quota_user
|
29209
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29210
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29211
|
+
# @param [Google::Apis::RequestOptions] options
|
29212
|
+
# Request-specific options
|
29213
|
+
#
|
29214
|
+
# @yield [result, err] Result & error if block supplied
|
29215
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] parsed result object
|
29216
|
+
# @yieldparam err [StandardError] error object if request failed
|
29217
|
+
#
|
29218
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory]
|
29219
|
+
#
|
29220
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29221
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29222
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29223
|
+
def get_reasoning_engine_memory(name, fields: nil, quota_user: nil, options: nil, &block)
|
29224
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
29225
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
29226
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory
|
29227
|
+
command.params['name'] = name unless name.nil?
|
29228
|
+
command.query['fields'] = fields unless fields.nil?
|
29229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29230
|
+
execute_or_queue_command(command, &block)
|
29231
|
+
end
|
29232
|
+
|
29233
|
+
# List Memories.
|
29234
|
+
# @param [String] parent
|
29235
|
+
# Required. The resource name of the ReasoningEngine to list the Memories under.
|
29236
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
29237
|
+
# reasoning_engine``
|
29238
|
+
# @param [String] filter
|
29239
|
+
# Optional. The standard list filter. More detail in [AIP-160](https://google.
|
29240
|
+
# aip.dev/160). Supported fields (equality match only): * `scope` (as a JSON
|
29241
|
+
# string)
|
29242
|
+
# @param [Fixnum] page_size
|
29243
|
+
# Optional. The standard list page size.
|
29244
|
+
# @param [String] page_token
|
29245
|
+
# Optional. The standard list page token.
|
29246
|
+
# @param [String] fields
|
29247
|
+
# Selector specifying which fields to include in a partial response.
|
29248
|
+
# @param [String] quota_user
|
29249
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29250
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29251
|
+
# @param [Google::Apis::RequestOptions] options
|
29252
|
+
# Request-specific options
|
29253
|
+
#
|
29254
|
+
# @yield [result, err] Result & error if block supplied
|
29255
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse] parsed result object
|
29256
|
+
# @yieldparam err [StandardError] error object if request failed
|
29257
|
+
#
|
29258
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse]
|
29259
|
+
#
|
29260
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29261
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29262
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29263
|
+
def list_reasoning_engine_memories(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
29264
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/memories', options)
|
29265
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse::Representation
|
29266
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse
|
29267
|
+
command.params['parent'] = parent unless parent.nil?
|
29268
|
+
command.query['filter'] = filter unless filter.nil?
|
29269
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
29270
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
29271
|
+
command.query['fields'] = fields unless fields.nil?
|
29272
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29273
|
+
execute_or_queue_command(command, &block)
|
29274
|
+
end
|
29275
|
+
|
29276
|
+
# Update a Memory.
|
29277
|
+
# @param [String] name
|
29278
|
+
# Identifier. The resource name of the Memory. Format: `projects/`project`/
|
29279
|
+
# locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
|
29280
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
|
29281
|
+
# @param [String] update_mask
|
29282
|
+
# Optional. Mask specifying which fields to update. Supported fields: * `
|
29283
|
+
# display_name` * `description` * `fact`
|
29284
|
+
# @param [String] fields
|
29285
|
+
# Selector specifying which fields to include in a partial response.
|
29286
|
+
# @param [String] quota_user
|
29287
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29288
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29289
|
+
# @param [Google::Apis::RequestOptions] options
|
29290
|
+
# Request-specific options
|
29291
|
+
#
|
29292
|
+
# @yield [result, err] Result & error if block supplied
|
29293
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
|
29294
|
+
# @yieldparam err [StandardError] error object if request failed
|
29295
|
+
#
|
29296
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
|
29297
|
+
#
|
29298
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29299
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29300
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29301
|
+
def patch_reasoning_engine_memory(name, google_cloud_aiplatform_v1beta1_memory_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
29302
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
29303
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
|
29304
|
+
command.request_object = google_cloud_aiplatform_v1beta1_memory_object
|
29305
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
|
29306
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
|
29307
|
+
command.params['name'] = name unless name.nil?
|
29308
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
29309
|
+
command.query['fields'] = fields unless fields.nil?
|
29310
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29311
|
+
execute_or_queue_command(command, &block)
|
29312
|
+
end
|
29313
|
+
|
29314
|
+
# Retrieve memories.
|
29315
|
+
# @param [String] parent
|
29316
|
+
# Required. The resource name of the ReasoningEngine to retrieve memories from.
|
29317
|
+
# Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
29318
|
+
# reasoning_engine``
|
29319
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest] google_cloud_aiplatform_v1beta1_retrieve_memories_request_object
|
29320
|
+
# @param [String] fields
|
29321
|
+
# Selector specifying which fields to include in a partial response.
|
29322
|
+
# @param [String] quota_user
|
29323
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29324
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29325
|
+
# @param [Google::Apis::RequestOptions] options
|
29326
|
+
# Request-specific options
|
29327
|
+
#
|
29328
|
+
# @yield [result, err] Result & error if block supplied
|
29329
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse] parsed result object
|
29330
|
+
# @yieldparam err [StandardError] error object if request failed
|
29331
|
+
#
|
29332
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse]
|
29333
|
+
#
|
29334
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29335
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29336
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29337
|
+
def retrieve_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_retrieve_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
29338
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memories:retrieve', options)
|
29339
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest::Representation
|
29340
|
+
command.request_object = google_cloud_aiplatform_v1beta1_retrieve_memories_request_object
|
29341
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse::Representation
|
29342
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
|
29343
|
+
command.params['parent'] = parent unless parent.nil?
|
29344
|
+
command.query['fields'] = fields unless fields.nil?
|
29345
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29346
|
+
execute_or_queue_command(command, &block)
|
29347
|
+
end
|
29348
|
+
|
28413
29349
|
# Appends an event to a given session.
|
28414
29350
|
# @param [String] name
|
28415
29351
|
# Required. The resource name of the session to append event to. Format: `
|