Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SessionEntityType
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SessionEntityType
- 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::GoogleCloudDialogflowV2beta1EntityTypeEntity>
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) ⇒ GoogleCloudDialogflowV2beta1SessionEntityType
constructor
A new instance of GoogleCloudDialogflowV2beta1SessionEntityType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SessionEntityType
Returns a new instance of GoogleCloudDialogflowV2beta1SessionEntityType.
20685 20686 20687 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1EntityTypeEntity>
Corresponds to the JSON property entities
20673 20674 20675 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20673 def entities @entities end |
#entity_override_mode ⇒ String
Corresponds to the JSON property entityOverrideMode
20678 20679 20680 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20678 def entity_override_mode @entity_override_mode end |
#name ⇒ String
Corresponds to the JSON property name
20683 20684 20685 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20683 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20690 20691 20692 20693 20694 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20690 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 |