Reference documentation and code samples for the Google Cloud Ces V1 Client class GenerateChatTokenRequest.
Request message for WidgetService.GenerateChatToken .
Generated from protobuf message google.cloud.ces.v1.GenerateChatTokenRequest
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
↳ deployment
string
Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
↳ recaptcha_token
string
Optional. The reCAPTCHA token generated by the client-side chat widget.
↳ live_handoff_enabled
bool
Optional. Indicates if live handoff is enabled for the session.
getName
Required. The session name to generate the chat token for.
Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
string
setName
Required. The session name to generate the chat token for.
Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
var
string
$this
getDeployment
Required. The deployment of the app to use for the session.
Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string
setDeployment
Required. The deployment of the app to use for the session.
Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
var
string
$this
getRecaptchaToken
Optional. The reCAPTCHA token generated by the client-side chat widget.
string
setRecaptchaToken
Optional. The reCAPTCHA token generated by the client-side chat widget.
var
string
$this
getLiveHandoffEnabled
Optional. Indicates if live handoff is enabled for the session.
bool
setLiveHandoffEnabled
Optional. Indicates if live handoff is enabled for the session.
var
bool
$this

