Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequest
- 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 Agents.ExportAgent.
Instance Attribute Summary collapse
-
#agent_uri ⇒ String
Optional.
-
#data_format ⇒ String
Optional.
-
#environment ⇒ String
Optional.
-
#git_destination ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
Settings for exporting to a git branch.
-
#include_bigquery_export_settings ⇒ Boolean
(also: #include_bigquery_export_settings?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportAgentRequest
constructor
A new instance of GoogleCloudDialogflowCxV3ExportAgentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportAgentRequest
Returns a new instance of GoogleCloudDialogflowCxV3ExportAgentRequest.
2124 2125 2126 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_uri ⇒ String
Optional. The Google Cloud Storage
URI to export the agent to. The format of this URI must be gs:///
. If left
unspecified, the serialized agent is returned inline. 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 agentUri
2099 2100 2101 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2099 def agent_uri @agent_uri end |
#data_format ⇒ String
Optional. The data format of the exported agent. If not specified, BLOB
is
assumed.
Corresponds to the JSON property dataFormat
2105 2106 2107 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2105 def data_format @data_format end |
#environment ⇒ String
Optional. Environment name. If not set, draft environment is assumed. Format:
projects//locations//agents//environments/
.
Corresponds to the JSON property environment
2111 2112 2113 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2111 def environment @environment end |
#git_destination ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
Settings for exporting to a git branch.
Corresponds to the JSON property gitDestination
2116 2117 2118 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2116 def git_destination @git_destination end |
#include_bigquery_export_settings ⇒ Boolean Also known as: include_bigquery_export_settings?
Optional. Whether to include BigQuery Export setting.
Corresponds to the JSON property includeBigqueryExportSettings
2121 2122 2123 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2121 def include_bigquery_export_settings @include_bigquery_export_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2129 2130 2131 2132 2133 2134 2135 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2129 def update!(**args) @agent_uri = args[:agent_uri] if args.key?(:agent_uri) @data_format = args[:data_format] if args.key?(:data_format) @environment = args[:environment] if args.key?(:environment) @git_destination = args[:git_destination] if args.key?(:git_destination) @include_bigquery_export_settings = args[:include_bigquery_export_settings] if args.key?(:include_bigquery_export_settings) end |