Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationDataset
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationDataset
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
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).
Instance Attribute Summary collapse
-
#conversation_count ⇒ Fixnum
Output only.
-
#conversation_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationInfo
Represents metadata of a conversation.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Required.
-
#input_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputConfig
Represents the configuration of importing a set of conversation files in Google Cloud Storage.
-
#name ⇒ String
Output only.
-
#satisfies_pzi ⇒ Boolean
(also: #satisfies_pzi?)
Output only.
-
#satisfies_pzs ⇒ Boolean
(also: #satisfies_pzs?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationDataset
constructor
A new instance of GoogleCloudDialogflowV2ConversationDataset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationDataset
Returns a new instance of GoogleCloudDialogflowV2ConversationDataset.
9738 9739 9740 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9738 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_count ⇒ Fixnum
Output only. The number of conversations this conversation dataset contains.
Corresponds to the JSON property conversationCount
9690 9691 9692 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9690 def conversation_count @conversation_count end |
#conversation_info ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationInfo
Represents metadata of a conversation.
Corresponds to the JSON property conversationInfo
9695 9696 9697 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9695 def conversation_info @conversation_info end |
#create_time ⇒ String
Output only. Creation time of this dataset.
Corresponds to the JSON property createTime
9700 9701 9702 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9700 def create_time @create_time end |
#description ⇒ String
Optional. The description of the dataset. Maximum of 10000 bytes.
Corresponds to the JSON property description
9705 9706 9707 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9705 def description @description end |
#display_name ⇒ String
Required. The display name of the dataset. Maximum of 64 bytes.
Corresponds to the JSON property displayName
9710 9711 9712 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9710 def display_name @display_name end |
#input_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputConfig
Represents the configuration of importing a set of conversation files in
Google Cloud Storage.
Corresponds to the JSON property inputConfig
9716 9717 9718 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9716 def input_config @input_config end |
#name ⇒ String
Output only. ConversationDataset resource name. Format: projects//locations//
conversationDatasets/
Corresponds to the JSON property name
9722 9723 9724 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9722 def name @name end |
#satisfies_pzi ⇒ Boolean Also known as: satisfies_pzi?
Output only. A read only boolean field reflecting Zone Isolation status of the
dataset.
Corresponds to the JSON property satisfiesPzi
9728 9729 9730 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9728 def satisfies_pzi @satisfies_pzi end |
#satisfies_pzs ⇒ Boolean Also known as: satisfies_pzs?
Output only. A read only boolean field reflecting Zone Separation status of
the dataset.
Corresponds to the JSON property satisfiesPzs
9735 9736 9737 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9735 def satisfies_pzs @satisfies_pzs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9743 def update!(**args) @conversation_count = args[:conversation_count] if args.key?(:conversation_count) @conversation_info = args[:conversation_info] if args.key?(:conversation_info) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @input_config = args[:input_config] if args.key?(:input_config) @name = args[:name] if args.key?(:name) @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi) @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs) end |