Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::ToolService::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ToolService::Rest::ServiceStub.

REST service stub for the ToolService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#execute_tool

def execute_tool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::ExecuteToolResponse

Baseline implementation for the execute_tool REST call

Parameters
  • request_pb (::Google::Cloud::Ces::V1beta::ExecuteToolRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#retrieve_tool_schema

def retrieve_tool_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::RetrieveToolSchemaResponse

Baseline implementation for the retrieve_tool_schema REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#retrieve_tools

def retrieve_tools(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::RetrieveToolsResponse

Baseline implementation for the retrieve_tools REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)