Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_codeString

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

Returns:

  • (String)


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