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.



8935
8936
8937
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8935

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


8928
8929
8930
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8928

def key
  @key
end

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


8933
8934
8935
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8933

def synonyms
  @synonyms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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