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.



9021
9022
9023
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9021

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)


9019
9020
9021
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9019

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9026
9027
9028
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9026

def update!(**args)
  @language_code = args[:language_code] if args.key?(:language_code)
end