google-apis-aiplatform_v1beta1 0.58.0 → 0.60.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.
@@ -1242,6 +1242,77 @@ module Google
1242
1242
  execute_or_queue_command(command, &block)
1243
1243
  end
1244
1244
 
1245
+ # Generates rubrics for a given prompt. A rubric represents a single testable
1246
+ # criterion for evaluation. One input prompt could have multiple rubrics This
1247
+ # RPC allows users to get suggested rubrics based on provided prompt, which can
1248
+ # then be reviewed and used for subsequent evaluations.
1249
+ # @param [String] location
1250
+ # Required. The resource name of the Location to generate rubrics from. Format: `
1251
+ # projects/`project`/locations/`location``
1252
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest] google_cloud_aiplatform_v1beta1_generate_instance_rubrics_request_object
1253
+ # @param [String] fields
1254
+ # Selector specifying which fields to include in a partial response.
1255
+ # @param [String] quota_user
1256
+ # Available to use for quota purposes for server-side applications. Can be any
1257
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1258
+ # @param [Google::Apis::RequestOptions] options
1259
+ # Request-specific options
1260
+ #
1261
+ # @yield [result, err] Result & error if block supplied
1262
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse] parsed result object
1263
+ # @yieldparam err [StandardError] error object if request failed
1264
+ #
1265
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse]
1266
+ #
1267
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1268
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1269
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1270
+ def generate_project_location_instance_rubrics(location, google_cloud_aiplatform_v1beta1_generate_instance_rubrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1271
+ command = make_simple_command(:post, 'v1beta1/{+location}:generateInstanceRubrics', options)
1272
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest::Representation
1273
+ command.request_object = google_cloud_aiplatform_v1beta1_generate_instance_rubrics_request_object
1274
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse::Representation
1275
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateInstanceRubricsResponse
1276
+ command.params['location'] = location unless location.nil?
1277
+ command.query['fields'] = fields unless fields.nil?
1278
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1279
+ execute_or_queue_command(command, &block)
1280
+ end
1281
+
1282
+ # Generates synthetic data based on the provided configuration.
1283
+ # @param [String] location
1284
+ # Required. The resource name of the Location to run the job. Format: `projects/`
1285
+ # project`/locations/`location``
1286
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest] google_cloud_aiplatform_v1beta1_generate_synthetic_data_request_object
1287
+ # @param [String] fields
1288
+ # Selector specifying which fields to include in a partial response.
1289
+ # @param [String] quota_user
1290
+ # Available to use for quota purposes for server-side applications. Can be any
1291
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1292
+ # @param [Google::Apis::RequestOptions] options
1293
+ # Request-specific options
1294
+ #
1295
+ # @yield [result, err] Result & error if block supplied
1296
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse] parsed result object
1297
+ # @yieldparam err [StandardError] error object if request failed
1298
+ #
1299
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse]
1300
+ #
1301
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1302
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1303
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1304
+ def generate_project_location_synthetic_data(location, google_cloud_aiplatform_v1beta1_generate_synthetic_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1305
+ command = make_simple_command(:post, 'v1beta1/{+location}:generateSyntheticData', options)
1306
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateSyntheticDataRequest::Representation
1307
+ command.request_object = google_cloud_aiplatform_v1beta1_generate_synthetic_data_request_object
1308
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse::Representation
1309
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateSyntheticDataResponse
1310
+ command.params['location'] = location unless location.nil?
1311
+ command.query['fields'] = fields unless fields.nil?
1312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1313
+ execute_or_queue_command(command, &block)
1314
+ end
1315
+
1245
1316
  # Gets information about a location.
1246
1317
  # @param [String] name
1247
1318
  # Resource name for the location.
@@ -1307,8 +1378,8 @@ module Google
1307
1378
  # @param [String] name
1308
1379
  # The resource that owns the locations collection, if applicable.
1309
1380
  # @param [Array<String>, String] extra_location_types
1310
- # Optional. A list of extra location types that should be used as conditions for
1311
- # controlling the visibility of the locations.
1381
+ # Optional. Do not use this field. It is unsupported and is ignored unless
1382
+ # explicitly documented otherwise. This is primarily for internal usage.
1312
1383
  # @param [String] filter
1313
1384
  # A filter to narrow down results to a preferred subset. The filtering language
1314
1385
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -6395,20 +6466,487 @@ module Google
6395
6466
  # Request-specific options
6396
6467
  #
6397
6468
  # @yield [result, err] Result & error if block supplied
6398
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
6469
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
6470
+ # @yieldparam err [StandardError] error object if request failed
6471
+ #
6472
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
6473
+ #
6474
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6475
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6476
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6477
+ def wait_project_location_endpoint_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
6478
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
6479
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6480
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
6481
+ command.params['name'] = name unless name.nil?
6482
+ command.query['timeout'] = timeout unless timeout.nil?
6483
+ command.query['fields'] = fields unless fields.nil?
6484
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6485
+ execute_or_queue_command(command, &block)
6486
+ end
6487
+
6488
+ # Creates an Evaluation Item.
6489
+ # @param [String] parent
6490
+ # Required. The resource name of the Location to create the Evaluation Item in.
6491
+ # Format: `projects/`project`/locations/`location``
6492
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem] google_cloud_aiplatform_v1beta1_evaluation_item_object
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::GoogleCloudAiplatformV1beta1EvaluationItem] parsed result object
6503
+ # @yieldparam err [StandardError] error object if request failed
6504
+ #
6505
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem]
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 create_project_location_evaluation_item(parent, google_cloud_aiplatform_v1beta1_evaluation_item_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6511
+ command = make_simple_command(:post, 'v1beta1/{+parent}/evaluationItems', options)
6512
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem::Representation
6513
+ command.request_object = google_cloud_aiplatform_v1beta1_evaluation_item_object
6514
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem::Representation
6515
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem
6516
+ command.params['parent'] = parent unless parent.nil?
6517
+ command.query['fields'] = fields unless fields.nil?
6518
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6519
+ execute_or_queue_command(command, &block)
6520
+ end
6521
+
6522
+ # Deletes an Evaluation Item.
6523
+ # @param [String] name
6524
+ # Required. The name of the EvaluationItem resource to be deleted. Format: `
6525
+ # projects/`project`/locations/`location`/evaluationItems/`evaluation_item``
6526
+ # @param [String] fields
6527
+ # Selector specifying which fields to include in a partial response.
6528
+ # @param [String] quota_user
6529
+ # Available to use for quota purposes for server-side applications. Can be any
6530
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6531
+ # @param [Google::Apis::RequestOptions] options
6532
+ # Request-specific options
6533
+ #
6534
+ # @yield [result, err] Result & error if block supplied
6535
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
6536
+ # @yieldparam err [StandardError] error object if request failed
6537
+ #
6538
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
6539
+ #
6540
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6541
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6542
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6543
+ def delete_project_location_evaluation_item(name, fields: nil, quota_user: nil, options: nil, &block)
6544
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6545
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6546
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
6547
+ command.params['name'] = name unless name.nil?
6548
+ command.query['fields'] = fields unless fields.nil?
6549
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6550
+ execute_or_queue_command(command, &block)
6551
+ end
6552
+
6553
+ # Gets an Evaluation Item.
6554
+ # @param [String] name
6555
+ # Required. The name of the EvaluationItem resource. Format: `projects/`project`/
6556
+ # locations/`location`/evaluationItems/`evaluation_item``
6557
+ # @param [String] fields
6558
+ # Selector specifying which fields to include in a partial response.
6559
+ # @param [String] quota_user
6560
+ # Available to use for quota purposes for server-side applications. Can be any
6561
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6562
+ # @param [Google::Apis::RequestOptions] options
6563
+ # Request-specific options
6564
+ #
6565
+ # @yield [result, err] Result & error if block supplied
6566
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem] parsed result object
6567
+ # @yieldparam err [StandardError] error object if request failed
6568
+ #
6569
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem]
6570
+ #
6571
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6572
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6573
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6574
+ def get_project_location_evaluation_item(name, fields: nil, quota_user: nil, options: nil, &block)
6575
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
6576
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem::Representation
6577
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationItem
6578
+ command.params['name'] = name unless name.nil?
6579
+ command.query['fields'] = fields unless fields.nil?
6580
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6581
+ execute_or_queue_command(command, &block)
6582
+ end
6583
+
6584
+ # Lists Evaluation Items.
6585
+ # @param [String] parent
6586
+ # Required. The resource name of the Location from which to list the Evaluation
6587
+ # Items. Format: `projects/`project`/locations/`location``
6588
+ # @param [String] filter
6589
+ # Optional. Filter expression that matches a subset of the EvaluationItems to
6590
+ # show. For field names both snake_case and camelCase are supported. For more
6591
+ # information about filter syntax, see [AIP-160](https://google.aip.dev/160).
6592
+ # @param [String] order_by
6593
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
6594
+ # order by default. Use `desc` after a field name for descending.
6595
+ # @param [Fixnum] page_size
6596
+ # Optional. The maximum number of Evaluation Items to return.
6597
+ # @param [String] page_token
6598
+ # Optional. A page token, received from a previous `ListEvaluationItems` call.
6599
+ # Provide this to retrieve the subsequent page.
6600
+ # @param [String] fields
6601
+ # Selector specifying which fields to include in a partial response.
6602
+ # @param [String] quota_user
6603
+ # Available to use for quota purposes for server-side applications. Can be any
6604
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6605
+ # @param [Google::Apis::RequestOptions] options
6606
+ # Request-specific options
6607
+ #
6608
+ # @yield [result, err] Result & error if block supplied
6609
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse] parsed result object
6610
+ # @yieldparam err [StandardError] error object if request failed
6611
+ #
6612
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse]
6613
+ #
6614
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6615
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6616
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6617
+ def list_project_location_evaluation_items(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6618
+ command = make_simple_command(:get, 'v1beta1/{+parent}/evaluationItems', options)
6619
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse::Representation
6620
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse
6621
+ command.params['parent'] = parent unless parent.nil?
6622
+ command.query['filter'] = filter unless filter.nil?
6623
+ command.query['orderBy'] = order_by unless order_by.nil?
6624
+ command.query['pageSize'] = page_size unless page_size.nil?
6625
+ command.query['pageToken'] = page_token unless page_token.nil?
6626
+ command.query['fields'] = fields unless fields.nil?
6627
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6628
+ execute_or_queue_command(command, &block)
6629
+ end
6630
+
6631
+ # Deletes a long-running operation. This method indicates that the client is no
6632
+ # longer interested in the operation result. It does not cancel the operation.
6633
+ # If the server doesn't support this method, it returns `google.rpc.Code.
6634
+ # UNIMPLEMENTED`.
6635
+ # @param [String] name
6636
+ # The name of the operation resource to be deleted.
6637
+ # @param [String] fields
6638
+ # Selector specifying which fields to include in a partial response.
6639
+ # @param [String] quota_user
6640
+ # Available to use for quota purposes for server-side applications. Can be any
6641
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6642
+ # @param [Google::Apis::RequestOptions] options
6643
+ # Request-specific options
6644
+ #
6645
+ # @yield [result, err] Result & error if block supplied
6646
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
6647
+ # @yieldparam err [StandardError] error object if request failed
6648
+ #
6649
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
6650
+ #
6651
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6652
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6653
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6654
+ def delete_project_location_evaluation_item_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6655
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6656
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
6657
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
6658
+ command.params['name'] = name unless name.nil?
6659
+ command.query['fields'] = fields unless fields.nil?
6660
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6661
+ execute_or_queue_command(command, &block)
6662
+ end
6663
+
6664
+ # Gets the latest state of a long-running operation. Clients can use this method
6665
+ # to poll the operation result at intervals as recommended by the API service.
6666
+ # @param [String] name
6667
+ # The name of the operation resource.
6668
+ # @param [String] fields
6669
+ # Selector specifying which fields to include in a partial response.
6670
+ # @param [String] quota_user
6671
+ # Available to use for quota purposes for server-side applications. Can be any
6672
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6673
+ # @param [Google::Apis::RequestOptions] options
6674
+ # Request-specific options
6675
+ #
6676
+ # @yield [result, err] Result & error if block supplied
6677
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
6678
+ # @yieldparam err [StandardError] error object if request failed
6679
+ #
6680
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
6681
+ #
6682
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6683
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6684
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6685
+ def get_project_location_evaluation_item_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6686
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
6687
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6688
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
6689
+ command.params['name'] = name unless name.nil?
6690
+ command.query['fields'] = fields unless fields.nil?
6691
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6692
+ execute_or_queue_command(command, &block)
6693
+ end
6694
+
6695
+ # Lists operations that match the specified filter in the request. If the server
6696
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
6697
+ # @param [String] name
6698
+ # The name of the operation's parent resource.
6699
+ # @param [String] filter
6700
+ # The standard list filter.
6701
+ # @param [Fixnum] page_size
6702
+ # The standard list page size.
6703
+ # @param [String] page_token
6704
+ # The standard list page token.
6705
+ # @param [String] fields
6706
+ # Selector specifying which fields to include in a partial response.
6707
+ # @param [String] quota_user
6708
+ # Available to use for quota purposes for server-side applications. Can be any
6709
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6710
+ # @param [Google::Apis::RequestOptions] options
6711
+ # Request-specific options
6712
+ #
6713
+ # @yield [result, err] Result & error if block supplied
6714
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
6715
+ # @yieldparam err [StandardError] error object if request failed
6716
+ #
6717
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
6718
+ #
6719
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6720
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6721
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6722
+ def list_project_location_evaluation_item_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6723
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
6724
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
6725
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
6726
+ command.params['name'] = name unless name.nil?
6727
+ command.query['filter'] = filter unless filter.nil?
6728
+ command.query['pageSize'] = page_size unless page_size.nil?
6729
+ command.query['pageToken'] = page_token unless page_token.nil?
6730
+ command.query['fields'] = fields unless fields.nil?
6731
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6732
+ execute_or_queue_command(command, &block)
6733
+ end
6734
+
6735
+ # Waits until the specified long-running operation is done or reaches at most a
6736
+ # specified timeout, returning the latest state. If the operation is already
6737
+ # done, the latest state is immediately returned. If the timeout specified is
6738
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
6739
+ # the server does not support this method, it returns `google.rpc.Code.
6740
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
6741
+ # the latest state before the specified timeout (including immediately), meaning
6742
+ # even an immediate response is no guarantee that the operation is done.
6743
+ # @param [String] name
6744
+ # The name of the operation resource to wait on.
6745
+ # @param [String] timeout
6746
+ # The maximum duration to wait before timing out. If left blank, the wait will
6747
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
6748
+ # context deadline is also specified, the shorter one will be used.
6749
+ # @param [String] fields
6750
+ # Selector specifying which fields to include in a partial response.
6751
+ # @param [String] quota_user
6752
+ # Available to use for quota purposes for server-side applications. Can be any
6753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6754
+ # @param [Google::Apis::RequestOptions] options
6755
+ # Request-specific options
6756
+ #
6757
+ # @yield [result, err] Result & error if block supplied
6758
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
6759
+ # @yieldparam err [StandardError] error object if request failed
6760
+ #
6761
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
6762
+ #
6763
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6764
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6765
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6766
+ def wait_project_location_evaluation_item_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
6767
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
6768
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6769
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
6770
+ command.params['name'] = name unless name.nil?
6771
+ command.query['timeout'] = timeout unless timeout.nil?
6772
+ command.query['fields'] = fields unless fields.nil?
6773
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6774
+ execute_or_queue_command(command, &block)
6775
+ end
6776
+
6777
+ # Cancels an Evaluation Run. Attempts to cancel a running Evaluation Run
6778
+ # asynchronously. Status of run can be checked via GetEvaluationRun.
6779
+ # @param [String] name
6780
+ # Required. The name of the EvaluationRun resource to be cancelled. Format: `
6781
+ # projects/`project`/locations/`location`/evaluationRuns/`evaluation_run``
6782
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest] google_cloud_aiplatform_v1beta1_cancel_evaluation_run_request_object
6783
+ # @param [String] fields
6784
+ # Selector specifying which fields to include in a partial response.
6785
+ # @param [String] quota_user
6786
+ # Available to use for quota purposes for server-side applications. Can be any
6787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6788
+ # @param [Google::Apis::RequestOptions] options
6789
+ # Request-specific options
6790
+ #
6791
+ # @yield [result, err] Result & error if block supplied
6792
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
6793
+ # @yieldparam err [StandardError] error object if request failed
6794
+ #
6795
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
6796
+ #
6797
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6798
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6799
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6800
+ def cancel_project_location_evaluation_run(name, google_cloud_aiplatform_v1beta1_cancel_evaluation_run_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6801
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
6802
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CancelEvaluationRunRequest::Representation
6803
+ command.request_object = google_cloud_aiplatform_v1beta1_cancel_evaluation_run_request_object
6804
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
6805
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
6806
+ command.params['name'] = name unless name.nil?
6807
+ command.query['fields'] = fields unless fields.nil?
6808
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6809
+ execute_or_queue_command(command, &block)
6810
+ end
6811
+
6812
+ # Creates an Evaluation Run.
6813
+ # @param [String] parent
6814
+ # Required. The resource name of the Location to create the Evaluation Run in.
6815
+ # Format: `projects/`project`/locations/`location``
6816
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun] google_cloud_aiplatform_v1beta1_evaluation_run_object
6817
+ # @param [String] fields
6818
+ # Selector specifying which fields to include in a partial response.
6819
+ # @param [String] quota_user
6820
+ # Available to use for quota purposes for server-side applications. Can be any
6821
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6822
+ # @param [Google::Apis::RequestOptions] options
6823
+ # Request-specific options
6824
+ #
6825
+ # @yield [result, err] Result & error if block supplied
6826
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun] parsed result object
6827
+ # @yieldparam err [StandardError] error object if request failed
6828
+ #
6829
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun]
6830
+ #
6831
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6832
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6833
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6834
+ def create_project_location_evaluation_run(parent, google_cloud_aiplatform_v1beta1_evaluation_run_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6835
+ command = make_simple_command(:post, 'v1beta1/{+parent}/evaluationRuns', options)
6836
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun::Representation
6837
+ command.request_object = google_cloud_aiplatform_v1beta1_evaluation_run_object
6838
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun::Representation
6839
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun
6840
+ command.params['parent'] = parent unless parent.nil?
6841
+ command.query['fields'] = fields unless fields.nil?
6842
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6843
+ execute_or_queue_command(command, &block)
6844
+ end
6845
+
6846
+ # Deletes an Evaluation Run.
6847
+ # @param [String] name
6848
+ # Required. The name of the EvaluationRun resource to be deleted. Format: `
6849
+ # projects/`project`/locations/`location`/evaluationRuns/`evaluation_run``
6850
+ # @param [String] fields
6851
+ # Selector specifying which fields to include in a partial response.
6852
+ # @param [String] quota_user
6853
+ # Available to use for quota purposes for server-side applications. Can be any
6854
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6855
+ # @param [Google::Apis::RequestOptions] options
6856
+ # Request-specific options
6857
+ #
6858
+ # @yield [result, err] Result & error if block supplied
6859
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
6860
+ # @yieldparam err [StandardError] error object if request failed
6861
+ #
6862
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
6863
+ #
6864
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6865
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6866
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6867
+ def delete_project_location_evaluation_run(name, fields: nil, quota_user: nil, options: nil, &block)
6868
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6869
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6870
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
6871
+ command.params['name'] = name unless name.nil?
6872
+ command.query['fields'] = fields unless fields.nil?
6873
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6874
+ execute_or_queue_command(command, &block)
6875
+ end
6876
+
6877
+ # Gets an Evaluation Run.
6878
+ # @param [String] name
6879
+ # Required. The name of the EvaluationRun resource. Format: `projects/`project`/
6880
+ # locations/`location`/evaluationRuns/`evaluation_run``
6881
+ # @param [String] fields
6882
+ # Selector specifying which fields to include in a partial response.
6883
+ # @param [String] quota_user
6884
+ # Available to use for quota purposes for server-side applications. Can be any
6885
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6886
+ # @param [Google::Apis::RequestOptions] options
6887
+ # Request-specific options
6888
+ #
6889
+ # @yield [result, err] Result & error if block supplied
6890
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun] parsed result object
6891
+ # @yieldparam err [StandardError] error object if request failed
6892
+ #
6893
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun]
6894
+ #
6895
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6896
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6897
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6898
+ def get_project_location_evaluation_run(name, fields: nil, quota_user: nil, options: nil, &block)
6899
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
6900
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun::Representation
6901
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRun
6902
+ command.params['name'] = name unless name.nil?
6903
+ command.query['fields'] = fields unless fields.nil?
6904
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6905
+ execute_or_queue_command(command, &block)
6906
+ end
6907
+
6908
+ # Lists Evaluation Runs.
6909
+ # @param [String] parent
6910
+ # Required. The resource name of the Location from which to list the Evaluation
6911
+ # Runs. Format: `projects/`project`/locations/`location``
6912
+ # @param [String] filter
6913
+ # Optional. Filter expression that matches a subset of the EvaluationRuns to
6914
+ # show. For field names both snake_case and camelCase are supported. For more
6915
+ # information about filter syntax, see [AIP-160](https://google.aip.dev/160).
6916
+ # @param [String] order_by
6917
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
6918
+ # order by default. Use `desc` after a field name for descending.
6919
+ # @param [Fixnum] page_size
6920
+ # Optional. The maximum number of Evaluation Runs to return.
6921
+ # @param [String] page_token
6922
+ # Optional. A page token, received from a previous `ListEvaluationRuns` call.
6923
+ # Provide this to retrieve the subsequent page.
6924
+ # @param [String] fields
6925
+ # Selector specifying which fields to include in a partial response.
6926
+ # @param [String] quota_user
6927
+ # Available to use for quota purposes for server-side applications. Can be any
6928
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6929
+ # @param [Google::Apis::RequestOptions] options
6930
+ # Request-specific options
6931
+ #
6932
+ # @yield [result, err] Result & error if block supplied
6933
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse] parsed result object
6399
6934
  # @yieldparam err [StandardError] error object if request failed
