Class: Google::Cloud::Dialogflow::V2::RestoreAgentRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Dialogflow::V2::RestoreAgentRequest
 
 
- Defined in:
 - lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb
 
Overview
The request message for Agents::RestoreAgent.
Instance Attribute Summary collapse
- 
  
    
      #agent_content  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The agent to restore.
 - 
  
    
      #agent_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The URI to a Google Cloud Storage file containing the agent to restore.
 - 
  
    
      #parent  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Attribute Details
#agent_content ⇒ String
Returns The agent to restore.
Example for how to restore an agent via the command line:
curl \
  'https://dialogflow.googleapis.com/v2/projects/
      208  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb', line 208 class RestoreAgentRequest; end  | 
  
#agent_uri ⇒ String
Returns The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with "gs://".
      208  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb', line 208 class RestoreAgentRequest; end  | 
  
#parent ⇒ String
Returns Required. The project that the agent to restore is associated with.
Format: +projects/
      208  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/agent.rb', line 208 class RestoreAgentRequest; end  |