class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RestoreAgentRequest

The request message for Agents.RestoreAgent.

Attributes

agent_content[RW]

Uncompressed raw byte content for agent. Corresponds to the JSON property `agentContent` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

agent_uri[RW]

The [Google Cloud Storage](cloud.google.com/storage/docs/) URI to restore agent from. The format of this URI must be `gs:///`. Corresponds to the JSON property `agentUri` @return [String]

restore_option[RW]

Agent restore mode. If not specified, `KEEP` is assumed. Corresponds to the JSON property `restoreOption` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 6628
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 6633
def update!(**args)
  @agent_content = args[:agent_content] if args.key?(:agent_content)
  @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
  @restore_option = args[:restore_option] if args.key?(:restore_option)
end