Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeEntity
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EntityTypeEntity
- 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) ⇒ GoogleCloudDialogflowCxV3beta1EntityTypeEntity
constructor
A new instance of GoogleCloudDialogflowCxV3beta1EntityTypeEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1EntityTypeEntity
Returns a new instance of GoogleCloudDialogflowCxV3beta1EntityTypeEntity.
5992 5993 5994 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#synonyms ⇒ Array<String>
Corresponds to the JSON property synonyms
5985 5986 5987 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5985 def synonyms @synonyms end |
#value ⇒ String
Corresponds to the JSON property value
5990 5991 5992 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5990 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5997 5998 5999 6000 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5997 def update!(**args) @synonyms = args[:synonyms] if args.key?(:synonyms) @value = args[:value] if args.key?(:value) end |