Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

The request message for EntityTypes.BatchDeleteEntities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest

Returns a new instance of GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest.



12045
12046
12047
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12045

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>)


12035
12036
12037
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12035

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)


12043
12044
12045
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12043

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12050
12051
12052
12053
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12050

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