Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::GenerateChatTokenResponse.
Response message for WidgetService.GenerateChatToken.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#chat_token
def chat_token() -> ::String
Returns
- (::String) — The session scoped token for chat widget to authenticate with Session APIs.
#chat_token=
def chat_token=(value) -> ::String
Parameter
- value (::String) — The session scoped token for chat widget to authenticate with Session APIs.
Returns
- (::String) — The session scoped token for chat widget to authenticate with Session APIs.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time at which the chat token expires.
#expire_time=
def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time at which the chat token expires.
Returns
- (::Google::Protobuf::Timestamp) — The time at which the chat token expires.