Class: Google::Cloud::Dialogflow::V2::CreateIntentRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::Dialogflow::V2::CreateIntentRequest
 
 
- Defined in:
 - lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb
 
Overview
The request message for Intents::CreateIntent.
Instance Attribute Summary collapse
- 
  
    
      #intent  ⇒ Google::Cloud::Dialogflow::V2::Intent 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #intent_view  ⇒ Google::Cloud::Dialogflow::V2::IntentView 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #language_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #parent  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Attribute Details
#intent ⇒ Google::Cloud::Dialogflow::V2::Intent
Returns Required. The intent to create.
      621  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 621 class CreateIntentRequest; end  | 
  
#intent_view ⇒ Google::Cloud::Dialogflow::V2::IntentView
Returns Optional. The resource view to apply to the returned intent.
      621  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 621 class CreateIntentRequest; end  | 
  
#language_code ⇒ String
Returns Optional. The language of training phrases, parameters and rich messages defined in +intent+. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent, before they can be used.
      621  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 621 class CreateIntentRequest; end  | 
  
#parent ⇒ String
Returns Required. The agent to create a intent for.
Format: +projects/
      621  | 
    
      # File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 621 class CreateIntentRequest; end  |