6400
6935
  #
6401
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
6936
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse]
6402
6937
  #
6403
6938
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6404
6939
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6405
6940
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6406
- def wait_project_location_endpoint_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
6407
- command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
6408
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6409
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
6410
- command.params['name'] = name unless name.nil?
6411
- command.query['timeout'] = timeout unless timeout.nil?
6941
+ def list_project_location_evaluation_runs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6942
+ command = make_simple_command(:get, 'v1beta1/{+parent}/evaluationRuns', options)
6943
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse::Representation
6944
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationRunsResponse
6945
+ command.params['parent'] = parent unless parent.nil?
6946
+ command.query['filter'] = filter unless filter.nil?
6947
+ command.query['orderBy'] = order_by unless order_by.nil?
6948
+ command.query['pageSize'] = page_size unless page_size.nil?
6949
+ command.query['pageToken'] = page_token unless page_token.nil?
6412
6950
  command.query['fields'] = fields unless fields.nil?
6413
6951
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6414
6952
  execute_or_queue_command(command, &block)
@@ -6437,7 +6975,7 @@ module Google
6437
6975
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6438
6976
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6439
6977
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6440
- def delete_project_location_evaluation_item_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6978
+ def delete_project_location_evaluation_run_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6441
6979
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6442
6980
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
6443
6981
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
@@ -6468,7 +7006,7 @@ module Google
6468
7006
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6469
7007
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6470
7008
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6471
- def get_project_location_evaluation_item_operation(name, fields: nil, quota_user: nil, options: nil, &block)
7009
+ def get_project_location_evaluation_run_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6472
7010
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
6473
7011
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6474
7012
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
@@ -6505,7 +7043,7 @@ module Google
6505
7043
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6506
7044
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6507
7045
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6508
- def list_project_location_evaluation_item_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7046
+ def list_project_location_evaluation_run_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6509
7047
  command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
