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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/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.



8633
8634
8635
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8633

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


8631
8632
8633
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8631

def entity_type_names
  @entity_type_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8638
8639
8640
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8638

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