Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportIntentsRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ImportIntentsRequest.



8297
8298
8299
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8297

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

Instance Attribute Details

#intents_contentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource

Corresponds to the JSON property intentsContent



8285
8286
8287
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8285

def intents_content
  @intents_content
end

#intents_uriString

Corresponds to the JSON property intentsUri

Returns:

  • (String)


8290
8291
8292
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8290

def intents_uri
  @intents_uri
end

#merge_optionString

Corresponds to the JSON property mergeOption

Returns:

  • (String)


8295
8296
8297
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8295

def merge_option
  @merge_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8302
8303
8304
8305
8306
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8302

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