Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AssistantService::Rest::ServiceStub.
REST service stub for the AssistantService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#chat_ai_assistant
def chat_ai_assistant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::ChatAiAssistantResponseBaseline implementation for the chat_ai_assistant REST call
- request_pb (::Google::Cloud::Ces::V1beta::ChatAiAssistantRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ces::V1beta::ChatAiAssistantResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ces::V1beta::ChatAiAssistantResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_assistant_session
def create_assistant_session(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::AssistantSessionBaseline implementation for the create_assistant_session REST call
- request_pb (::Google::Cloud::Ces::V1beta::CreateAssistantSessionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ces::V1beta::AssistantSession)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ces::V1beta::AssistantSession) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_assistant_session
def delete_assistant_session(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_assistant_session REST call
- request_pb (::Google::Cloud::Ces::V1beta::DeleteAssistantSessionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_assistant_session
def get_assistant_session(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::AssistantSessionBaseline implementation for the get_assistant_session REST call
- request_pb (::Google::Cloud::Ces::V1beta::GetAssistantSessionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ces::V1beta::AssistantSession)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ces::V1beta::AssistantSession) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_assistant_sessions
def list_assistant_sessions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::ListAssistantSessionsResponseBaseline implementation for the list_assistant_sessions REST call
- request_pb (::Google::Cloud::Ces::V1beta::ListAssistantSessionsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ces::V1beta::ListAssistantSessionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ces::V1beta::ListAssistantSessionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#run_assistant
def run_assistant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Ces::V1beta::RunAssistantResponseBaseline implementation for the run_assistant REST call
- request_pb (::Google::Cloud::Ces::V1beta::RunAssistantRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Ces::V1beta::RunAssistantResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Ces::V1beta::RunAssistantResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)