Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::RunAssistantRequest.
Request message for AssistantService.RunAssistant.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#app
def app() -> ::String
Returns
-
(::String) — Required. The app to run assistant for.
Format:
projects/{project}/locations/{location}/apps/{app}
#app=
def app=(value) -> ::String
Parameter
-
value (::String) — Required. The app to run assistant for.
Format:
projects/{project}/locations/{location}/apps/{app}
Returns
-
(::String) — Required. The app to run assistant for.
Format:
projects/{project}/locations/{location}/apps/{app}
#assistant_session
def assistant_session() -> ::String
Returns
-
(::String) — Required. The assistant session to be used to run the assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}
#assistant_session=
def assistant_session=(value) -> ::String
Parameter
-
value (::String) — Required. The assistant session to be used to run the assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}
Returns
-
(::String) — Required. The assistant session to be used to run the assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}
#interaction_type
def interaction_type() -> ::Google::Cloud::Ces::V1beta::RunAssistantRequest::InteractionType
Returns
- (::Google::Cloud::Ces::V1beta::RunAssistantRequest::InteractionType) — Optional. Different interaction types for the assistant message.
#interaction_type=
def interaction_type=(value) -> ::Google::Cloud::Ces::V1beta::RunAssistantRequest::InteractionType
Parameter
- value (::Google::Cloud::Ces::V1beta::RunAssistantRequest::InteractionType) — Optional. Different interaction types for the assistant message.
Returns
- (::Google::Cloud::Ces::V1beta::RunAssistantRequest::InteractionType) — Optional. Different interaction types for the assistant message.
#message
def message() -> ::Google::Cloud::Ces::V1beta::AssistantMessage
Returns
- (::Google::Cloud::Ces::V1beta::AssistantMessage) — Required. The message to send to the assistant agent.
#message=
def message=(value) -> ::Google::Cloud::Ces::V1beta::AssistantMessage
Parameter
- value (::Google::Cloud::Ces::V1beta::AssistantMessage) — Required. The message to send to the assistant agent.
Returns
- (::Google::Cloud::Ces::V1beta::AssistantMessage) — Required. The message to send to the assistant agent.