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
Methods
__construct
Constructor.
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>
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setName
Output only. ConversationDataset resource name. Format: projects/<Project ID>/locations/<Location
ID>/conversationDatasets/<Conversation Dataset ID>
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getDisplayName
Required. The display name of the dataset. Maximum of 64 bytes.
Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
string
setDisplayName
Required. The display name of the dataset. Maximum of 64 bytes.
Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
var
string
$this
getDescription
Optional. The description of the dataset. Maximum of 10000 bytes.
Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL];
string
setDescription
Optional. The description of the dataset. Maximum of 10000 bytes.
Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this
getCreateTime
Output only. Creation time of this dataset.
Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation time of this dataset.
Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getInputConfig
Output only. Input configurations set during conversation data import.
Generated from protobuf field .google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasInputConfig
clearInputConfig
setInputConfig
Output only. Input configurations set during conversation data import.
Generated from protobuf field .google.cloud.dialogflow.v2.InputConfig input_config = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
$this
getConversationInfo
Output only. Metadata set during conversation data import.
Generated from protobuf field .google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasConversationInfo
clearConversationInfo
setConversationInfo
Output only. Metadata set during conversation data import.
Generated from protobuf field .google.cloud.dialogflow.v2.ConversationInfo conversation_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
$this
getConversationCount
Output only. The number of conversations this conversation dataset contains.
Generated from protobuf field int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
int|string
setConversationCount
Output only. The number of conversations this conversation dataset contains.
Generated from protobuf field int64 conversation_count = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
int|string
$this