Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageSelectItemInfo

Returns a new instance of GoogleCloudDialogflowV2IntentMessageSelectItemInfo.



8947
8948
8949
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8947

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


8940
8941
8942
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8940

def key
  @key
end

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


8945
8946
8947
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8945

def synonyms
  @synonyms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8952
8953
8954
8955
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8952

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