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.



8309
8310
8311
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8309

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

Instance Attribute Details

#intents_contentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource

Corresponds to the JSON property intentsContent



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

def intents_content
  @intents_content
end

#intents_uriString

Corresponds to the JSON property intentsUri

Returns:

  • (String)


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

def intents_uri
  @intents_uri
end

#merge_optionString

Corresponds to the JSON property mergeOption

Returns:

  • (String)


8307
8308
8309
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8307

def merge_option
  @merge_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8314
8315
8316
8317
8318
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8314

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