Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EntityTypeEntity

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EntityTypeEntity

Returns a new instance of GoogleCloudDialogflowV2beta1EntityTypeEntity.



17805
17806
17807
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17805

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

Instance Attribute Details

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


17798
17799
17800
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17798

def synonyms
  @synonyms
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


17803
17804
17805
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17803

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17810
17811
17812
17813
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17810

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