Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportToolsRequest

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

Overview

The request message for Tools.ExportTools.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportToolsRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportToolsRequest.



7327
7328
7329
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7327

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

Instance Attribute Details

#data_formatString

Optional. The data format of the exported tools. If not specified, BLOB is assumed. Corresponds to the JSON property dataFormat

Returns:

  • (String)


7303
7304
7305
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7303

def data_format
  @data_format
end

#toolsArray<String>

Required. The name of the tools to export. Format: projects//locations// agents//tools/. Corresponds to the JSON property tools

Returns:

  • (Array<String>)


7309
7310
7311
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7309

def tools
  @tools
end

#tools_content_inlineBoolean Also known as: tools_content_inline?

Optional. The option to return the serialized tools inline. Corresponds to the JSON property toolsContentInline

Returns:

  • (Boolean)


7314
7315
7316
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7314

def tools_content_inline
  @tools_content_inline
end

#tools_uriString

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

Returns:

  • (String)


7325
7326
7327
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7325

def tools_uri
  @tools_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7332
7333
7334
7335
7336
7337
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7332

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