6510
7048
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
6511
7049
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
@@ -6549,7 +7087,7 @@ module Google
6549
7087
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6550
7088
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6551
7089
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6552
- def wait_project_location_evaluation_item_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
7090
+ def wait_project_location_evaluation_run_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
6553
7091
  command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
6554
7092
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6555
7093
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
@@ -6560,12 +7098,11 @@ module Google
6560
7098
  execute_or_queue_command(command, &block)
6561
7099
  end
6562
7100
 
6563
- # Deletes a long-running operation. This method indicates that the client is no
6564
- # longer interested in the operation result. It does not cancel the operation.
6565
- # If the server doesn't support this method, it returns `google.rpc.Code.
6566
- # UNIMPLEMENTED`.
6567
- # @param [String] name
6568
- # The name of the operation resource to be deleted.
7101
+ # Creates an Evaluation Set.
7102
+ # @param [String] parent
7103
+ # Required. The resource name of the Location to create the Evaluation Set in.
7104
+ # Format: `projects/`project`/locations/`location``
7105
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet] google_cloud_aiplatform_v1beta1_evaluation_set_object
6569
7106
  # @param [String] fields
6570
7107
  # Selector specifying which fields to include in a partial response.
6571
7108
  # @param [String] quota_user
@@ -6575,28 +7112,30 @@ module Google
6575
7112
  # Request-specific options
