Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationInfo
- 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 metadata of a conversation.
Instance Attribute Summary collapse
-
#language_code ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationInfo
constructor
A new instance of GoogleCloudDialogflowV2ConversationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationInfo
Returns a new instance of GoogleCloudDialogflowV2ConversationInfo.
9167 9168 9169 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9167 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_code ⇒ String
Optional. The language code of the conversation data within this dataset. See
https://cloud.google.com/apis/design/standard_fields for more information.
Supports all UTF-8 languages.
Corresponds to the JSON property languageCode
9165 9166 9167 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9165 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9172 9173 9174 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9172 def update!(**args) @language_code = args[:language_code] if args.key?(:language_code) end |