Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity
- 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
-
#synonyms ⇒ Array<String>
Corresponds to the JSON property
synonyms. -
#value ⇒ String
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2EntityTypeEntity
constructor
A new instance of GoogleCloudDialogflowV2EntityTypeEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2EntityTypeEntity
Returns a new instance of GoogleCloudDialogflowV2EntityTypeEntity.
7620 7621 7622 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#synonyms ⇒ Array<String>
Corresponds to the JSON property synonyms
7613 7614 7615 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7613 def synonyms @synonyms end |
#value ⇒ String
Corresponds to the JSON property value
7618 7619 7620 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7618 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7625 7626 7627 7628 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7625 def update!(**args) @synonyms = args[:synonyms] if args.key?(:synonyms) @value = args[:value] if args.key?(:value) end |