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.



250
251
252
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 250

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


248
249
250
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 248

def entity_type_names
  @entity_type_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



255
256
257
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 255

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