Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2/classes.rb,
 generated/google/apis/dialogflow_v2/representations.rb,
 generated/google/apis/dialogflow_v2/representations.rb
Overview
Represents the contents of the original request that was passed to
the [Streaming]DetectIntent call.
Instance Attribute Summary collapse
- 
  
    
      #payload  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #source  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The source of this request, e.g., google,facebook,slack.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
Returns a new instance of GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
| 3591 3592 3593 | # File 'generated/google/apis/dialogflow_v2/classes.rb', line 3591 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#payload ⇒ Hash<String,Object>
Optional. This field is set to the value of QueryParameters.payload field
passed in the request.
Corresponds to the JSON property payload
| 3583 3584 3585 | # File 'generated/google/apis/dialogflow_v2/classes.rb', line 3583 def payload @payload end | 
#source ⇒ String
The source of this request, e.g., google, facebook, slack. It is set
by Dialogflow-owned servers.
Corresponds to the JSON property source
| 3589 3590 3591 | # File 'generated/google/apis/dialogflow_v2/classes.rb', line 3589 def source @source end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3596 3597 3598 3599 | # File 'generated/google/apis/dialogflow_v2/classes.rb', line 3596 def update!(**args) @payload = args[:payload] if args.key?(:payload) @source = args[:source] if args.key?(:source) end |