Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse

Returns a new instance of GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse.



18288
18289
18290
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18288

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

Instance Attribute Details

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

Corresponds to the JSON property intents



18286
18287
18288
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18286

def intents
  @intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18293
18294
18295
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18293

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