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.
2126 2127 2128 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2126 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
2101 2102 2103 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2101 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
2107 2108 2109 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2107 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
2113 2114 2115 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2113 def environment @environment end |
#git_destination ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
Settings for exporting to a git branch.
Corresponds to the JSON property gitDestination
2118 2119 2120 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2118 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
2123 2124 2125 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2123 def include_bigquery_export_settings @include_bigquery_export_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2131 2132 2133 2134 2135 2136 2137 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2131 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 |