Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2/classes.rb,
generated/google/apis/dialogflow_v2/representations.rb,
generated/google/apis/dialogflow_v2/representations.rb
Overview
The request message for EntityTypes.BatchDeleteEntities.
Instance Attribute Summary collapse
-
#entity_values ⇒ Array<String>
Required.
-
#language_code ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
constructor
A new instance of GoogleCloudDialogflowV2BatchDeleteEntitiesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
Returns a new instance of GoogleCloudDialogflowV2BatchDeleteEntitiesRequest
164 165 166 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_values ⇒ Array<String>
Required. The canonical values
of the entities to delete. Note that
these are not fully-qualified names, i.e. they don't start with
projects/<Project ID>
.
Corresponds to the JSON property entityValues
153 154 155 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 153 def entity_values @entity_values end |
#language_code ⇒ String
Optional. The language of entity synonyms defined in entities
. If not
specified, the agent's default language is used.
More than a dozen
languages are supported.
Note: languages must be enabled in the agent, before they can be used.
Corresponds to the JSON property languageCode
162 163 164 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 162 def language_code @language_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
169 170 171 172 |
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 169 def update!(**args) @entity_values = args[:entity_values] if args.key?(:entity_values) @language_code = args[:language_code] if args.key?(:language_code) end |