google-apis-aiplatform_v1beta1 0.47.0 → 0.48.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.
@@ -649,6 +649,41 @@ module Google
649
649
  execute_or_queue_command(command, &block)
650
650
  end
651
651
 
652
+ # Fetch an asynchronous online prediction operation.
653
+ # @param [String] endpoint
654
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
655
+ # projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
656
+ # project`/locations/`location`/publishers/`publisher`/models/`model``
657
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchPredictOperationRequest] google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object
658
+ # @param [String] fields
659
+ # Selector specifying which fields to include in a partial response.
660
+ # @param [String] quota_user
661
+ # Available to use for quota purposes for server-side applications. Can be any
662
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
663
+ # @param [Google::Apis::RequestOptions] options
664
+ # Request-specific options
665
+ #
666
+ # @yield [result, err] Result & error if block supplied
667
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
668
+ # @yieldparam err [StandardError] error object if request failed
669
+ #
670
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
671
+ #
672
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
673
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
674
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
675
+ def fetch_endpoint_predict_operation(endpoint, google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
676
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:fetchPredictOperation', options)
677
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchPredictOperationRequest::Representation
678
+ command.request_object = google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object
679
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
680
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
681
+ command.params['endpoint'] = endpoint unless endpoint.nil?
682
+ command.query['fields'] = fields unless fields.nil?
683
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
684
+ execute_or_queue_command(command, &block)
685
+ end
686
+
652
687
  # Generate content with multimodal inputs.
653
688
  # @param [String] model
654
689
  # Required. The fully qualified name of the publisher model or tuned model
@@ -719,6 +754,41 @@ module Google
719
754
  execute_or_queue_command(command, &block)
720
755
  end
721
756
 
757
+ #
758
+ # @param [String] endpoint
759
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
760
+ # projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
761
+ # project`/locations/`location`/publishers/`publisher`/models/`model``
762
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictLongRunningRequest] google_cloud_aiplatform_v1beta1_predict_long_running_request_object
763
+ # @param [String] fields
764
+ # Selector specifying which fields to include in a partial response.
765
+ # @param [String] quota_user
766
+ # Available to use for quota purposes for server-side applications. Can be any
767
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
768
+ # @param [Google::Apis::RequestOptions] options
769
+ # Request-specific options
770
+ #
771
+ # @yield [result, err] Result & error if block supplied
772
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
773
+ # @yieldparam err [StandardError] error object if request failed
774
+ #
775
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
776
+ #
777
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
778
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
779
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
780
+ def predict_endpoint_long_running(endpoint, google_cloud_aiplatform_v1beta1_predict_long_running_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
781
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:predictLongRunning', options)
782
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictLongRunningRequest::Representation
783
+ command.request_object = google_cloud_aiplatform_v1beta1_predict_long_running_request_object
784
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
785
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
786
+ command.params['endpoint'] = endpoint unless endpoint.nil?
787
+ command.query['fields'] = fields unless fields.nil?
788
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
789
+ execute_or_queue_command(command, &block)
790
+ end
791
+
722
792
  # Generate content with multimodal inputs with streaming support.
723
793
  # @param [String] model
724
794
  # Required. The fully qualified name of the publisher model or tuned model
@@ -12983,6 +13053,40 @@ module Google
12983
13053
  execute_or_queue_command(command, &block)
12984
13054
  end
12985
13055
 
13056
+ # Imports an Index from an external source (e.g., BigQuery).
13057
+ # @param [String] name
13058
+ # Required. The name of the Index resource to import data to. Format: `projects/`
13059
+ # project`/locations/`location`/indexes/`index``
13060
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportIndexRequest] google_cloud_aiplatform_v1beta1_import_index_request_object
13061
+ # @param [String] fields
13062
+ # Selector specifying which fields to include in a partial response.
13063
+ # @param [String] quota_user
13064
+ # Available to use for quota purposes for server-side applications. Can be any
13065
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13066
+ # @param [Google::Apis::RequestOptions] options
13067
+ # Request-specific options
13068
+ #
13069
+ # @yield [result, err] Result & error if block supplied
13070
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
13071
+ # @yieldparam err [StandardError] error object if request failed
13072
+ #
13073
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
13074
+ #
13075
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
13076
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
13077
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
13078
+ def import_project_location_index(name, google_cloud_aiplatform_v1beta1_import_index_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
13079
+ command = make_simple_command(:post, 'v1beta1/{+name}:import', options)
13080
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ImportIndexRequest::Representation
13081
+ command.request_object = google_cloud_aiplatform_v1beta1_import_index_request_object
13082
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
13083
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
13084
+ command.params['name'] = name unless name.nil?
13085
+ command.query['fields'] = fields unless fields.nil?
13086
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
13087
+ execute_or_queue_command(command, &block)
13088
+ end
13089
+
12986
13090
  # Lists Indexes in a Location.
12987
13091
  # @param [String] parent
12988
13092
  # Required. The resource name of the Location from which to list the Indexes.
@@ -22782,9 +22886,8 @@ module Google
22782
22886
 
22783
22887
  # Updates the specific Session.
22784
22888
  # @param [String] name
22785
- # Required. Identifier. The resource name of the session. Format: 'projects/`
22786
- # project`/locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`
22787
- # session`'.
22889
+ # Identifier. The resource name of the session. Format: 'projects/`project`/
22890
+ # locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
22788
22891
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
22789
22892
  # @param [String] update_mask
22790
22893
  # Optional. Field mask is used to control which fields get updated. If the mask
@@ -27269,6 +27372,41 @@ module Google
27269
27372
  execute_or_queue_command(command, &block)
27270
27373
  end
27271
27374
 
27375
+ # Fetch an asynchronous online prediction operation.
27376
+ # @param [String] endpoint
27377
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
27378
+ # projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
27379
+ # project`/locations/`location`/publishers/`publisher`/models/`model``
27380
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchPredictOperationRequest] google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object
27381
+ # @param [String] fields
27382
+ # Selector specifying which fields to include in a partial response.
27383
+ # @param [String] quota_user
27384
+ # Available to use for quota purposes for server-side applications. Can be any
27385
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27386
+ # @param [Google::Apis::RequestOptions] options
27387
+ # Request-specific options
27388
+ #
27389
+ # @yield [result, err] Result & error if block supplied
27390
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
27391
+ # @yieldparam err [StandardError] error object if request failed
27392
+ #
27393
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
27394
+ #
27395
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27396
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27397
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27398
+ def fetch_publisher_model_predict_operation(endpoint, google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
27399
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:fetchPredictOperation', options)
27400
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchPredictOperationRequest::Representation
27401
+ command.request_object = google_cloud_aiplatform_v1beta1_fetch_predict_operation_request_object
27402
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
27403
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
27404
+ command.params['endpoint'] = endpoint unless endpoint.nil?
27405
+ command.query['fields'] = fields unless fields.nil?
27406
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27407
+ execute_or_queue_command(command, &block)
27408
+ end
27409
+
27272
27410
  # Generate content with multimodal inputs.
27273
27411
  # @param [String] model
27274
27412
  # Required. The fully qualified name of the publisher model or tuned model
@@ -27445,6 +27583,41 @@ module Google
27445
27583
  execute_or_queue_command(command, &block)
27446
27584
  end
27447
27585
 
27586
+ #
27587
+ # @param [String] endpoint
27588
+ # Required. The name of the Endpoint requested to serve the prediction. Format: `
27589
+ # projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/`
27590
+ # project`/locations/`location`/publishers/`publisher`/models/`model``
27591
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictLongRunningRequest] google_cloud_aiplatform_v1beta1_predict_long_running_request_object
27592
+ # @param [String] fields
27593
+ # Selector specifying which fields to include in a partial response.
27594
+ # @param [String] quota_user
27595
+ # Available to use for quota purposes for server-side applications. Can be any
27596
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27597
+ # @param [Google::Apis::RequestOptions] options
27598
+ # Request-specific options
27599
+ #
27600
+ # @yield [result, err] Result & error if block supplied
27601
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
27602
+ # @yieldparam err [StandardError] error object if request failed
27603
+ #
27604
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
27605
+ #
27606
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27607
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27608
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27609
+ def predict_publisher_model_long_running(endpoint, google_cloud_aiplatform_v1beta1_predict_long_running_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
27610
+ command = make_simple_command(:post, 'v1beta1/{+endpoint}:predictLongRunning', options)
27611
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PredictLongRunningRequest::Representation
27612
+ command.request_object = google_cloud_aiplatform_v1beta1_predict_long_running_request_object
27613
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
27614
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
27615
+ command.params['endpoint'] = endpoint unless endpoint.nil?
27616
+ command.query['fields'] = fields unless fields.nil?
27617
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27618
+ execute_or_queue_command(command, &block)
27619
+ end
27620
+
27448
27621
  # Generate content with multimodal inputs with streaming support.
27449
27622
  # @param [String] model
27450
27623
  # Required. The fully qualified name of the publisher model or tuned model
@@ -27480,6 +27653,511 @@ module Google
27480
27653
  command.query['quotaUser'] = quota_user unless quota_user.nil?
27481
27654
  execute_or_queue_command(command, &block)
27482
27655
  end
27656
+
27657
+ # Creates a reasoning engine.
27658
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] google_cloud_aiplatform_v1beta1_reasoning_engine_object
27659
+ # @param [String] parent
27660
+ # Required. The resource name of the Location to create the ReasoningEngine in.
27661
+ # Format: `projects/`project`/locations/`location``
27662
+ # @param [String] fields
27663
+ # Selector specifying which fields to include in a partial response.
27664
+ # @param [String] quota_user
27665
+ # Available to use for quota purposes for server-side applications. Can be any
27666
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27667
+ # @param [Google::Apis::RequestOptions] options
27668
+ # Request-specific options
27669
+ #
27670
+ # @yield [result, err] Result & error if block supplied
27671
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
27672
+ # @yieldparam err [StandardError] error object if request failed
27673
+ #
27674
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
27675
+ #
27676
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27677
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27678
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27679
+ def create_reasoning_engine(google_cloud_aiplatform_v1beta1_reasoning_engine_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
27680
+ command = make_simple_command(:post, 'v1beta1/reasoningEngines', options)
27681
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine::Representation
27682
+ command.request_object = google_cloud_aiplatform_v1beta1_reasoning_engine_object
27683
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
27684
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
27685
+ command.query['parent'] = parent unless parent.nil?
27686
+ command.query['fields'] = fields unless fields.nil?
27687
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27688
+ execute_or_queue_command(command, &block)
27689
+ end
27690
+
27691
+ # Deletes a reasoning engine.
27692
+ # @param [String] name
27693
+ # Required. The name of the ReasoningEngine resource to be deleted. Format: `
27694
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
27695
+ # @param [Boolean] force
27696
+ # Optional. If set to true, child resources of this reasoning engine will also
27697
+ # be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error
27698
+ # when the reasoning engine has undeleted child resources.
27699
+ # @param [String] fields
27700
+ # Selector specifying which fields to include in a partial response.
27701
+ # @param [String] quota_user
27702
+ # Available to use for quota purposes for server-side applications. Can be any
27703
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27704
+ # @param [Google::Apis::RequestOptions] options
27705
+ # Request-specific options
27706
+ #
27707
+ # @yield [result, err] Result & error if block supplied
27708
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
27709
+ # @yieldparam err [StandardError] error object if request failed
27710
+ #
27711
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
27712
+ #
27713
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27714
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27715
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27716
+ def delete_reasoning_engine(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
27717
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
27718
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
27719
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
27720
+ command.params['name'] = name unless name.nil?
27721
+ command.query['force'] = force unless force.nil?
27722
+ command.query['fields'] = fields unless fields.nil?
27723
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27724
+ execute_or_queue_command(command, &block)
27725
+ end
27726
+
27727
+ # Gets a reasoning engine.
27728
+ # @param [String] name
27729
+ # Required. The name of the ReasoningEngine resource. Format: `projects/`project`
27730
+ # /locations/`location`/reasoningEngines/`reasoning_engine``
27731
+ # @param [String] fields
27732
+ # Selector specifying which fields to include in a partial response.
27733
+ # @param [String] quota_user
27734
+ # Available to use for quota purposes for server-side applications. Can be any
27735
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27736
+ # @param [Google::Apis::RequestOptions] options
27737
+ # Request-specific options
27738
+ #
27739
+ # @yield [result, err] Result & error if block supplied
27740
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] parsed result object
27741
+ # @yieldparam err [StandardError] error object if request failed
27742
+ #
27743
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine]
27744
+ #
27745
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27746
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27747
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27748
+ def get_reasoning_engine(name, fields: nil, quota_user: nil, options: nil, &block)
27749
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
27750
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine::Representation
27751
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine
27752
+ command.params['name'] = name unless name.nil?
27753
+ command.query['fields'] = fields unless fields.nil?
27754
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27755
+ execute_or_queue_command(command, &block)
27756
+ end
27757
+
27758
+ # Lists reasoning engines in a location.
27759
+ # @param [String] filter
27760
+ # Optional. The standard list filter. More detail in [AIP-160](https://google.
27761
+ # aip.dev/160).
27762
+ # @param [Fixnum] page_size
27763
+ # Optional. The standard list page size.
27764
+ # @param [String] page_token
27765
+ # Optional. The standard list page token.
27766
+ # @param [String] parent
27767
+ # Required. The resource name of the Location to list the ReasoningEngines from.
27768
+ # Format: `projects/`project`/locations/`location``
27769
+ # @param [String] fields
27770
+ # Selector specifying which fields to include in a partial response.
27771
+ # @param [String] quota_user
27772
+ # Available to use for quota purposes for server-side applications. Can be any
27773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27774
+ # @param [Google::Apis::RequestOptions] options
27775
+ # Request-specific options
27776
+ #
27777
+ # @yield [result, err] Result & error if block supplied
27778
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse] parsed result object
27779
+ # @yieldparam err [StandardError] error object if request failed
27780
+ #
27781
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse]
27782
+ #
27783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27786
+ def list_reasoning_engines(filter: nil, page_size: nil, page_token: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
27787
+ command = make_simple_command(:get, 'v1beta1/reasoningEngines', options)
27788
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse::Representation
27789
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse
27790
+ command.query['filter'] = filter unless filter.nil?
27791
+ command.query['pageSize'] = page_size unless page_size.nil?
27792
+ command.query['pageToken'] = page_token unless page_token.nil?
27793
+ command.query['parent'] = parent unless parent.nil?
27794
+ command.query['fields'] = fields unless fields.nil?
27795
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27796
+ execute_or_queue_command(command, &block)
27797
+ end
27798
+
27799
+ # Updates a reasoning engine.
27800
+ # @param [String] name
27801
+ # Identifier. The resource name of the ReasoningEngine. Format: `projects/`
27802
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
27803
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine] google_cloud_aiplatform_v1beta1_reasoning_engine_object
27804
+ # @param [String] update_mask
27805
+ # Optional. Mask specifying which fields to update.
27806
+ # @param [String] fields
27807
+ # Selector specifying which fields to include in a partial response.
27808
+ # @param [String] quota_user
27809
+ # Available to use for quota purposes for server-side applications. Can be any
27810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27811
+ # @param [Google::Apis::RequestOptions] options
27812
+ # Request-specific options
27813
+ #
27814
+ # @yield [result, err] Result & error if block supplied
27815
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
27816
+ # @yieldparam err [StandardError] error object if request failed
27817
+ #
27818
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
27819
+ #
27820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27823
+ def patch_reasoning_engine(name, google_cloud_aiplatform_v1beta1_reasoning_engine_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
27824
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
27825
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngine::Representation
27826
+ command.request_object = google_cloud_aiplatform_v1beta1_reasoning_engine_object
27827
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
27828
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
27829
+ command.params['name'] = name unless name.nil?
27830
+ command.query['updateMask'] = update_mask unless update_mask.nil?
27831
+ command.query['fields'] = fields unless fields.nil?
27832
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27833
+ execute_or_queue_command(command, &block)
27834
+ end
27835
+
27836
+ # Queries using a reasoning engine.
27837
+ # @param [String] name
27838
+ # Required. The name of the ReasoningEngine resource to use. Format: `projects/`
27839
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
27840
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest] google_cloud_aiplatform_v1beta1_query_reasoning_engine_request_object
27841
+ # @param [String] fields
27842
+ # Selector specifying which fields to include in a partial response.
27843
+ # @param [String] quota_user
27844
+ # Available to use for quota purposes for server-side applications. Can be any
27845
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27846
+ # @param [Google::Apis::RequestOptions] options
27847
+ # Request-specific options
27848
+ #
27849
+ # @yield [result, err] Result & error if block supplied
27850
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse] parsed result object
27851
+ # @yieldparam err [StandardError] error object if request failed
27852
+ #
27853
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse]
27854
+ #
27855
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27856
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27857
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27858
+ def query_reasoning_engine(name, google_cloud_aiplatform_v1beta1_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
27859
+ command = make_simple_command(:post, 'v1beta1/{+name}:query', options)
27860
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest::Representation
27861
+ command.request_object = google_cloud_aiplatform_v1beta1_query_reasoning_engine_request_object
27862
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse::Representation
27863
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse
27864
+ command.params['name'] = name unless name.nil?
27865
+ command.query['fields'] = fields unless fields.nil?
27866
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27867
+ execute_or_queue_command(command, &block)
27868
+ end
27869
+
27870
+ # Streams queries using a reasoning engine.
27871
+ # @param [String] name
27872
+ # Required. The name of the ReasoningEngine resource to use. Format: `projects/`
27873
+ # project`/locations/`location`/reasoningEngines/`reasoning_engine``
27874
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest] google_cloud_aiplatform_v1beta1_stream_query_reasoning_engine_request_object
27875
+ # @param [String] fields
27876
+ # Selector specifying which fields to include in a partial response.
27877
+ # @param [String] quota_user
27878
+ # Available to use for quota purposes for server-side applications. Can be any
27879
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27880
+ # @param [Google::Apis::RequestOptions] options
27881
+ # Request-specific options
27882
+ #
27883
+ # @yield [result, err] Result & error if block supplied
27884
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
27885
+ # @yieldparam err [StandardError] error object if request failed
27886
+ #
27887
+ # @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
27888
+ #
27889
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27890
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27891
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27892
+ def stream_reasoning_engine_query(name, google_cloud_aiplatform_v1beta1_stream_query_reasoning_engine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
27893
+ command = make_simple_command(:post, 'v1beta1/{+name}:streamQuery', options)
27894
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest::Representation
27895
+ command.request_object = google_cloud_aiplatform_v1beta1_stream_query_reasoning_engine_request_object
27896
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
27897
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
27898
+ command.params['name'] = name unless name.nil?
27899
+ command.query['fields'] = fields unless fields.nil?
27900
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27901
+ execute_or_queue_command(command, &block)
27902
+ end
27903
+
27904
+ # Appends an event to a given session.
27905
+ # @param [String] name
27906
+ # Required. The resource name of the session to append event to. Format: `
27907
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
27908
+ # sessions/`session``
27909
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SessionEvent] google_cloud_aiplatform_v1beta1_session_event_object
27910
+ # @param [String] fields
27911
+ # Selector specifying which fields to include in a partial response.
27912
+ # @param [String] quota_user
27913
+ # Available to use for quota purposes for server-side applications. Can be any
27914
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27915
+ # @param [Google::Apis::RequestOptions] options
27916
+ # Request-specific options
27917
+ #
27918
+ # @yield [result, err] Result & error if block supplied
27919
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse] parsed result object
27920
+ # @yieldparam err [StandardError] error object if request failed
27921
+ #
27922
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse]
27923
+ #
27924
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27925
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27926
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27927
+ def append_reasoning_engine_session_event(name, google_cloud_aiplatform_v1beta1_session_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
27928
+ command = make_simple_command(:post, 'v1beta1/{+name}:appendEvent', options)
27929
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SessionEvent::Representation
27930
+ command.request_object = google_cloud_aiplatform_v1beta1_session_event_object
27931
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse::Representation
27932
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AppendEventResponse
27933
+ command.params['name'] = name unless name.nil?
27934
+ command.query['fields'] = fields unless fields.nil?
27935
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27936
+ execute_or_queue_command(command, &block)
27937
+ end
27938
+
27939
+ # Creates a new Session.
27940
+ # @param [String] parent
27941
+ # Required. The resource name of the location to create the session in. Format: `
27942
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
27943
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
27944
+ # @param [String] fields
27945
+ # Selector specifying which fields to include in a partial response.
27946
+ # @param [String] quota_user
27947
+ # Available to use for quota purposes for server-side applications. Can be any
27948
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27949
+ # @param [Google::Apis::RequestOptions] options
27950
+ # Request-specific options
27951
+ #
27952
+ # @yield [result, err] Result & error if block supplied
27953
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
27954
+ # @yieldparam err [StandardError] error object if request failed
27955
+ #
27956
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
27957
+ #
27958
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27959
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27960
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27961
+ def create_reasoning_engine_session(parent, google_cloud_aiplatform_v1beta1_session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
27962
+ command = make_simple_command(:post, 'v1beta1/{+parent}/sessions', options)
27963
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
27964
+ command.request_object = google_cloud_aiplatform_v1beta1_session_object
27965
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
27966
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
27967
+ command.params['parent'] = parent unless parent.nil?
27968
+ command.query['fields'] = fields unless fields.nil?
27969
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
27970
+ execute_or_queue_command(command, &block)
27971
+ end
27972
+
27973
+ # Deletes details of the specific Session.
27974
+ # @param [String] name
27975
+ # Required. The resource name of the session. Format: `projects/`project`/
27976
+ # locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session``
27977
+ # @param [String] fields
27978
+ # Selector specifying which fields to include in a partial response.
27979
+ # @param [String] quota_user
27980
+ # Available to use for quota purposes for server-side applications. Can be any
27981
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
27982
+ # @param [Google::Apis::RequestOptions] options
27983
+ # Request-specific options
27984
+ #
27985
+ # @yield [result, err] Result & error if block supplied
27986
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
27987
+ # @yieldparam err [StandardError] error object if request failed
27988
+ #
27989
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
27990
+ #
27991
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27992
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27993
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
27994
+ def delete_reasoning_engine_session(name, fields: nil, quota_user: nil, options: nil, &block)
27995
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
27996
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
27997
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
27998
+ command.params['name'] = name unless name.nil?
27999
+ command.query['fields'] = fields unless fields.nil?
28000
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28001
+ execute_or_queue_command(command, &block)
28002
+ end
28003
+
28004
+ # Gets details of the specific Session.
28005
+ # @param [String] name
28006
+ # Required. The resource name of the session. Format: `projects/`project`/
28007
+ # locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session``
28008
+ # @param [String] fields
28009
+ # Selector specifying which fields to include in a partial response.
28010
+ # @param [String] quota_user
28011
+ # Available to use for quota purposes for server-side applications. Can be any
28012
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28013
+ # @param [Google::Apis::RequestOptions] options
28014
+ # Request-specific options
28015
+ #
28016
+ # @yield [result, err] Result & error if block supplied
28017
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
28018
+ # @yieldparam err [StandardError] error object if request failed
28019
+ #
28020
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
28021
+ #
28022
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28023
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28024
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28025
+ def get_reasoning_engine_session(name, fields: nil, quota_user: nil, options: nil, &block)
28026
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
28027
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
28028
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
28029
+ command.params['name'] = name unless name.nil?
28030
+ command.query['fields'] = fields unless fields.nil?
28031
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28032
+ execute_or_queue_command(command, &block)
28033
+ end
28034
+
28035
+ # Lists Sessions in a given reasoning engine.
28036
+ # @param [String] parent
28037
+ # Required. The resource name of the location to list sessions from. Format: `
28038
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
28039
+ # @param [String] filter
28040
+ # Optional. The standard list filter. Supported fields: * `display_name` Example:
28041
+ # `display_name=abc`.
28042
+ # @param [String] order_by
28043
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
28044
+ # order. Use "desc" after a field name for descending. Supported fields: * `
28045
+ # create_time` * `update_time` Example: `create_time desc`.
28046
+ # @param [Fixnum] page_size
28047
+ # Optional. The maximum number of sessions to return. The service may return
28048
+ # fewer than this value. If unspecified, at most 100 sessions will be returned.
28049
+ # @param [String] page_token
28050
+ # Optional. The next_page_token value returned from a previous list
28051
+ # SessionService.ListSessions call.
28052
+ # @param [String] fields
28053
+ # Selector specifying which fields to include in a partial response.
28054
+ # @param [String] quota_user
28055
+ # Available to use for quota purposes for server-side applications. Can be any
28056
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28057
+ # @param [Google::Apis::RequestOptions] options
28058
+ # Request-specific options
28059
+ #
28060
+ # @yield [result, err] Result & error if block supplied
28061
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse] parsed result object
28062
+ # @yieldparam err [StandardError] error object if request failed
28063
+ #
28064
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse]
28065
+ #
28066
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28067
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28068
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28069
+ def list_reasoning_engine_sessions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
28070
+ command = make_simple_command(:get, 'v1beta1/{+parent}/sessions', options)
28071
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse::Representation
28072
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListSessionsResponse
28073
+ command.params['parent'] = parent unless parent.nil?
28074
+ command.query['filter'] = filter unless filter.nil?
28075
+ command.query['orderBy'] = order_by unless order_by.nil?
28076
+ command.query['pageSize'] = page_size unless page_size.nil?
28077
+ command.query['pageToken'] = page_token unless page_token.nil?
28078
+ command.query['fields'] = fields unless fields.nil?
28079
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28080
+ execute_or_queue_command(command, &block)
28081
+ end
28082
+
28083
+ # Updates the specific Session.
28084
+ # @param [String] name
28085
+ # Identifier. The resource name of the session. Format: 'projects/`project`/
28086
+ # locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`session`'.
28087
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] google_cloud_aiplatform_v1beta1_session_object
28088
+ # @param [String] update_mask
28089
+ # Optional. Field mask is used to control which fields get updated. If the mask
28090
+ # is not present, all fields will be updated.
28091
+ # @param [String] fields
28092
+ # Selector specifying which fields to include in a partial response.
28093
+ # @param [String] quota_user
28094
+ # Available to use for quota purposes for server-side applications. Can be any
28095
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28096
+ # @param [Google::Apis::RequestOptions] options
28097
+ # Request-specific options
28098
+ #
28099
+ # @yield [result, err] Result & error if block supplied
28100
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session] parsed result object
28101
+ # @yieldparam err [StandardError] error object if request failed
28102
+ #
28103
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session]
28104
+ #
28105
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28106
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28107
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28108
+ def patch_reasoning_engine_session(name, google_cloud_aiplatform_v1beta1_session_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
28109
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
28110
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
28111
+ command.request_object = google_cloud_aiplatform_v1beta1_session_object
28112
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session::Representation
28113
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Session
28114
+ command.params['name'] = name unless name.nil?
28115
+ command.query['updateMask'] = update_mask unless update_mask.nil?
28116
+ command.query['fields'] = fields unless fields.nil?
28117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28118
+ execute_or_queue_command(command, &block)
28119
+ end
28120
+
28121
+ # Lists Events in a given session.
28122
+ # @param [String] parent
28123
+ # Required. The resource name of the session to list events from. Format: `
28124
+ # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
28125
+ # sessions/`session``
28126
+ # @param [Fixnum] page_size
28127
+ # Optional. The maximum number of events to return. The service may return fewer
28128
+ # than this value. If unspecified, at most 100 events will be returned. These
28129
+ # events are ordered by timestamp in ascending order.
28130
+ # @param [String] page_token
28131
+ # Optional. The next_page_token value returned from a previous list
28132
+ # SessionService.ListEvents call.
28133
+ # @param [String] fields
28134
+ # Selector specifying which fields to include in a partial response.
28135
+ # @param [String] quota_user
28136
+ # Available to use for quota purposes for server-side applications. Can be any
28137
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
28138
+ # @param [Google::Apis::RequestOptions] options
28139
+ # Request-specific options
28140
+ #
28141
+ # @yield [result, err] Result & error if block supplied
28142
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse] parsed result object
28143
+ # @yieldparam err [StandardError] error object if request failed
28144
+ #
28145
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse]
28146
+ #
28147
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
28148
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
28149
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
28150
+ def list_reasoning_engine_session_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
28151
+ command = make_simple_command(:get, 'v1beta1/{+parent}/events', options)
28152
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse::Representation
28153
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEventsResponse
28154
+ command.params['parent'] = parent unless parent.nil?
28155
+ command.query['pageSize'] = page_size unless page_size.nil?
28156
+ command.query['pageToken'] = page_token unless page_token.nil?
28157
+ command.query['fields'] = fields unless fields.nil?
28158
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
28159
+ execute_or_queue_command(command, &block)
28160
+ end
27483
28161
 
27484
28162
  protected
27485
28163