Google Cloud Dialogflow V2 Client - Class ImportConversationDataOperationResponse (1.5.0)

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

Response used for ConversationDatasets.ImportConversationData long running operation.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ conversation_dataset string

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

↳ import_count int

Number of conversations imported successfully.

getConversationDataset

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

Returns
TypeDescription
string

setConversationDataset

The resource name of the imported conversation dataset. Format: projects/<Project ID>/locations/<Location ID>/conversationDatasets/<Conversation Dataset Id>

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImportCount

Number of conversations imported successfully.

Returns
TypeDescription
int

setImportCount

Number of conversations imported successfully.

Parameter
NameDescription
var int
Returns
TypeDescription
$this