Google Cloud Dialogflow V2 Client - Class CreateConversationDatasetRequest (1.12.3)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CreateConversationDatasetRequest.

The request message for ConversationDatasets.CreateConversationDataset.

Generated from protobuf message google.cloud.dialogflow.v2.CreateConversationDatasetRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

↳ conversation_dataset Google\Cloud\Dialogflow\V2\ConversationDataset

Required. The conversation dataset to create.

getParent

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

Returns
Type Description
string

setParent

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

Parameter
Name Description
var string
Returns
Type Description
$this

getConversationDataset

Required. The conversation dataset to create.

Returns
Type Description
Google\Cloud\Dialogflow\V2\ConversationDataset|null

hasConversationDataset

clearConversationDataset

setConversationDataset

Required. The conversation dataset to create.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\ConversationDataset
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The project to create conversation dataset for. Format: projects/<Project ID>/locations/<Location ID>

conversationDataset Google\Cloud\Dialogflow\V2\ConversationDataset

Required. The conversation dataset to create.

Returns
Type Description
Google\Cloud\Dialogflow\V2\CreateConversationDatasetRequest