Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

The request message for Agents.ExportAgent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ExportAgentRequest

Returns a new instance of GoogleCloudDialogflowV2beta1ExportAgentRequest.



15021
15022
15023
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15021

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)


15019
15020
15021
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15019

def agent_uri
  @agent_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15026
15027
15028
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 15026

def update!(**args)
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
end