6576
7113
  #
6577
7114
  # @yield [result, err] Result & error if block supplied
6578
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
7115
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet] parsed result object
6579
7116
  # @yieldparam err [StandardError] error object if request failed
6580
7117
  #
6581
- # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
7118
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet]
6582
7119
  #
6583
7120
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6584
7121
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6585
7122
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6586
- def delete_project_location_evaluation_run_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6587
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6588
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
6589
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
6590
- command.params['name'] = name unless name.nil?
7123
+ def create_project_location_evaluation_set(parent, google_cloud_aiplatform_v1beta1_evaluation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
7124
+ command = make_simple_command(:post, 'v1beta1/{+parent}/evaluationSets', options)
7125
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet::Representation
7126
+ command.request_object = google_cloud_aiplatform_v1beta1_evaluation_set_object
7127
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet::Representation
7128
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet
7129
+ command.params['parent'] = parent unless parent.nil?
6591
7130
  command.query['fields'] = fields unless fields.nil?
6592
7131
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6593
7132
  execute_or_queue_command(command, &block)
6594
7133
  end
6595
7134
 
6596
- # Gets the latest state of a long-running operation. Clients can use this method
6597
- # to poll the operation result at intervals as recommended by the API service.
7135
+ # Deletes an Evaluation Set.
6598
7136
  # @param [String] name
6599
- # The name of the operation resource.
7137
+ # Required. The name of the EvaluationSet resource to be deleted. Format: `
7138
+ # projects/`project`/locations/`location`/evaluationSets/`evaluation_set``
6600
7139
  # @param [String] fields
6601
7140
  # Selector specifying which fields to include in a partial response.
6602
7141
  # @param [String] quota_user
@@ -6614,8 +7153,8 @@ module Google
6614
7153
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6615
7154
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6616
7155
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6617
- def get_project_location_evaluation_run_operation(name, fields: nil, quota_user: nil, options: nil, &block)
6618
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
7156
+ def delete_project_location_evaluation_set(name, fields: nil, quota_user: nil, options: nil, &block)
7157
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
6619
7158
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6620
7159
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
6621
7160
  command.params['name'] = name unless name.nil?
@@ -6624,16 +7163,53 @@ module Google
6624
7163
  execute_or_queue_command(command, &block)
6625
7164
  end
6626
7165
 
6627
- # Lists operations that match the specified filter in the request. If the server
6628
- # doesn't support this method, it returns `UNIMPLEMENTED`.
7166
+ # Gets an Evaluation Set.
6629
7167
  # @param [String] name
6630
- # The name of the operation's parent resource.
7168
+ # Required. The name of the EvaluationSet resource. Format: `projects/`project`/
7169
+ # locations/`location`/evaluationSets/`evaluation_set``
7170
+ # @param [String] fields
7171
+ # Selector specifying which fields to include in a partial response.
7172
+ # @param [String] quota_user
7173
+ # Available to use for quota purposes for server-side applications. Can be any
7174
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7175
+ # @param [Google::Apis::RequestOptions] options
7176
+ # Request-specific options
7177
+ #
7178
+ # @yield [result, err] Result & error if block supplied
7179
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet] parsed result object
7180
+ # @yieldparam err [StandardError] error object if request failed
7181
+ #
7182
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet]
7183
+ #
7184
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7185
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7186
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7187
+ def get_project_location_evaluation_set(name, fields: nil, quota_user: nil, options: nil, &block)
7188
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
7189
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet::Representation
7190
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet
7191
+ command.params['name'] = name unless name.nil?
7192
+ command.query['fields'] = fields unless fields.nil?
7193
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7194
+ execute_or_queue_command(command, &block)
7195
+ end
7196
+
7197
+ # Lists Evaluation Sets.
7198
+ # @param [String] parent
7199
+ # Required. The resource name of the Location from which to list the Evaluation
7200
+ # Sets. Format: `projects/`project`/locations/`location``
6631
7201
  # @param [String] filter
