Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest

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

Overview

The request message for Intents.BatchDeleteIntents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest

Returns a new instance of GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest.



12086
12087
12088
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12086

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

Instance Attribute Details

#intentsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent>

Required. The collection of intents to delete. Only intent name must be filled in. Corresponds to the JSON property intents



12084
12085
12086
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12084

def intents
  @intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12091
12092
12093
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12091

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