Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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.
18741 18742 18743 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#synonyms ⇒ Array<String>
Corresponds to the JSON property synonyms
18734 18735 18736 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18734 def synonyms @synonyms end |
#value ⇒ String
Corresponds to the JSON property value
18739 18740 18741 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18739 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18746 18747 18748 18749 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18746 def update!(**args) @synonyms = args[:synonyms] if args.key?(:synonyms) @value = args[:value] if args.key?(:value) end |