Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest

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.BatchDeleteEntityTypes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest

Returns a new instance of GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest.



4853
4854
4855
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4853

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

Instance Attribute Details

#entity_type_namesArray<String>

Required. The names entity types to delete. All names must point to the same agent as parent. Corresponds to the JSON property entityTypeNames

Returns:

  • (Array<String>)


4851
4852
4853
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4851

def entity_type_names
  @entity_type_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4858
4859
4860
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4858

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