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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest

Returns a new instance of GoogleCloudDialogflowV2BatchDeleteEntityTypesRequest



185
186
187
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 185

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


183
184
185
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 183

def entity_type_names
  @entity_type_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



190
191
192
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 190

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