Google Cloud Discovery Engine V1beta Client - Class CreateSessionRequest (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class CreateSessionRequest.

Request for CreateSession method.

Generated from protobuf message google.cloud.discoveryengine.v1beta.CreateSessionRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
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
Google\Cloud\DiscoveryEngine\V1beta\Session

Required. The session to create.

getParent

Required. Full resource name of parent data store. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}

Returns
Type
Description
string

setParent

Required. Full resource name of parent data store. Format: projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSession

Required. The session to create.

Returns
Type
Description

hasSession

clearSession

setSession

Required. The session to create.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
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\V1beta\ConversationalSearchServiceClient::dataStoreName() for help formatting this field.

session
Google\Cloud\DiscoveryEngine\V1beta\Session

Required. The session to create.

Design a Mobile Site
View Site in Mobile | Classic
Share by: