Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportIntentsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportIntentsRequest
- 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.ExportIntents.
Instance Attribute Summary collapse
-
#data_format ⇒ String
Optional.
-
#intents ⇒ Array<String>
Required.
-
#intents_content_inline ⇒ Boolean
(also: #intents_content_inline?)
Optional.
-
#intents_uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportIntentsRequest
constructor
A new instance of GoogleCloudDialogflowCxV3ExportIntentsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportIntentsRequest
Returns a new instance of GoogleCloudDialogflowCxV3ExportIntentsRequest.
2296 2297 2298 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_format ⇒ String
Optional. The data format of the exported intents. If not specified, BLOB
is
assumed.
Corresponds to the JSON property dataFormat
2272 2273 2274 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2272 def data_format @data_format end |
#intents ⇒ Array<String>
Required. The name of the intents to export. Format: projects//locations//
agents//intents/
.
Corresponds to the JSON property intents
2278 2279 2280 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2278 def intents @intents end |
#intents_content_inline ⇒ Boolean Also known as: intents_content_inline?
Optional. The option to return the serialized intents inline.
Corresponds to the JSON property intentsContentInline
2283 2284 2285 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2283 def intents_content_inline @intents_content_inline end |
#intents_uri ⇒ String
Optional. The Google Cloud Storage
URI to export the intents to. The format of this URI must be gs:///
.
Dialogflow performs a write operation for the Cloud Storage object on the
caller's behalf, so your request authentication must have write permissions
for the object. For more information, see Dialogflow access control.
Corresponds to the JSON property intentsUri
2294 2295 2296 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2294 def intents_uri @intents_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2301 2302 2303 2304 2305 2306 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2301 def update!(**args) @data_format = args[:data_format] if args.key?(:data_format) @intents = args[:intents] if args.key?(:intents) @intents_content_inline = args[:intents_content_inline] if args.key?(:intents_content_inline) @intents_uri = args[:intents_uri] if args.key?(:intents_uri) end |