Google Cloud Discovery Engine V1beta Client - Class CreateConversationRequest (0.8.0)

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

Request for CreateConversation method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
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}

↳ conversation Google\Cloud\DiscoveryEngine\V1beta\Conversation

Required. The conversation 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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConversation

Required. The conversation to create.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\Conversation|null

hasConversation

clearConversation

setConversation

Required. The conversation to create.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\Conversation
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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.

conversation Google\Cloud\DiscoveryEngine\V1beta\Conversation

Required. The conversation to create.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1beta\CreateConversationRequest