6632
- # The standard list filter.
7202
+ # Optional. Filter expression that matches a subset of the EvaluationSets to
7203
+ # show. For field names both snake_case and camelCase are supported. For more
7204
+ # information about filter syntax, see [AIP-160](https://google.aip.dev/160).
7205
+ # @param [String] order_by
7206
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
7207
+ # order by default. Use `desc` after a field name for descending.
6633
7208
  # @param [Fixnum] page_size
6634
- # The standard list page size.
7209
+ # Optional. The maximum number of Evaluation Sets to return.
6635
7210
  # @param [String] page_token
6636
- # The standard list page token.
7211
+ # Optional. A page token, received from a previous `ListEvaluationSets` call.
7212
+ # Provide this to retrieve the subsequent page.
6637
7213
  # @param [String] fields
6638
7214
  # Selector specifying which fields to include in a partial response.
6639
7215
  # @param [String] quota_user
@@ -6643,20 +7219,21 @@ module Google
6643
7219
  # Request-specific options
6644
7220
  #
6645
7221
  # @yield [result, err] Result & error if block supplied
6646
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
7222
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse] parsed result object
6647
7223
  # @yieldparam err [StandardError] error object if request failed
6648
7224
  #
6649
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
7225
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse]
6650
7226
  #
6651
7227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6652
7228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6653
7229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6654
- def list_project_location_evaluation_run_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6655
- command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
6656
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
6657
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
6658
- command.params['name'] = name unless name.nil?
7230
+ def list_project_location_evaluation_sets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7231
+ command = make_simple_command(:get, 'v1beta1/{+parent}/evaluationSets', options)
7232
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse::Representation
7233
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationSetsResponse
7234
+ command.params['parent'] = parent unless parent.nil?
6659
7235
  command.query['filter'] = filter unless filter.nil?
7236
+ command.query['orderBy'] = order_by unless order_by.nil?
6660
7237
  command.query['pageSize'] = page_size unless page_size.nil?
6661
7238
  command.query['pageToken'] = page_token unless page_token.nil?
6662
7239
  command.query['fields'] = fields unless fields.nil?
@@ -6664,20 +7241,14 @@ module Google
6664
7241
  execute_or_queue_command(command, &block)
6665
7242
  end
6666
7243
 
6667
- # Waits until the specified long-running operation is done or reaches at most a
6668
- # specified timeout, returning the latest state. If the operation is already
6669
- # done, the latest state is immediately returned. If the timeout specified is
6670
- # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
6671
- # the server does not support this method, it returns `google.rpc.Code.
6672
- # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
6673
- # the latest state before the specified timeout (including immediately), meaning
6674
- # even an immediate response is no guarantee that the operation is done.
7244
+ # Updates an Evaluation Set.
6675
7245
  # @param [String] name
6676
- # The name of the operation resource to wait on.
6677
- # @param [String] timeout
6678
- # The maximum duration to wait before timing out. If left blank, the wait will
6679
- # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
6680
- # context deadline is also specified, the shorter one will be used.
7246
+ # Identifier. The resource name of the EvaluationSet. Format: `projects/`project`
7247
+ # /locations/`location`/evaluationSets/`evaluation_set``
7248
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet] google_cloud_aiplatform_v1beta1_evaluation_set_object
7249
+ # @param [String] update_mask
7250
+ # Optional. The update mask applies to the resource. For the `FieldMask`
7251
+ # definition, see google.protobuf.FieldMask.
6681
7252
  # @param [String] fields
6682
7253
  # Selector specifying which fields to include in a partial response.
6683
7254
  # @param [String] quota_user
@@ -6687,20 +7258,22 @@ module Google
6687
7258
  # Request-specific options
6688
7259
  #
6689
7260
  # @yield [result, err] Result & error if block supplied
6690
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
7261
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet] parsed result object
6691
7262
  # @yieldparam err [StandardError] error object if request failed
6692
7263
  #
6693
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
7264
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet]
6694
7265
  #
