Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1EntityTypeEntity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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) ⇒ GoogleCloudDialogflowV2beta1EntityTypeEntity
constructor
A new instance of GoogleCloudDialogflowV2beta1EntityTypeEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EntityTypeEntity
Returns a new instance of GoogleCloudDialogflowV2beta1EntityTypeEntity.
19129 19130 19131 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19129 def initialize(**args) update!(**args) end |
Instance Attribute Details
#synonyms ⇒ Array<String>
Corresponds to the JSON property synonyms
19122 19123 19124 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19122 def synonyms @synonyms end |
#value ⇒ String
Corresponds to the JSON property value
19127 19128 19129 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19127 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19134 19135 19136 19137 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19134 def update!(**args) @synonyms = args[:synonyms] if args.key?(:synonyms) @value = args[:value] if args.key?(:value) end |