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
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: |
↳ 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>
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The project to create conversation dataset for. Format:
projects/<Project ID>/locations/<Location ID>
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getConversationDataset
Required. The conversation dataset to create.
Generated from protobuf field .google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dialogflow\V2\ConversationDataset|null |
hasConversationDataset
clearConversationDataset
setConversationDataset
Required. The conversation dataset to create.
Generated from protobuf field .google.cloud.dialogflow.v2.ConversationDataset conversation_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dialogflow\V2\ConversationDataset
|
Returns | |
---|---|
Type | Description |
$this |