Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2EntityTypeEntity

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2EntityTypeEntity

Returns a new instance of GoogleCloudDialogflowV2EntityTypeEntity.



15374
15375
15376
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15374

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

Instance Attribute Details

#synonymsArray<String>

Corresponds to the JSON property synonyms

Returns:

  • (Array<String>)


15367
15368
15369
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15367

def synonyms
  @synonyms
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


15372
15373
15374
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15372

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15379
15380
15381
15382
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 15379

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