Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::CreateAssistantSessionRequest.
Request message for AssistantService.CreateAssistantSession.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#assistant_session_id
def assistant_session_id() -> ::String
Returns
- (::String) — Optional. The ID to use for the assistant session, which will become the final component of the assistant session's resource name. If not provided, a unique ID will be automatically assigned for the assistant session.
#assistant_session_id=
def assistant_session_id=(value) -> ::String
Parameter
- value (::String) — Optional. The ID to use for the assistant session, which will become the final component of the assistant session's resource name. If not provided, a unique ID will be automatically assigned for the assistant session.
Returns
- (::String) — Optional. The ID to use for the assistant session, which will become the final component of the assistant session's resource name. If not provided, a unique ID will be automatically assigned for the assistant session.
#assistant_session_messages
def assistant_session_messages() -> ::Array<::Google::Cloud::Ces::V1beta::AssistantMessage>
Returns
- (::Array<::Google::Cloud::Ces::V1beta::AssistantMessage>) — Optional. The messages to seed the assistant session with.
#assistant_session_messages=
def assistant_session_messages=(value) -> ::Array<::Google::Cloud::Ces::V1beta::AssistantMessage>
Parameter
- value (::Array<::Google::Cloud::Ces::V1beta::AssistantMessage>) — Optional. The messages to seed the assistant session with.
Returns
- (::Array<::Google::Cloud::Ces::V1beta::AssistantMessage>) — Optional. The messages to seed the assistant session with.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The app to create the assistant session in
Format:
projects/{project}/locations/{location}/apps/{app}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The app to create the assistant session in
Format:
projects/{project}/locations/{location}/apps/{app}
Returns
-
(::String) — Required. The app to create the assistant session in
Format:
projects/{project}/locations/{location}/apps/{app}