Google Cloud Dialogflow V2 Client - Class ImportConversationDataRequest (1.0.1)

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

The request message for ConversationDatasets.ImportConversationData.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Dataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

↳ input_config Google\Cloud\Dialogflow\V2\InputConfig

Required. Configuration describing where to import data from.

getName

Required. Dataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. Dataset resource name. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset ID>

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputConfig

Required. Configuration describing where to import data from.

Generated from protobuf field .google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\InputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

Required. Configuration describing where to import data from.

Generated from protobuf field .google.cloud.dialogflow.v2.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\InputConfig
Returns
TypeDescription
$this