Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExportAgentRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExportAgentRequest

Returns a new instance of GoogleCloudDialogflowCxV3ExportAgentRequest.



1720
1721
1722
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1720

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)


1706
1707
1708
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1706

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)


1712
1713
1714
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1712

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)


1718
1719
1720
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1718

def environment
  @environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1725
1726
1727
1728
1729
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1725

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)
end