Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportToolsRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportToolsRequest
- 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 Tools.ExportTools.
Instance Attribute Summary collapse
-
#data_format ⇒ String
Optional.
-
#tools ⇒ Array<String>
Required.
-
#tools_content_inline ⇒ Boolean
(also: #tools_content_inline?)
Optional.
-
#tools_uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportToolsRequest
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ExportToolsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportToolsRequest
Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportToolsRequest.
7289 7290 7291 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7289 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_format ⇒ String
Optional. The data format of the exported tools. If not specified, BLOB is
assumed.
Corresponds to the JSON property dataFormat
7265 7266 7267 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7265 def data_format @data_format end |
#tools ⇒ Array<String>
Required. The name of the tools to export. Format: projects//locations//
agents//tools/.
Corresponds to the JSON property tools
7271 7272 7273 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7271 def tools @tools end |
#tools_content_inline ⇒ Boolean Also known as: tools_content_inline?
Optional. The option to return the serialized tools inline.
Corresponds to the JSON property toolsContentInline
7276 7277 7278 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7276 def tools_content_inline @tools_content_inline end |
#tools_uri ⇒ String
Optional. The Google Cloud Storage
URI to export the tools 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 toolsUri
7287 7288 7289 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7287 def tools_uri @tools_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7294 7295 7296 7297 7298 7299 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7294 def update!(**args) @data_format = args[:data_format] if args.key?(:data_format) @tools = args[:tools] if args.key?(:tools) @tools_content_inline = args[:tools_content_inline] if args.key?(:tools_content_inline) @tools_uri = args[:tools_uri] if args.key?(:tools_uri) end |