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.



18363
18364
18365
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18363

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

Instance Attribute Details

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

Corresponds to the JSON property intents



18361
18362
18363
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18361

def intents
  @intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18368
18369
18370
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18368

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