Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CreateSessionRequest.
Request for CreateSession method.
Generated from protobuf message google.cloud.discoveryengine.v1.CreateSessionRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Full resource name of parent data store. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}
↳ session
getParent
Required. Full resource name of parent data store. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}
string
setParent
Required. Full resource name of parent data store. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}
var
string
$this
getSession
Required. The session to create.
hasSession
clearSession
setSession
Required. The session to create.
$this
static::build
parent
string
Required. Full resource name of parent data store. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}
Please see Google\Cloud\DiscoveryEngine\V1\ConversationalSearchServiceClient::dataStoreName()
for help formatting this field.
session