Google Cloud Ces V1 Client - Class GenerateChatTokenResponse (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class GenerateChatTokenResponse.

Response message for WidgetService.GenerateChatToken .

Generated from protobuf message google.cloud.ces.v1.GenerateChatTokenResponse

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ chat_token
string

The session scoped token for chat widget to authenticate with Session APIs.

↳ expire_time
Google\Protobuf\Timestamp

The time at which the chat token expires.

getChatToken

The session scoped token for chat widget to authenticate with Session APIs.

Returns
Type
Description
string

setChatToken

The session scoped token for chat widget to authenticate with Session APIs.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getExpireTime

The time at which the chat token expires.

Returns
Type
Description

hasExpireTime

clearExpireTime

setExpireTime

The time at which the chat token expires.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: