Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EntityTypeEntity

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) ⇒ GoogleCloudDialogflowCxV3EntityTypeEntity

Returns a new instance of GoogleCloudDialogflowCxV3EntityTypeEntity.



1914
1915
1916
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1914

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

Instance Attribute Details

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


1907
1908
1909
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1907

def synonyms
  @synonyms
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


1912
1913
1914
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1912

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1919
1920
1921
1922
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1919

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