6695
7266
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6696
7267
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6697
7268
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6698
- def wait_project_location_evaluation_run_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
6699
- command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
6700
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
6701
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
7269
+ def patch_project_location_evaluation_set(name, google_cloud_aiplatform_v1beta1_evaluation_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
7270
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
7271
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet::Representation
7272
+ command.request_object = google_cloud_aiplatform_v1beta1_evaluation_set_object
7273
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet::Representation
7274
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationSet
6702
7275
  command.params['name'] = name unless name.nil?
6703
- command.query['timeout'] = timeout unless timeout.nil?
7276
+ command.query['updateMask'] = update_mask unless update_mask.nil?
6704
7277
  command.query['fields'] = fields unless fields.nil?
6705
7278
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6706
7279
  execute_or_queue_command(command, &block)
@@ -22140,6 +22713,9 @@ module Google
22140
22713
  # @param [String] name
22141
22714
  # Required. The name of the RagFile resource to be deleted. Format: `projects/`
22142
22715
  # project`/locations/`location`/ragCorpora/`rag_corpus`/ragFiles/`rag_file``
22716
+ # @param [Boolean] force_delete
22717
+ # Optional. If set to true, any errors generated by external vector database
22718
+ # during the deletion will be ignored. The default value is false.
22143
22719
  # @param [String] fields
22144
22720
  # Selector specifying which fields to include in a partial response.
22145
22721
  # @param [String] quota_user
@@ -22157,11 +22733,12 @@ module Google
22157
22733
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
22158
22734
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
22159
22735
  # @raise [Google::Apis::AuthorizationError] Authorization is required
22160
- def delete_project_location_rag_corpora_rag_file(name, fields: nil, quota_user: nil, options: nil, &block)
22736
+ def delete_project_location_rag_corpora_rag_file(name, force_delete: nil, fields: nil, quota_user: nil, options: nil, &block)
22161
22737
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
22162
22738
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
22163
22739
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
22164
22740
  command.params['name'] = name unless name.nil?
22741
+ command.query['forceDelete'] = force_delete unless force_delete.nil?
22165
22742
  command.query['fields'] = fields unless fields.nil?
22166
22743
  command.query['quotaUser'] = quota_user unless quota_user.nil?
22167
22744
  execute_or_queue_command(command, &block)
@@ -23169,6 +23746,11 @@ module Google
23169
23746
  # Optional. The standard list filter. More detail in [AIP-160](https://google.
23170
23747
  # aip.dev/160). Supported fields (equality match only): * `scope` (as a JSON
23171
23748
  # string)
23749
+ # @param [String] order_by
23750
+ # Optional. The standard list order by string. If not specified, the default
23751
+ # order is `create_time desc`. If specified, the default sorting order of
23752
+ # provided fields is ascending. More detail in [AIP-132](https://google.aip.dev/
23753
+ # 132). Supported fields: * `create_time` * `update_time`
23172
23754
  # @param [Fixnum] page_size
23173
23755
  # Optional. The standard list page size.
23174
23756
  # @param [String] page_token
@@ -23190,12 +23772,13 @@ module Google
23190
23772
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23191
23773
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23192
23774
  # @raise [Google::Apis::AuthorizationError] Authorization is required
23193
- def list_project_location_reasoning_engine_memories(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23775
+ def list_project_location_reasoning_engine_memories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
23194
23776
  command = make_simple_command(:get, 'v1beta1/{+parent}/memories', options)
23195
23777
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse::Representation
23196
23778
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse
23197
23779
  command.params['parent'] = parent unless parent.nil?
23198
23780
  command.query['filter'] = filter unless filter.nil?
23781
+ command.query['orderBy'] = order_by unless order_by.nil?
23199
23782
  command.query['pageSize'] = page_size unless page_size.nil?
23200
23783
  command.query['pageToken'] = page_token unless page_token.nil?
23201
23784
  command.query['fields'] = fields unless fields.nil?
@@ -23642,6 +24225,185 @@ module Google
23642
24225
  execute_or_queue_command(command, &block)
23643
24226
  end
23644
24227
 
24228
+ # Creates a SandboxEnvironment in a given reasoning engine.
24229
+ # @param [String] parent
24230
+ # Required. The resource name of the reasoning engine to create the
24231
+ # SandboxEnvironment in. Format: `projects/`project`/locations/`location`/
24232
+ # reasoningEngines/`reasoning_engine``.
24233
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment] google_cloud_aiplatform_v1beta1_sandbox_environment_object
24234
+ # @param [String] fields
24235
+ # Selector specifying which fields to include in a partial response.
24236
+ # @param [String] quota_user
24237
+ # Available to use for quota purposes for server-side applications. Can be any
24238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24239
+ # @param [Google::Apis::RequestOptions] options
24240
+ # Request-specific options
24241
+ #
24242
+ # @yield [result, err] Result & error if block supplied
24243
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
24244
+ # @yieldparam err [StandardError] error object if request failed
24245
+ #
24246
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
24247
+ #
24248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24251
+ def create_project_location_reasoning_engine_sandbox_environment(parent, google_cloud_aiplatform_v1beta1_sandbox_environment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
24252
+ command = make_simple_command(:post, 'v1beta1/{+parent}/sandboxEnvironments', options)
24253
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment::Representation
24254
+ command.request_object = google_cloud_aiplatform_v1beta1_sandbox_environment_object
24255
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
24256
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
24257
+ command.params['parent'] = parent unless parent.nil?
24258
+ command.query['fields'] = fields unless fields.nil?
24259
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24260
+ execute_or_queue_command(command, &block)
24261
+ end
24262
+
24263
+ # Deletes the specific SandboxEnvironment.
24264
+ # @param [String] name
24265
+ # Required. The resource name of the SandboxEnvironment to delete. Format: `
24266
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
24267
+ # sandboxEnvironments/`sandbox_environment``
24268
+ # @param [String] fields
24269
+ # Selector specifying which fields to include in a partial response.
24270
+ # @param [String] quota_user
24271
+ # Available to use for quota purposes for server-side applications. Can be any
24272
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24273
+ # @param [Google::Apis::RequestOptions] options
24274
+ # Request-specific options
24275
+ #
24276
+ # @yield [result, err] Result & error if block supplied
24277
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
24278
+ # @yieldparam err [StandardError] error object if request failed
24279
+ #
24280
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
24281
+ #
24282
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24283
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24284
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24285
+ def delete_project_location_reasoning_engine_sandbox_environment(name, fields: nil, quota_user: nil, options: nil, &block)
24286
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
24287
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
24288
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
24289
+ command.params['name'] = name unless name.nil?
24290
+ command.query['fields'] = fields unless fields.nil?
24291
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24292
+ execute_or_queue_command(command, &block)
24293
+ end
24294
+
24295
+ # Executes using a sandbox environment.
24296
+ # @param [String] name
24297
+ # Required. The resource name of the sandbox environment to execute. Format: `
24298
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
24299
+ # sandboxEnvironments/`sandbox_environment``
24300
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest] google_cloud_aiplatform_v1beta1_execute_sandbox_environment_request_object
24301
+ # @param [String] fields
24302
+ # Selector specifying which fields to include in a partial response.
24303
+ # @param [String] quota_user
24304
+ # Available to use for quota purposes for server-side applications. Can be any
24305
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24306
+ # @param [Google::Apis::RequestOptions] options
24307
+ # Request-specific options
24308
+ #
24309
+ # @yield [result, err] Result & error if block supplied
24310
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse] parsed result object
24311
+ # @yieldparam err [StandardError] error object if request failed
24312
+ #
24313
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse]
24314
+ #
24315
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24316
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24317
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24318
+ def execute_project_location_reasoning_engine_sandbox_environment(name, google_cloud_aiplatform_v1beta1_execute_sandbox_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
24319
+ command = make_simple_command(:post, 'v1beta1/{+name}:execute', options)
24320
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest::Representation
24321
+ command.request_object = google_cloud_aiplatform_v1beta1_execute_sandbox_environment_request_object
24322
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse::Representation
24323
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse
24324
+ command.params['name'] = name unless name.nil?
24325
+ command.query['fields'] = fields unless fields.nil?
24326
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24327
+ execute_or_queue_command(command, &block)
24328
+ end
24329
+
24330
+ # Gets details of the specific SandboxEnvironment.
24331
+ # @param [String] name
24332
+ # Required. The resource name of the sandbox environment. Format: `projects/`
24333
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine`/
24334
+ # sandboxEnvironments/`sandbox_environment``
24335
+ # @param [String] fields
24336
+ # Selector specifying which fields to include in a partial response.
24337
+ # @param [String] quota_user
24338
+ # Available to use for quota purposes for server-side applications. Can be any
24339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24340
+ # @param [Google::Apis::RequestOptions] options
24341
+ # Request-specific options
24342
+ #
24343
+ # @yield [result, err] Result & error if block supplied
24344
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment] parsed result object
24345
+ # @yieldparam err [StandardError] error object if request failed
24346
+ #
24347
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment]
24348
+ #
24349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24352
+ def get_project_location_reasoning_engine_sandbox_environment(name, fields: nil, quota_user: nil, options: nil, &block)
24353
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
24354
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment::Representation
24355
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironment
24356
+ command.params['name'] = name unless name.nil?
24357
+ command.query['fields'] = fields unless fields.nil?
24358
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24359
+ execute_or_queue_command(command, &block)
24360
+ end
24361
+
24362
+ # Lists SandboxEnvironments in a given reasoning engine.
24363
+ # @param [String] parent
24364
+ # Required. The resource name of the reasoning engine to list sandbox
24365
+ # environments from. Format: `projects/`project`/locations/`location`/
24366
+ # reasoningEngines/`reasoning_engine``
24367
+ # @param [String] filter
24368
+ # Optional. The standard list filter. More detail in [AIP-160](https://google.
24369
+ # aip.dev/160).
24370
+ # @param [Fixnum] page_size
24371
+ # Optional. The maximum number of SandboxEnvironments to return. The service may
24372
+ # return fewer than this value. If unspecified, at most 100 SandboxEnvironments
24373
+ # will be returned.
24374
+ # @param [String] page_token
24375
+ # Optional. The standard list page token, received from a previous `
24376
+ # ListSandboxEnvironments` call. Provide this to retrieve the subsequent page.
24377
+ # @param [String] fields
24378
+ # Selector specifying which fields to include in a partial response.
24379
+ # @param [String] quota_user
24380
+ # Available to use for quota purposes for server-side applications. Can be any
24381
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24382
+ # @param [Google::Apis::RequestOptions] options
24383
+ # Request-specific options
24384
+ #
24385
+ # @yield [result, err] Result & error if block supplied
24386
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse] parsed result object
24387
+ # @yieldparam err [StandardError] error object if request failed
24388
+ #
24389
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse]
24390
+ #
24391
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24392
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24393
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24394
+ def list_project_location_reasoning_engine_sandbox_environments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
24395
+ command = make_simple_command(:get, 'v1beta1/{+parent}/sandboxEnvironments', options)
24396
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse::Representation
24397
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse
24398
+ command.params['parent'] = parent unless parent.nil?
24399
+ command.query['filter'] = filter unless filter.nil?
24400
+ command.query['pageSize'] = page_size unless page_size.nil?
24401
+ command.query['pageToken'] = page_token unless page_token.nil?
24402
+ command.query['fields'] = fields unless fields.nil?
24403
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24404
+ execute_or_queue_command(command, &block)
24405
+ end
24406
+
23645
24407
  # Starts asynchronous cancellation on a long-running operation. The server makes
