Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ImportIntentsRequest
- 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
Overview
The request message for Intents.ImportIntents.
Instance Attribute Summary collapse
-
#intents_content ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource
Inline source for a Dialogflow operation that reads or imports objects (e.g. intents) into Dialogflow.
-
#intents_uri ⇒ String
The Google Cloud Storage URI to import intents from.
-
#merge_option ⇒ String
Merge option for importing intents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportIntentsRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ImportIntentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ImportIntentsRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1ImportIntentsRequest.
8564 8565 8566 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8564 def initialize(**args) update!(**args) end |
Instance Attribute Details
#intents_content ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1InlineSource
Inline source for a Dialogflow operation that reads or imports objects (e.g.
intents) into Dialogflow.
Corresponds to the JSON property intentsContent
8547 8548 8549 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8547 def intents_content @intents_content end |
#intents_uri ⇒ String
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
8557 8558 8559 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8557 def intents_uri @intents_uri end |
#merge_option ⇒ String
Merge option for importing intents. If not specified, REJECT
is assumed.
Corresponds to the JSON property mergeOption
8562 8563 8564 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8562 def merge_option @merge_option end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8569 8570 8571 8572 8573 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8569 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 |