Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

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) ⇒ GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Returns a new instance of GoogleCloudDialogflowV2IntentMessageSelectItemInfo.



12693
12694
12695
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12693

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


12686
12687
12688
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12686

def key
  @key
end

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


12691
12692
12693
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12691

def synonyms
  @synonyms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12698
12699
12700
12701
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12698

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