google-apis-aiplatform_v1beta1 0.60.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +282 -119
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +102 -36
- data/lib/google/apis/aiplatform_v1beta1/service.rb +735 -2
- metadata +2 -2
@@ -1378,8 +1378,8 @@ module Google
|
|
1378
1378
|
# @param [String] name
|
1379
1379
|
# The resource that owns the locations collection, if applicable.
|
1380
1380
|
# @param [Array<String>, String] extra_location_types
|
1381
|
-
# Optional.
|
1382
|
-
#
|
1381
|
+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
|
1382
|
+
# field which is primarily intended for internal usage.
|
1383
1383
|
# @param [String] filter
|
1384
1384
|
# A filter to narrow down results to a preferred subset. The filtering language
|
1385
1385
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -6302,6 +6302,124 @@ module Google
|
|
6302
6302
|
execute_or_queue_command(command, &block)
|
6303
6303
|
end
|
6304
6304
|
|
6305
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
6306
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
6307
|
+
# will be specified in the request.
|
6308
|
+
# @param [String] endpoint
|
6309
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
6310
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
6311
|
+
# @param [String] deployed_model_id
|
6312
|
+
# ID of the DeployedModel that serves the invoke request.
|
6313
|
+
# @param [String] invoke_id
|
6314
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1InvokeRequest] google_cloud_aiplatform_v1beta1_invoke_request_object
|
6315
|
+
# @param [String] fields
|
6316
|
+
# Selector specifying which fields to include in a partial response.
|
6317
|
+
# @param [String] quota_user
|
6318
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6319
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6320
|
+
# @param [Google::Apis::RequestOptions] options
|
6321
|
+
# Request-specific options
|
6322
|
+
#
|
6323
|
+
# @yield [result, err] Result & error if block supplied
|
6324
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
6325
|
+
# @yieldparam err [StandardError] error object if request failed
|
6326
|
+
#
|
6327
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
6328
|
+
#
|
6329
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6330
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6331
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6332
|
+
def invoke_project_location_endpoint_deployed_model_invoke(endpoint, deployed_model_id, invoke_id, google_cloud_aiplatform_v1beta1_invoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6333
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}/deployedModels/{deployedModelId}/invoke/{+invokeId}', options)
|
6334
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1InvokeRequest::Representation
|
6335
|
+
command.request_object = google_cloud_aiplatform_v1beta1_invoke_request_object
|
6336
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
6337
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
6338
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
6339
|
+
command.params['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
|
6340
|
+
command.params['invokeId'] = invoke_id unless invoke_id.nil?
|
6341
|
+
command.query['fields'] = fields unless fields.nil?
|
6342
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6343
|
+
execute_or_queue_command(command, &block)
|
6344
|
+
end
|
6345
|
+
|
6346
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
6347
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
6348
|
+
# will be specified in the request.
|
6349
|
+
# @param [String] endpoint
|
6350
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
6351
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
6352
|
+
# @param [String] invoke_id
|
6353
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1InvokeRequest] google_cloud_aiplatform_v1beta1_invoke_request_object
|
6354
|
+
# @param [String] fields
|
6355
|
+
# Selector specifying which fields to include in a partial response.
|
6356
|
+
# @param [String] quota_user
|
6357
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6358
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6359
|
+
# @param [Google::Apis::RequestOptions] options
|
6360
|
+
# Request-specific options
|
6361
|
+
#
|
6362
|
+
# @yield [result, err] Result & error if block supplied
|
6363
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
6364
|
+
# @yieldparam err [StandardError] error object if request failed
|
6365
|
+
#
|
6366
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
6367
|
+
#
|
6368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6371
|
+
def invoke_project_location_endpoint_invoke(endpoint, invoke_id, google_cloud_aiplatform_v1beta1_invoke_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
6372
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}/invoke/{+invokeId}', options)
|
6373
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1InvokeRequest::Representation
|
6374
|
+
command.request_object = google_cloud_aiplatform_v1beta1_invoke_request_object
|
6375
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
6376
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
6377
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
6378
|
+
command.params['invokeId'] = invoke_id unless invoke_id.nil?
|
6379
|
+
command.query['fields'] = fields unless fields.nil?
|
6380
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6381
|
+
execute_or_queue_command(command, &block)
|
6382
|
+
end
|
6383
|
+
|
6384
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
6385
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
6386
|
+
# will be specified in the request.
|
6387
|
+
# @param [String] endpoint
|
6388
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
6389
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
6390
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] google_api_http_body_object
|
6391
|
+
# @param [String] deployed_model_id
|
6392
|
+
# ID of the DeployedModel that serves the invoke request.
|
6393
|
+
# @param [String] fields
|
6394
|
+
# Selector specifying which fields to include in a partial response.
|
6395
|
+
# @param [String] quota_user
|
6396
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
6397
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
6398
|
+
# @param [Google::Apis::RequestOptions] options
|
6399
|
+
# Request-specific options
|
6400
|
+
#
|
6401
|
+
# @yield [result, err] Result & error if block supplied
|
6402
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
6403
|
+
# @yieldparam err [StandardError] error object if request failed
|
6404
|
+
#
|
6405
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
6406
|
+
#
|
6407
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
6408
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
6409
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
6410
|
+
def embeddings_project_location_endpoint_openapi(endpoint, google_api_http_body_object = nil, deployed_model_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
6411
|
+
command = make_simple_command(:post, 'v1beta1/{+endpoint}/embeddings', options)
|
6412
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
6413
|
+
command.request_object = google_api_http_body_object
|
6414
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
6415
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
6416
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
6417
|
+
command.query['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
|
6418
|
+
command.query['fields'] = fields unless fields.nil?
|
6419
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
6420
|
+
execute_or_queue_command(command, &block)
|
6421
|
+
end
|
6422
|
+
|
6305
6423
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
6306
6424
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
6307
6425
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -23461,6 +23579,294 @@ module Google
|
|
23461
23579
|
execute_or_queue_command(command, &block)
|
23462
23580
|
end
|
23463
23581
|
|
23582
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
23583
|
+
# @param [String] name
|
23584
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23585
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
23586
|
+
# reasoning_engine``
|
23587
|
+
# @param [String] a2a_endpoint
|
23588
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
23589
|
+
# @param [String] history_length
|
23590
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
23591
|
+
# history_length=". This indicates how many turns of history to return. If not
|
23592
|
+
# set, the default value is 0, which means all the history will be returned.
|
23593
|
+
# @param [String] fields
|
23594
|
+
# Selector specifying which fields to include in a partial response.
|
23595
|
+
# @param [String] quota_user
|
23596
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23597
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23598
|
+
# @param [Google::Apis::RequestOptions] options
|
23599
|
+
# Request-specific options
|
23600
|
+
#
|
23601
|
+
# @yield [result, err] Result & error if block supplied
|
23602
|
+
# @yieldparam result [NilClass] No result returned for this method
|
23603
|
+
# @yieldparam err [StandardError] error object if request failed
|
23604
|
+
#
|
23605
|
+
# @return [void]
|
23606
|
+
#
|
23607
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23608
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23609
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23610
|
+
def card_project_location_reasoning_engine_a2a_v1(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23611
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
23612
|
+
command.params['name'] = name unless name.nil?
|
23613
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23614
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
23615
|
+
command.query['fields'] = fields unless fields.nil?
|
23616
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23617
|
+
execute_or_queue_command(command, &block)
|
23618
|
+
end
|
23619
|
+
|
23620
|
+
# Send post request for reasoning engine instance via the A2A post protocol apis.
|
23621
|
+
# @param [String] name
|
23622
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23623
|
+
# URL.
|
23624
|
+
# @param [String] a2a_endpoint
|
23625
|
+
# Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send
|
23626
|
+
# @param [String] fields
|
23627
|
+
# Selector specifying which fields to include in a partial response.
|
23628
|
+
# @param [String] quota_user
|
23629
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23630
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23631
|
+
# @param [Google::Apis::RequestOptions] options
|
23632
|
+
# Request-specific options
|
23633
|
+
#
|
23634
|
+
# @yield [result, err] Result & error if block supplied
|
23635
|
+
# @yieldparam result [NilClass] No result returned for this method
|
23636
|
+
# @yieldparam err [StandardError] error object if request failed
|
23637
|
+
#
|
23638
|
+
# @return [void]
|
23639
|
+
#
|
23640
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23641
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23642
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23643
|
+
def send_project_location_reasoning_engine_a2a_v1_message(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
23644
|
+
command = make_simple_command(:post, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:send', options)
|
23645
|
+
command.params['name'] = name unless name.nil?
|
23646
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23647
|
+
command.query['fields'] = fields unless fields.nil?
|
23648
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23649
|
+
execute_or_queue_command(command, &block)
|
23650
|
+
end
|
23651
|
+
|
23652
|
+
# Streams queries using a reasoning engine instance via the A2A streaming
|
23653
|
+
# protocol apis.
|
23654
|
+
# @param [String] name
|
23655
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23656
|
+
# URL.
|
23657
|
+
# @param [String] a2a_endpoint
|
23658
|
+
# Required. The http endpoint extracted from the URL path. e.g., v1/message:
|
23659
|
+
# stream.
|
23660
|
+
# @param [String] fields
|
23661
|
+
# Selector specifying which fields to include in a partial response.
|
23662
|
+
# @param [String] quota_user
|
23663
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23664
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23665
|
+
# @param [Google::Apis::RequestOptions] options
|
23666
|
+
# Request-specific options
|
23667
|
+
#
|
23668
|
+
# @yield [result, err] Result & error if block supplied
|
23669
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
23670
|
+
# @yieldparam err [StandardError] error object if request failed
|
23671
|
+
#
|
23672
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
23673
|
+
#
|
23674
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23675
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23676
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23677
|
+
def stream_project_location_reasoning_engine_a2a_v1_message(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
23678
|
+
command = make_simple_command(:post, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:stream', options)
|
23679
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
23680
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
23681
|
+
command.params['name'] = name unless name.nil?
|
23682
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23683
|
+
command.query['fields'] = fields unless fields.nil?
|
23684
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23685
|
+
execute_or_queue_command(command, &block)
|
23686
|
+
end
|
23687
|
+
|
23688
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
23689
|
+
# @param [String] name
|
23690
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23691
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
23692
|
+
# reasoning_engine``
|
23693
|
+
# @param [String] a2a_endpoint
|
23694
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
23695
|
+
# @param [String] history_length
|
23696
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
23697
|
+
# history_length=". This indicates how many turns of history to return. If not
|
23698
|
+
# set, the default value is 0, which means all the history will be returned.
|
23699
|
+
# @param [String] fields
|
23700
|
+
# Selector specifying which fields to include in a partial response.
|
23701
|
+
# @param [String] quota_user
|
23702
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23703
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23704
|
+
# @param [Google::Apis::RequestOptions] options
|
23705
|
+
# Request-specific options
|
23706
|
+
#
|
23707
|
+
# @yield [result, err] Result & error if block supplied
|
23708
|
+
# @yieldparam result [NilClass] No result returned for this method
|
23709
|
+
# @yieldparam err [StandardError] error object if request failed
|
23710
|
+
#
|
23711
|
+
# @return [void]
|
23712
|
+
#
|
23713
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23714
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23715
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23716
|
+
def a2a_project_location_reasoning_engine_a2a_v1_task_get_reasoning_engine(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23717
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
23718
|
+
command.params['name'] = name unless name.nil?
|
23719
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23720
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
23721
|
+
command.query['fields'] = fields unless fields.nil?
|
23722
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23723
|
+
execute_or_queue_command(command, &block)
|
23724
|
+
end
|
23725
|
+
|
23726
|
+
# Send post request for reasoning engine instance via the A2A post protocol apis.
|
23727
|
+
# @param [String] name
|
23728
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23729
|
+
# URL.
|
23730
|
+
# @param [String] a2a_endpoint
|
23731
|
+
# Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send
|
23732
|
+
# @param [String] fields
|
23733
|
+
# Selector specifying which fields to include in a partial response.
|
23734
|
+
# @param [String] quota_user
|
23735
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23736
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23737
|
+
# @param [Google::Apis::RequestOptions] options
|
23738
|
+
# Request-specific options
|
23739
|
+
#
|
23740
|
+
# @yield [result, err] Result & error if block supplied
|
23741
|
+
# @yieldparam result [NilClass] No result returned for this method
|
23742
|
+
# @yieldparam err [StandardError] error object if request failed
|
23743
|
+
#
|
23744
|
+
# @return [void]
|
23745
|
+
#
|
23746
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23747
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23748
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23749
|
+
def cancel_project_location_reasoning_engine_a2a_v1_task(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
23750
|
+
command = make_simple_command(:post, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:cancel', options)
|
23751
|
+
command.params['name'] = name unless name.nil?
|
23752
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23753
|
+
command.query['fields'] = fields unless fields.nil?
|
23754
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23755
|
+
execute_or_queue_command(command, &block)
|
23756
|
+
end
|
23757
|
+
|
23758
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
23759
|
+
# @param [String] name
|
23760
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23761
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
23762
|
+
# reasoning_engine``
|
23763
|
+
# @param [String] a2a_endpoint
|
23764
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
23765
|
+
# @param [String] history_length
|
23766
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
23767
|
+
# history_length=". This indicates how many turns of history to return. If not
|
23768
|
+
# set, the default value is 0, which means all the history will be returned.
|
23769
|
+
# @param [String] fields
|
23770
|
+
# Selector specifying which fields to include in a partial response.
|
23771
|
+
# @param [String] quota_user
|
23772
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23773
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23774
|
+
# @param [Google::Apis::RequestOptions] options
|
23775
|
+
# Request-specific options
|
23776
|
+
#
|
23777
|
+
# @yield [result, err] Result & error if block supplied
|
23778
|
+
# @yieldparam result [NilClass] No result returned for this method
|
23779
|
+
# @yieldparam err [StandardError] error object if request failed
|
23780
|
+
#
|
23781
|
+
# @return [void]
|
23782
|
+
#
|
23783
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23784
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23785
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23786
|
+
def push_project_location_reasoning_engine_a2a_v1_task_notification_configs(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23787
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
23788
|
+
command.params['name'] = name unless name.nil?
|
23789
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23790
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
23791
|
+
command.query['fields'] = fields unless fields.nil?
|
23792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23793
|
+
execute_or_queue_command(command, &block)
|
23794
|
+
end
|
23795
|
+
|
23796
|
+
# Stream get request for reasoning engine instance via the A2A stream get
|
23797
|
+
# protocol apis.
|
23798
|
+
# @param [String] name
|
23799
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23800
|
+
# URL.
|
23801
|
+
# @param [String] a2a_endpoint
|
23802
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:
|
23803
|
+
# subscribe`.
|
23804
|
+
# @param [String] fields
|
23805
|
+
# Selector specifying which fields to include in a partial response.
|
23806
|
+
# @param [String] quota_user
|
23807
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23808
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23809
|
+
# @param [Google::Apis::RequestOptions] options
|
23810
|
+
# Request-specific options
|
23811
|
+
#
|
23812
|
+
# @yield [result, err] Result & error if block supplied
|
23813
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
23814
|
+
# @yieldparam err [StandardError] error object if request failed
|
23815
|
+
#
|
23816
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
23817
|
+
#
|
23818
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23819
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23820
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23821
|
+
def subscribe_project_location_reasoning_engine_a2a_v1_task(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
23822
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:subscribe', options)
|
23823
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
23824
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
23825
|
+
command.params['name'] = name unless name.nil?
|
23826
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23827
|
+
command.query['fields'] = fields unless fields.nil?
|
23828
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23829
|
+
execute_or_queue_command(command, &block)
|
23830
|
+
end
|
23831
|
+
|
23832
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
23833
|
+
# @param [String] name
|
23834
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
23835
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
23836
|
+
# reasoning_engine``
|
23837
|
+
# @param [String] a2a_endpoint
|
23838
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
23839
|
+
# @param [String] history_length
|
23840
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
23841
|
+
# history_length=". This indicates how many turns of history to return. If not
|
23842
|
+
# set, the default value is 0, which means all the history will be returned.
|
23843
|
+
# @param [String] fields
|
23844
|
+
# Selector specifying which fields to include in a partial response.
|
23845
|
+
# @param [String] quota_user
|
23846
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23847
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23848
|
+
# @param [Google::Apis::RequestOptions] options
|
23849
|
+
# Request-specific options
|
23850
|
+
#
|
23851
|
+
# @yield [result, err] Result & error if block supplied
|
23852
|
+
# @yieldparam result [NilClass] No result returned for this method
|
23853
|
+
# @yieldparam err [StandardError] error object if request failed
|
23854
|
+
#
|
23855
|
+
# @return [void]
|
23856
|
+
#
|
23857
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23858
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23859
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23860
|
+
def a2a_project_location_reasoning_engine_a2a_v1_task_push_notification_config_get_reasoning_engine(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
23861
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
23862
|
+
command.params['name'] = name unless name.nil?
|
23863
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
23864
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
23865
|
+
command.query['fields'] = fields unless fields.nil?
|
23866
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23867
|
+
execute_or_queue_command(command, &block)
|
23868
|
+
end
|
23869
|
+
|
23464
23870
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
23465
23871
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
23466
23872
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -29408,6 +29814,45 @@ module Google
|
|
29408
29814
|
execute_or_queue_command(command, &block)
|
29409
29815
|
end
|
29410
29816
|
|
29817
|
+
# Enables model for the project if prerequisites are met (e.g. completed
|
29818
|
+
# questionnaire and consents, or an active Private Offer).
|
29819
|
+
# @param [String] parent
|
29820
|
+
# Required. The project requesting access for named model. Format: `projects/`
|
29821
|
+
# project``
|
29822
|
+
# @param [String] name
|
29823
|
+
# Required. The name of the PublisherModel resource. Format: `publishers/`
|
29824
|
+
# publisher`/models/`publisher_model``
|
29825
|
+
# @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelRequest] google_cloud_aiplatform_v1beta1_enable_model_request_object
|
29826
|
+
# @param [String] fields
|
29827
|
+
# Selector specifying which fields to include in a partial response.
|
29828
|
+
# @param [String] quota_user
|
29829
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
29830
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
29831
|
+
# @param [Google::Apis::RequestOptions] options
|
29832
|
+
# Request-specific options
|
29833
|
+
#
|
29834
|
+
# @yield [result, err] Result & error if block supplied
|
29835
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelResponse] parsed result object
|
29836
|
+
# @yieldparam err [StandardError] error object if request failed
|
29837
|
+
#
|
29838
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelResponse]
|
29839
|
+
#
|
29840
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29841
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29842
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29843
|
+
def enable_project_publisher_model_model(parent, name, google_cloud_aiplatform_v1beta1_enable_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
29844
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/{+name}:enableModel', options)
|
29845
|
+
command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelRequest::Representation
|
29846
|
+
command.request_object = google_cloud_aiplatform_v1beta1_enable_model_request_object
|
29847
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelResponse::Representation
|
29848
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnableModelResponse
|
29849
|
+
command.params['parent'] = parent unless parent.nil?
|
29850
|
+
command.params['name'] = name unless name.nil?
|
29851
|
+
command.query['fields'] = fields unless fields.nil?
|
29852
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29853
|
+
execute_or_queue_command(command, &block)
|
29854
|
+
end
|
29855
|
+
|
29411
29856
|
# Return a list of tokens based on the input text.
|
29412
29857
|
# @param [String] endpoint
|
29413
29858
|
# Required. The name of the Endpoint requested to get lists of tokens and token
|
@@ -30005,6 +30450,294 @@ module Google
|
|
30005
30450
|
execute_or_queue_command(command, &block)
|
30006
30451
|
end
|
30007
30452
|
|
30453
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
30454
|
+
# @param [String] name
|
30455
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30456
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
30457
|
+
# reasoning_engine``
|
30458
|
+
# @param [String] a2a_endpoint
|
30459
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
30460
|
+
# @param [String] history_length
|
30461
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
30462
|
+
# history_length=". This indicates how many turns of history to return. If not
|
30463
|
+
# set, the default value is 0, which means all the history will be returned.
|
30464
|
+
# @param [String] fields
|
30465
|
+
# Selector specifying which fields to include in a partial response.
|
30466
|
+
# @param [String] quota_user
|
30467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30469
|
+
# @param [Google::Apis::RequestOptions] options
|
30470
|
+
# Request-specific options
|
30471
|
+
#
|
30472
|
+
# @yield [result, err] Result & error if block supplied
|
30473
|
+
# @yieldparam result [NilClass] No result returned for this method
|
30474
|
+
# @yieldparam err [StandardError] error object if request failed
|
30475
|
+
#
|
30476
|
+
# @return [void]
|
30477
|
+
#
|
30478
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30479
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30480
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30481
|
+
def card_reasoning_engine_a2a_v1(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
30482
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
30483
|
+
command.params['name'] = name unless name.nil?
|
30484
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30485
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
30486
|
+
command.query['fields'] = fields unless fields.nil?
|
30487
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30488
|
+
execute_or_queue_command(command, &block)
|
30489
|
+
end
|
30490
|
+
|
30491
|
+
# Send post request for reasoning engine instance via the A2A post protocol apis.
|
30492
|
+
# @param [String] name
|
30493
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30494
|
+
# URL.
|
30495
|
+
# @param [String] a2a_endpoint
|
30496
|
+
# Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send
|
30497
|
+
# @param [String] fields
|
30498
|
+
# Selector specifying which fields to include in a partial response.
|
30499
|
+
# @param [String] quota_user
|
30500
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30501
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30502
|
+
# @param [Google::Apis::RequestOptions] options
|
30503
|
+
# Request-specific options
|
30504
|
+
#
|
30505
|
+
# @yield [result, err] Result & error if block supplied
|
30506
|
+
# @yieldparam result [NilClass] No result returned for this method
|
30507
|
+
# @yieldparam err [StandardError] error object if request failed
|
30508
|
+
#
|
30509
|
+
# @return [void]
|
30510
|
+
#
|
30511
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30512
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30513
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30514
|
+
def send_reasoning_engine_a2a_v1_message(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
30515
|
+
command = make_simple_command(:post, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:send', options)
|
30516
|
+
command.params['name'] = name unless name.nil?
|
30517
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30518
|
+
command.query['fields'] = fields unless fields.nil?
|
30519
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30520
|
+
execute_or_queue_command(command, &block)
|
30521
|
+
end
|
30522
|
+
|
30523
|
+
# Streams queries using a reasoning engine instance via the A2A streaming
|
30524
|
+
# protocol apis.
|
30525
|
+
# @param [String] name
|
30526
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30527
|
+
# URL.
|
30528
|
+
# @param [String] a2a_endpoint
|
30529
|
+
# Required. The http endpoint extracted from the URL path. e.g., v1/message:
|
30530
|
+
# stream.
|
30531
|
+
# @param [String] fields
|
30532
|
+
# Selector specifying which fields to include in a partial response.
|
30533
|
+
# @param [String] quota_user
|
30534
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30535
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30536
|
+
# @param [Google::Apis::RequestOptions] options
|
30537
|
+
# Request-specific options
|
30538
|
+
#
|
30539
|
+
# @yield [result, err] Result & error if block supplied
|
30540
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
30541
|
+
# @yieldparam err [StandardError] error object if request failed
|
30542
|
+
#
|
30543
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
30544
|
+
#
|
30545
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30546
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30547
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30548
|
+
def stream_reasoning_engine_a2a_v1_message(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
30549
|
+
command = make_simple_command(:post, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:stream', options)
|
30550
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
30551
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
30552
|
+
command.params['name'] = name unless name.nil?
|
30553
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30554
|
+
command.query['fields'] = fields unless fields.nil?
|
30555
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30556
|
+
execute_or_queue_command(command, &block)
|
30557
|
+
end
|
30558
|
+
|
30559
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
30560
|
+
# @param [String] name
|
30561
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30562
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
30563
|
+
# reasoning_engine``
|
30564
|
+
# @param [String] a2a_endpoint
|
30565
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
30566
|
+
# @param [String] history_length
|
30567
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
30568
|
+
# history_length=". This indicates how many turns of history to return. If not
|
30569
|
+
# set, the default value is 0, which means all the history will be returned.
|
30570
|
+
# @param [String] fields
|
30571
|
+
# Selector specifying which fields to include in a partial response.
|
30572
|
+
# @param [String] quota_user
|
30573
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30574
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30575
|
+
# @param [Google::Apis::RequestOptions] options
|
30576
|
+
# Request-specific options
|
30577
|
+
#
|
30578
|
+
# @yield [result, err] Result & error if block supplied
|
30579
|
+
# @yieldparam result [NilClass] No result returned for this method
|
30580
|
+
# @yieldparam err [StandardError] error object if request failed
|
30581
|
+
#
|
30582
|
+
# @return [void]
|
30583
|
+
#
|
30584
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30585
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30586
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30587
|
+
def a2a_reasoning_engine_a2a_v1_task_get_reasoning_engine(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
30588
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
30589
|
+
command.params['name'] = name unless name.nil?
|
30590
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30591
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
30592
|
+
command.query['fields'] = fields unless fields.nil?
|
30593
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30594
|
+
execute_or_queue_command(command, &block)
|
30595
|
+
end
|
30596
|
+
|
30597
|
+
# Send post request for reasoning engine instance via the A2A post protocol apis.
|
30598
|
+
# @param [String] name
|
30599
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30600
|
+
# URL.
|
30601
|
+
# @param [String] a2a_endpoint
|
30602
|
+
# Required. The a2a endpoint path, captured from the URL. e.g., v1/message:send
|
30603
|
+
# @param [String] fields
|
30604
|
+
# Selector specifying which fields to include in a partial response.
|
30605
|
+
# @param [String] quota_user
|
30606
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30607
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30608
|
+
# @param [Google::Apis::RequestOptions] options
|
30609
|
+
# Request-specific options
|
30610
|
+
#
|
30611
|
+
# @yield [result, err] Result & error if block supplied
|
30612
|
+
# @yieldparam result [NilClass] No result returned for this method
|
30613
|
+
# @yieldparam err [StandardError] error object if request failed
|
30614
|
+
#
|
30615
|
+
# @return [void]
|
30616
|
+
#
|
30617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30620
|
+
def cancel_reasoning_engine_a2a_v1_task(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
30621
|
+
command = make_simple_command(:post, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:cancel', options)
|
30622
|
+
command.params['name'] = name unless name.nil?
|
30623
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30624
|
+
command.query['fields'] = fields unless fields.nil?
|
30625
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30626
|
+
execute_or_queue_command(command, &block)
|
30627
|
+
end
|
30628
|
+
|
30629
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
30630
|
+
# @param [String] name
|
30631
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30632
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
30633
|
+
# reasoning_engine``
|
30634
|
+
# @param [String] a2a_endpoint
|
30635
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
30636
|
+
# @param [String] history_length
|
30637
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
30638
|
+
# history_length=". This indicates how many turns of history to return. If not
|
30639
|
+
# set, the default value is 0, which means all the history will be returned.
|
30640
|
+
# @param [String] fields
|
30641
|
+
# Selector specifying which fields to include in a partial response.
|
30642
|
+
# @param [String] quota_user
|
30643
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30644
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30645
|
+
# @param [Google::Apis::RequestOptions] options
|
30646
|
+
# Request-specific options
|
30647
|
+
#
|
30648
|
+
# @yield [result, err] Result & error if block supplied
|
30649
|
+
# @yieldparam result [NilClass] No result returned for this method
|
30650
|
+
# @yieldparam err [StandardError] error object if request failed
|
30651
|
+
#
|
30652
|
+
# @return [void]
|
30653
|
+
#
|
30654
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30655
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30656
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30657
|
+
def push_reasoning_engine_a2a_v1_task_notification_configs(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
30658
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
30659
|
+
command.params['name'] = name unless name.nil?
|
30660
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30661
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
30662
|
+
command.query['fields'] = fields unless fields.nil?
|
30663
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30664
|
+
execute_or_queue_command(command, &block)
|
30665
|
+
end
|
30666
|
+
|
30667
|
+
# Stream get request for reasoning engine instance via the A2A stream get
|
30668
|
+
# protocol apis.
|
30669
|
+
# @param [String] name
|
30670
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30671
|
+
# URL.
|
30672
|
+
# @param [String] a2a_endpoint
|
30673
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123:
|
30674
|
+
# subscribe`.
|
30675
|
+
# @param [String] fields
|
30676
|
+
# Selector specifying which fields to include in a partial response.
|
30677
|
+
# @param [String] quota_user
|
30678
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30679
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30680
|
+
# @param [Google::Apis::RequestOptions] options
|
30681
|
+
# Request-specific options
|
30682
|
+
#
|
30683
|
+
# @yield [result, err] Result & error if block supplied
|
30684
|
+
# @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] parsed result object
|
30685
|
+
# @yieldparam err [StandardError] error object if request failed
|
30686
|
+
#
|
30687
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
30688
|
+
#
|
30689
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30690
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30691
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30692
|
+
def subscribe_reasoning_engine_a2a_v1_task(name, a2a_endpoint, fields: nil, quota_user: nil, options: nil, &block)
|
30693
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}:subscribe', options)
|
30694
|
+
command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation
|
30695
|
+
command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody
|
30696
|
+
command.params['name'] = name unless name.nil?
|
30697
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30698
|
+
command.query['fields'] = fields unless fields.nil?
|
30699
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30700
|
+
execute_or_queue_command(command, &block)
|
30701
|
+
end
|
30702
|
+
|
30703
|
+
# Get request for reasoning engine instance via the A2A get protocol apis.
|
30704
|
+
# @param [String] name
|
30705
|
+
# Required. The full resource path of the reasoning engine, captured from the
|
30706
|
+
# URL. Format: `projects/`project`/locations/`location`/reasoningEngines/`
|
30707
|
+
# reasoning_engine``
|
30708
|
+
# @param [String] a2a_endpoint
|
30709
|
+
# Required. The http endpoint extracted from the URL path. i.e. `v1/tasks/123`
|
30710
|
+
# @param [String] history_length
|
30711
|
+
# Optional. The optional query parameter for the getTask endpoint. Mapped from "?
|
30712
|
+
# history_length=". This indicates how many turns of history to return. If not
|
30713
|
+
# set, the default value is 0, which means all the history will be returned.
|
30714
|
+
# @param [String] fields
|
30715
|
+
# Selector specifying which fields to include in a partial response.
|
30716
|
+
# @param [String] quota_user
|
30717
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
30718
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
30719
|
+
# @param [Google::Apis::RequestOptions] options
|
30720
|
+
# Request-specific options
|
30721
|
+
#
|
30722
|
+
# @yield [result, err] Result & error if block supplied
|
30723
|
+
# @yieldparam result [NilClass] No result returned for this method
|
30724
|
+
# @yieldparam err [StandardError] error object if request failed
|
30725
|
+
#
|
30726
|
+
# @return [void]
|
30727
|
+
#
|
30728
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
30729
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
30730
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
30731
|
+
def a2a_reasoning_engine_a2a_v1_task_push_notification_config_get_reasoning_engine(name, a2a_endpoint, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
30732
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/a2a/{+a2aEndpoint}', options)
|
30733
|
+
command.params['name'] = name unless name.nil?
|
30734
|
+
command.params['a2aEndpoint'] = a2a_endpoint unless a2a_endpoint.nil?
|
30735
|
+
command.query['historyLength'] = history_length unless history_length.nil?
|
30736
|
+
command.query['fields'] = fields unless fields.nil?
|
30737
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
30738
|
+
execute_or_queue_command(command, &block)
|
30739
|
+
end
|
30740
|
+
|
30008
30741
|
# Create a Memory.
|
30009
30742
|
# @param [String] parent
|
30010
30743
|
# Required. The resource name of the ReasoningEngine to create the Memory under.
|