google-apis-aiplatform_v1beta1 0.51.0 → 0.53.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.
@@ -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::GoogleProtobufEmpty] parsed result object
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::GoogleProtobufEmpty]
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 cancel_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22370
- command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
22371
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
22372
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
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
- # Deletes a long-running operation. This method indicates that the client is no
22380
- # longer interested in the operation result. It does not cancel the operation.
22381
- # If the server doesn't support this method, it returns `google.rpc.Code.
22382
- # UNIMPLEMENTED`.
22383
- # @param [String] name
22384
- # The name of the operation resource to be deleted.
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::GoogleProtobufEmpty] parsed result object
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::GoogleProtobufEmpty]
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 delete_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22403
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
22404
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
22405
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
22406
- command.params['name'] = name unless name.nil?
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
- # Gets the latest state of a long-running operation. Clients can use this method
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 operation resource.
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 get_project_location_reasoning_engine_example_operation(name, fields: nil, quota_user: nil, options: nil, &block)
22434
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
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
- # Waits until the specified long-running operation is done or reaches at most a
22444
- # specified timeout, returning the latest state. If the operation is already
22445
- # done, the latest state is immediately returned. If the timeout specified is
22446
- # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
22447
- # the server does not support this method, it returns `google.rpc.Code.
22448
- # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
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::GoogleLongrunningOperation] parsed result object
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::GoogleLongrunningOperation]
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 wait_project_location_reasoning_engine_example_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
22475
- command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
22476
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
22477
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
22478
- command.params['name'] = name unless name.nil?
22479
- command.query['timeout'] = timeout unless timeout.nil?
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)
@@ -23253,6 +23940,10 @@ module Google
23253
23940
  # Required. The resource name of the session to list events from. Format: `
23254
23941
  # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
23255
23942
  # sessions/`session``
23943
+ # @param [String] filter
23944
+ # Optional. The standard list filter. Supported fields: * `timestamp` range (i.e.
23945
+ # `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339
23946
+ # format) More detail in [AIP-160](https://google.aip.dev/160).
23256
23947
  # @param [Fixnum] page_size
23257
23948
  # Optional. The maximum number of events to return. The service may return fewer
23258
23949
  # than this value. If unspecified, at most 100 events will be returned. These
@@ -23277,11 +23968,12 @@ module Google
23277
23968
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23278
23969
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23279
23970
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23280
- def list_project_location_reasoning_engine_session_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23971
+ def list_project_location_reasoning_engine_session_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23281
23972
  command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
23282
23973
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
23283
23974
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
23284
23975
  command.params['parent'] = parent unless parent.nil?
23976
+ command.query['filter'] = filter unless filter.nil?
23285
23977
  command.query['pageSize'] = page_size unless page_size.nil?
23286
23978
  command.query['pageToken'] = page_token unless page_token.nil?
23287
23979
  command.query['fields'] = fields unless fields.nil?
@@ -28410,6 +29102,255 @@ module Google
28410
29102
  execute_or_queue_command(command, &block)
28411
29103
  end
28412
29104
 
29105
+ # Create a Memory.
29106
+ # @param [String] parent
29107
+ # Required. The resource name of the ReasoningEngine to create the Memory under.
29108
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
29109
+ # reasoning_engine``
29110
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
29111
+ # @param [String] fields
29112
+ # Selector specifying which fields to include in a partial response.
29113
+ # @param [String] quota_user
29114
+ # Available to use for quota purposes for server-side applications. Can be any
29115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29116
+ # @param [Google::Apis::RequestOptions] options
29117
+ # Request-specific options
29118
+ #
29119
+ # @yield [result, err] Result & error if block supplied
29120
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
29121
+ # @yieldparam err [StandardError] error object if request failed
29122
+ #
29123
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
29124
+ #
29125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29128
+ def create_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_memory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
29129
+ command = make_simple_command(:post, 'v1beta1/{+parent}/memories', options)
29130
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
29131
+ command.request_object = google_cloud_aiplatform_v1beta1_memory_object
29132
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
29133
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
29134
+ command.params['parent'] = parent unless parent.nil?
29135
+ command.query['fields'] = fields unless fields.nil?
29136
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29137
+ execute_or_queue_command(command, &block)
29138
+ end
29139
+
29140
+ # Delete a Memory.
29141
+ # @param [String] name
29142
+ # Required. The resource name of the Memory to delete. Format: `projects/`
29143
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/`
29144
+ # memory``
29145
+ # @param [String] fields
29146
+ # Selector specifying which fields to include in a partial response.
29147
+ # @param [String] quota_user
29148
+ # Available to use for quota purposes for server-side applications. Can be any
29149
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29150
+ # @param [Google::Apis::RequestOptions] options
29151
+ # Request-specific options
29152
+ #
29153
+ # @yield [result, err] Result & error if block supplied
29154
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
29155
+ # @yieldparam err [StandardError] error object if request failed
29156
+ #
29157
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
29158
+ #
29159
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29160
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29161
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29162
+ def delete_reasoning_engine_memory(name, fields: nil, quota_user: nil, options: nil, &block)
29163
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
29164
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
29165
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
29166
+ command.params['name'] = name unless name.nil?
29167
+ command.query['fields'] = fields unless fields.nil?
29168
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29169
+ execute_or_queue_command(command, &block)
29170
+ end
29171
+
29172
+ # Generate memories.
29173
+ # @param [String] parent
29174
+ # Required. The resource name of the ReasoningEngine to generate memories for.
29175
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
29176
+ # reasoning_engine``
29177
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequest] google_cloud_aiplatform_v1beta1_generate_memories_request_object
29178
+ # @param [String] fields
29179
+ # Selector specifying which fields to include in a partial response.
29180
+ # @param [String] quota_user
29181
+ # Available to use for quota purposes for server-side applications. Can be any
29182
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29183
+ # @param [Google::Apis::RequestOptions] options
29184
+ # Request-specific options
29185
+ #
29186
+ # @yield [result, err] Result & error if block supplied
29187
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
29188
+ # @yieldparam err [StandardError] error object if request failed
29189
+ #
29190
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
29191
+ #
29192
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29193
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29194
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29195
+ def generate_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_generate_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
29196
+ command = make_simple_command(:post, 'v1beta1/{+parent}/memories:generate', options)
29197
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequest::Representation
29198
+ command.request_object = google_cloud_aiplatform_v1beta1_generate_memories_request_object
29199
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
29200
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
29201
+ command.params['parent'] = parent unless parent.nil?
29202
+ command.query['fields'] = fields unless fields.nil?
29203
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29204
+ execute_or_queue_command(command, &block)
29205
+ end
29206
+
29207
+ # Get a Memory.
29208
+ # @param [String] name
29209
+ # Required. The resource name of the Memory. Format: `projects/`project`/
29210
+ # locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
29211
+ # @param [String] fields
29212
+ # Selector specifying which fields to include in a partial response.
29213
+ # @param [String] quota_user
29214
+ # Available to use for quota purposes for server-side applications. Can be any
29215
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29216
+ # @param [Google::Apis::RequestOptions] options
29217
+ # Request-specific options
29218
+ #
29219
+ # @yield [result, err] Result & error if block supplied
29220
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] parsed result object
29221
+ # @yieldparam err [StandardError] error object if request failed
29222
+ #
29223
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory]
29224
+ #
29225
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29226
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29227
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29228
+ def get_reasoning_engine_memory(name, fields: nil, quota_user: nil, options: nil, &block)
29229
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
29230
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
29231
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory
29232
+ command.params['name'] = name unless name.nil?
29233
+ command.query['fields'] = fields unless fields.nil?
29234
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29235
+ execute_or_queue_command(command, &block)
29236
+ end
29237
+
29238
+ # List Memories.
29239
+ # @param [String] parent
29240
+ # Required. The resource name of the ReasoningEngine to list the Memories under.
29241
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
29242
+ # reasoning_engine``
29243
+ # @param [String] filter
29244
+ # Optional. The standard list filter. More detail in [AIP-160](https://google.
29245
+ # aip.dev/160). Supported fields (equality match only): * `scope` (as a JSON
29246
+ # string)
29247
+ # @param [Fixnum] page_size
29248
+ # Optional. The standard list page size.
29249
+ # @param [String] page_token
29250
+ # Optional. The standard list page token.
29251
+ # @param [String] fields
29252
+ # Selector specifying which fields to include in a partial response.
29253
+ # @param [String] quota_user
29254
+ # Available to use for quota purposes for server-side applications. Can be any
29255
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29256
+ # @param [Google::Apis::RequestOptions] options
29257
+ # Request-specific options
29258
+ #
29259
+ # @yield [result, err] Result & error if block supplied
29260
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse] parsed result object
29261
+ # @yieldparam err [StandardError] error object if request failed
29262
+ #
29263
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse]
29264
+ #
29265
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29266
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29267
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29268
+ def list_reasoning_engine_memories(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
29269
+ command = make_simple_command(:get, 'v1beta1/{+parent}/memories', options)
29270
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse::Representation
29271
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse
29272
+ command.params['parent'] = parent unless parent.nil?
29273
+ command.query['filter'] = filter unless filter.nil?
29274
+ command.query['pageSize'] = page_size unless page_size.nil?
29275
+ command.query['pageToken'] = page_token unless page_token.nil?
29276
+ command.query['fields'] = fields unless fields.nil?
29277
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29278
+ execute_or_queue_command(command, &block)
29279
+ end
29280
+
29281
+ # Update a Memory.
29282
+ # @param [String] name
29283
+ # Identifier. The resource name of the Memory. Format: `projects/`project`/
29284
+ # locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory``
29285
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory] google_cloud_aiplatform_v1beta1_memory_object
29286
+ # @param [String] update_mask
29287
+ # Optional. Mask specifying which fields to update. Supported fields: * `
29288
+ # display_name` * `description` * `fact`
29289
+ # @param [String] fields
29290
+ # Selector specifying which fields to include in a partial response.
29291
+ # @param [String] quota_user
29292
+ # Available to use for quota purposes for server-side applications. Can be any
29293
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29294
+ # @param [Google::Apis::RequestOptions] options
29295
+ # Request-specific options
29296
+ #
29297
+ # @yield [result, err] Result & error if block supplied
29298
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
29299
+ # @yieldparam err [StandardError] error object if request failed
29300
+ #
29301
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
29302
+ #
29303
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29304
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29305
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29306
+ def patch_reasoning_engine_memory(name, google_cloud_aiplatform_v1beta1_memory_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
29307
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
29308
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Memory::Representation
29309
+ command.request_object = google_cloud_aiplatform_v1beta1_memory_object
29310
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
29311
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
29312
+ command.params['name'] = name unless name.nil?
29313
+ command.query['updateMask'] = update_mask unless update_mask.nil?
29314
+ command.query['fields'] = fields unless fields.nil?
29315
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29316
+ execute_or_queue_command(command, &block)
29317
+ end
29318
+
29319
+ # Retrieve memories.
29320
+ # @param [String] parent
29321
+ # Required. The resource name of the ReasoningEngine to retrieve memories from.
29322
+ # Format: `projects/`project`/locations/`location`/reasoningEngines/`
29323
+ # reasoning_engine``
29324
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest] google_cloud_aiplatform_v1beta1_retrieve_memories_request_object
29325
+ # @param [String] fields
29326
+ # Selector specifying which fields to include in a partial response.
29327
+ # @param [String] quota_user
29328
+ # Available to use for quota purposes for server-side applications. Can be any
29329
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
29330
+ # @param [Google::Apis::RequestOptions] options
29331
+ # Request-specific options
29332
+ #
29333
+ # @yield [result, err] Result & error if block supplied
29334
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse] parsed result object
29335
+ # @yieldparam err [StandardError] error object if request failed
29336
+ #
29337
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse]
29338
+ #
29339
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29340
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29341
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
29342
+ def retrieve_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_retrieve_memories_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
29343
+ command = make_simple_command(:post, 'v1beta1/{+parent}/memories:retrieve', options)
29344
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest::Representation
29345
+ command.request_object = google_cloud_aiplatform_v1beta1_retrieve_memories_request_object
29346
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse::Representation
29347
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesResponse
29348
+ command.params['parent'] = parent unless parent.nil?
29349
+ command.query['fields'] = fields unless fields.nil?
29350
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
29351
+ execute_or_queue_command(command, &block)
29352
+ end
29353
+
28413
29354
  # Appends an event to a given session.
