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

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

Overview

The request message for EntityTypes.BatchDeleteEntities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest

Returns a new instance of GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest



1565
1566
1567
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1565

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

Instance Attribute Details

#entity_valuesArray<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

Returns:

  • (Array<String>)


1554
1555
1556
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1554

def entity_values
  @entity_values
end

#language_codeString

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

Returns:

  • (String)


1563
1564
1565
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1563

def language_code
  @language_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1570
1571
1572
1573
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1570

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