Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportIntentsRequest

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

Overview

The request message for Intents.ImportIntents.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportIntentsRequest

Returns a new instance of GoogleCloudDialogflowCxV3ImportIntentsRequest.



3668
3669
3670
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3668

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

Instance Attribute Details

#intents_contentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3InlineSource

Inline source for a Dialogflow operation that reads or imports objects (e.g. intents) into Dialogflow. Corresponds to the JSON property intentsContent



3651
3652
3653
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3651

def intents_content
  @intents_content
end

#intents_uriString

The Google Cloud Storage URI to import intents from. The format of this URI must be gs:///. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control. Corresponds to the JSON property intentsUri

Returns:

  • (String)


3661
3662
3663
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3661

def intents_uri
  @intents_uri
end

#merge_optionString

Merge option for importing intents. If not specified, REJECT is assumed. Corresponds to the JSON property mergeOption

Returns:

  • (String)


3666
3667
3668
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3666

def merge_option
  @merge_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3673
3674
3675
3676
3677
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3673

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