Google Cloud Discovery Engine V1 Client - Class CreateConversationRequest (1.3.1)

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

Request for CreateConversation method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

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}/locations/{location}/collections/{collection}/dataStores/{data_store_id}

↳ conversation Conversation

Required. The conversation to create.

getParent

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

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getConversation

Required. The conversation to create.

Returns
Type Description
Conversation|null

hasConversation

clearConversation

setConversation

Required. The conversation to create.

Parameter
Name Description
var Conversation
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id} Please see ConversationalSearchServiceClient::dataStoreName() for help formatting this field.

conversation Conversation

Required. The conversation to create.

Returns
Type Description
CreateConversationRequest