Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SessionEntityType
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SessionEntityType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#entities ⇒ Array<Google::Apis::DialogflowV2::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.
21960 21961 21962 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity>
Corresponds to the JSON property entities
21948 21949 21950 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21948 def entities @entities end |
#entity_override_mode ⇒ String
Corresponds to the JSON property entityOverrideMode
21953 21954 21955 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21953 def entity_override_mode @entity_override_mode end |
#name ⇒ String
Corresponds to the JSON property name
21958 21959 21960 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21958 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21965 21966 21967 21968 21969 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 21965 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 |