Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntitiesRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchDeleteEntitiesRequest

Returns a new instance of GoogleCloudDialogflowV2BatchDeleteEntitiesRequest.



4832
4833
4834
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4832

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entity_valuesArray<String>

Required. The reference values of the entities to delete. Note that these are not fully-qualified names, i.e. they don't start with projects/. Corresponds to the JSON property entityValues

Returns:

  • (Array<String>)


4822
4823
4824
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4822

def entity_values
  @entity_values
end

#language_codeString

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data. Corresponds to the JSON property languageCode

Returns:

  • (String)


4830
4831
4832
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4830

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4837
4838
4839
4840
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4837

def update!(**args)
  @entity_values = args[:entity_values] if args.key?(:entity_values)
  @language_code = args[:language_code] if args.key?(:language_code)
end