Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ExportAgentRequest

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

Overview

The request message for Agents.ExportAgent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ExportAgentRequest

Returns a new instance of GoogleCloudDialogflowV2ExportAgentRequest.



11231
11232
11233
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11231

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

Instance Attribute Details

#agent_uriString

Required. 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)


11229
11230
11231
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11229

def agent_uri
  @agent_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11236
11237
11238
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11236

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