Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2EntityTypeEntity

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2EntityTypeEntity

Returns a new instance of GoogleCloudDialogflowV2EntityTypeEntity.



7608
7609
7610
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7608

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

Instance Attribute Details

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


7601
7602
7603
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7601

def synonyms
  @synonyms
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


7606
7607
7608
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7606

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7613
7614
7615
7616
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7613

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