Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSelectItemInfo
- 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
-
#key ⇒ String
Corresponds to the JSON property
key. -
#synonyms ⇒ Array<String>
Corresponds to the JSON property
synonyms.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageSelectItemInfo
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageSelectItemInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#key ⇒ String
Corresponds to the JSON property key
8928 8929 8930 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8928 def key @key end |
#synonyms ⇒ Array<String>
Corresponds to the JSON property synonyms
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 |