Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Session.
External session proto definition.
Generated from protobuf message google.cloud.discoveryengine.v1beta.Session
Namespace
Google \ Cloud \ DiscoveryEngine \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*
↳ state
int
The state of the session.
↳ user_pseudo_id
string
A unique identifier for tracking users.
↳ turns
↳ start_time
↳ end_time
getName
Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*
string
setName
Immutable. Fully qualified name projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*
var
string
$this
getState
The state of the session.
int
setState
The state of the session.
var
int
$this
getUserPseudoId
A unique identifier for tracking users.
string
setUserPseudoId
A unique identifier for tracking users.
var
string
$this
getTurns
Turns.
setTurns
Turns.
$this
getStartTime
Output only. The time the session started.
hasStartTime
clearStartTime
setStartTime
Output only. The time the session started.
$this
getEndTime
Output only. The time the session finished.
hasEndTime
clearEndTime
setEndTime
Output only. The time the session finished.
$this