23646
24408
  # a best effort to cancel the operation, but success is not guaranteed. If the
23647
24409
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -29385,6 +30147,11 @@ module Google
29385
30147
  # Optional. The standard list filter. More detail in [AIP-160](https://google.
29386
30148
  # aip.dev/160). Supported fields (equality match only): * `scope` (as a JSON
29387
30149
  # string)
30150
+ # @param [String] order_by
30151
+ # Optional. The standard list order by string. If not specified, the default
30152
+ # order is `create_time desc`. If specified, the default sorting order of
30153
+ # provided fields is ascending. More detail in [AIP-132](https://google.aip.dev/
30154
+ # 132). Supported fields: * `create_time` * `update_time`
29388
30155
  # @param [Fixnum] page_size
29389
30156
  # Optional. The standard list page size.
29390
30157
  # @param [String] page_token
@@ -29406,12 +30173,13 @@ module Google
29406
30173
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
29407
30174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
29408
30175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
29409
- def list_reasoning_engine_memories(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
30176
+ def list_reasoning_engine_memories(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
29410
30177
  command = make_simple_command(:get, 'v1beta1/{+parent}/memories', options)
29411
30178
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse::Representation
29412
30179
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoriesResponse
29413
30180
  command.params['parent'] = parent unless parent.nil?
29414
30181
  command.query['filter'] = filter unless filter.nil?
30182
+ command.query['orderBy'] = order_by unless order_by.nil?
29415
30183
  command.query['pageSize'] = page_size unless page_size.nil?
29416
30184
  command.query['pageToken'] = page_token unless page_token.nil?
29417
30185
  command.query['fields'] = fields unless fields.nil?