Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType
- 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::GoogleCloudDialogflowCxV3EntityTypeEntity>
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) ⇒ GoogleCloudDialogflowCxV3SessionEntityType
constructor
A new instance of GoogleCloudDialogflowCxV3SessionEntityType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SessionEntityType
Returns a new instance of GoogleCloudDialogflowCxV3SessionEntityType.
7441 7442 7443 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7441 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entities ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EntityTypeEntity>
Corresponds to the JSON property entities
7429 7430 7431 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7429 def entities @entities end |
#entity_override_mode ⇒ String
Corresponds to the JSON property entityOverrideMode
7434 7435 7436 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7434 def entity_override_mode @entity_override_mode end |
#name ⇒ String
Corresponds to the JSON property name
7439 7440 7441 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7439 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7446 7447 7448 7449 7450 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 7446 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 |