Google Cloud Dialogflow V2 Client - Class ConversationDataset (1.8.0)

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

Represents a conversation dataset that a user imports raw data into.

The data inside ConversationDataset can not be changed after ImportConversationData finishes (and calling ImportConversationData on a dataset that already has data is not allowed).

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

↳ display_name string

Required. The display name of the dataset. Maximum of 64 bytes.

↳ description string

Optional. The description of the dataset. Maximum of 10000 bytes.

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of this dataset.

↳ input_config Google\Cloud\Dialogflow\V2\InputConfig

Output only. Input configurations set during conversation data import.

↳ conversation_info Google\Cloud\Dialogflow\V2\ConversationInfo

Output only. Metadata set during conversation data import.

↳ conversation_count int|string

Output only. The number of conversations this conversation dataset contains.

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Required. The display name of the dataset. Maximum of 64 bytes.

Returns
TypeDescription
string

setDisplayName

Required. The display name of the dataset. Maximum of 64 bytes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Optional. The description of the dataset. Maximum of 10000 bytes.

Returns
TypeDescription
string

setDescription

Optional. The description of the dataset. Maximum of 10000 bytes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Creation time of this dataset.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this dataset.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getInputConfig

Output only. Input configurations set during conversation data import.

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

hasInputConfig

clearInputConfig

setInputConfig

Output only. Input configurations set during conversation data import.

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

getConversationInfo

Output only. Metadata set during conversation data import.

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

hasConversationInfo

clearConversationInfo

setConversationInfo

Output only. Metadata set during conversation data import.

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

getConversationCount

Output only. The number of conversations this conversation dataset contains.

Returns
TypeDescription
int|string

setConversationCount

Output only. The number of conversations this conversation dataset contains.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this