Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SessionEntityType
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SessionEntityType
- 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
-
#entities ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EntityTypeEntity>
Corresponds to the JSON property
entities. -
#entity_override_mode ⇒ String
Corresponds to the JSON property
entityOverrideMode. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SessionEntityType
constructor
A new instance of GoogleCloudDialogflowV2SessionEntityType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SessionEntityType
Returns a new instance of GoogleCloudDialogflowV2SessionEntityType.
16349 16350 16351 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2EntityTypeEntity>
Corresponds to the JSON property entities
16337 16338 16339 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16337 def entities @entities end |
#entity_override_mode ⇒ String
Corresponds to the JSON property entityOverrideMode
16342 16343 16344 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16342 def entity_override_mode @entity_override_mode end |
#name ⇒ String
Corresponds to the JSON property name
16347 16348 16349 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16347 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16354 16355 16356 16357 16358 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 16354 def update!(**args) @entities = args[:entities] if args.key?(:entities) @entity_override_mode = args[:entity_override_mode] if args.key?(:entity_override_mode) @name = args[:name] if args.key?(:name) end |