Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportAgentRequest

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 Agents.ExportAgent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExportAgentRequest

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExportAgentRequest.



7583
7584
7585
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7583

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

Instance Attribute Details

#agent_uriString

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

Returns:

  • (String)


7558
7559
7560
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7558

def agent_uri
  @agent_uri
end

#data_formatString

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

Returns:

  • (String)


7564
7565
7566
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7564

def data_format
  @data_format
end

#environmentString

Optional. Environment name. If not set, draft environment is assumed. Format: projects//locations//agents//environments/. Corresponds to the JSON property environment

Returns:

  • (String)


7570
7571
7572
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7570

def environment
  @environment
end

#git_destinationGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExportAgentRequestGitDestination

Settings for exporting to a git branch. Corresponds to the JSON property gitDestination



7575
7576
7577
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7575

def git_destination
  @git_destination
end

#include_bigquery_export_settingsBoolean Also known as: include_bigquery_export_settings?

Optional. Whether to include BigQuery Export setting. Corresponds to the JSON property includeBigqueryExportSettings

Returns:

  • (Boolean)


7580
7581
7582
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7580

def include_bigquery_export_settings
  @include_bigquery_export_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7588
7589
7590
7591
7592
7593
7594
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7588

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