Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::GenerateChatTokenRequest.
Request message for WidgetService.GenerateChatToken.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deployment
def deployment() -> ::String
Returns
- (::String) — Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
#deployment=
def deployment=(value) -> ::String
Parameter
- value (::String) — Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
Returns
- (::String) — Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
#live_handoff_enabled
def live_handoff_enabled() -> ::Boolean
Returns
- (::Boolean) — Optional. Indicates if live handoff is enabled for the session.
#live_handoff_enabled=
def live_handoff_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Indicates if live handoff is enabled for the session.
Returns
- (::Boolean) — Optional. Indicates if live handoff is enabled for the session.
#name
def name() -> ::String
Returns
- (::String) — Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
Returns
- (::String) — Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
#recaptcha_token
def recaptcha_token() -> ::String
Returns
- (::String) — Optional. The reCAPTCHA token generated by the client-side chat widget.
#recaptcha_token=
def recaptcha_token=(value) -> ::String
Parameter
- value (::String) — Optional. The reCAPTCHA token generated by the client-side chat widget.
Returns
- (::String) — Optional. The reCAPTCHA token generated by the client-side chat widget.