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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationInfo

Returns a new instance of GoogleCloudDialogflowV2ConversationInfo.



8516
8517
8518
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8516

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#language_codeString

Corresponds to the JSON property languageCode

Returns:

  • (String)


8514
8515
8516
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8514

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8521
8522
8523
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8521

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