Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EntityTypeEntity

Returns a new instance of GoogleCloudDialogflowV2beta1EntityTypeEntity.



18369
18370
18371
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18369

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


18362
18363
18364
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18362

def synonyms
  @synonyms
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


18367
18368
18369
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18367

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18374
18375
18376
18377
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18374

def update!(**args)
  @synonyms = args[:synonyms] if args.key?(:synonyms)
  @value = args[:value] if args.key?(:value)
end