Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EntityTypeEntity
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EntityTypeEntity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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.
13939 13940 13941 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13939 def initialize(**args) update!(**args) end |
Instance Attribute Details
#synonyms ⇒ Array<String>
Corresponds to the JSON property synonyms
13932 13933 13934 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13932 def synonyms @synonyms end |
#value ⇒ String
Corresponds to the JSON property value
13937 13938 13939 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13937 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13944 13945 13946 13947 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13944 def update!(**args) @synonyms = args[:synonyms] if args.key?(:synonyms) @value = args[:value] if args.key?(:value) end |