Class: Google::Apis::PartnersV2::RecaptchaChallenge
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PartnersV2::RecaptchaChallenge
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
 generated/google/apis/partners_v2/representations.rb,
 generated/google/apis/partners_v2/representations.rb
Overview
reCaptcha challenge info.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the reCaptcha challenge. 
- 
  
    
      #response  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The response to the reCaptcha challenge. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RecaptchaChallenge 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RecaptchaChallenge. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RecaptchaChallenge
Returns a new instance of RecaptchaChallenge
| 1888 1889 1890 | # File 'generated/google/apis/partners_v2/classes.rb', line 1888 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
The ID of the reCaptcha challenge.
Corresponds to the JSON property id
| 1881 1882 1883 | # File 'generated/google/apis/partners_v2/classes.rb', line 1881 def id @id end | 
#response ⇒ String
The response to the reCaptcha challenge.
Corresponds to the JSON property response
| 1886 1887 1888 | # File 'generated/google/apis/partners_v2/classes.rb', line 1886 def response @response end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1893 1894 1895 1896 | # File 'generated/google/apis/partners_v2/classes.rb', line 1893 def update!(**args) @id = args[:id] if args.key?(:id) @response = args[:response] if args.key?(:response) end |