28414
29355
  # @param [String] name
28415
29356
  # Required. The resource name of the session to append event to. Format: `
@@ -28632,6 +29573,10 @@ module Google
28632
29573
  # Required. The resource name of the session to list events from. Format: `
28633
29574
  # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
28634
29575
  # sessions/`session``
29576
+ # @param [String] filter
29577
+ # Optional. The standard list filter. Supported fields: * `timestamp` range (i.e.
29578
+ # `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339
29579
+ # format) More detail in [AIP-160](https://google.aip.dev/160).
28635
29580
  # @param [Fixnum] page_size
28636
29581
  # Optional. The maximum number of events to return. The service may return fewer
28637
29582
  # than this value. If unspecified, at most 100 events will be returned. These
@@ -28656,11 +29601,12 @@ module Google
28656
29601
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28657
29602
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28658
29603
  # @raise [Google::Apis::AuthorizationError] Authorization is required
28659
- def list_reasoning_engine_session_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
29604
+ def list_reasoning_engine_session_events(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
28660
29605
  command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
28661
29606
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
28662
29607
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
28663
29608
  command.params['parent'] = parent unless parent.nil?
29609
+ command.query['filter'] = filter unless filter.nil?
28664
29610
  command.query['pageSize'] = page_size unless page_size.nil?
28665
29611
  command.query['pageToken'] = page_token unless page_token.nil?
28666
29612
  command.query['fields'] = fields unless fields.nil?