Class: Google::Apis::PartnersV2::CreateLeadResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::PartnersV2::CreateLeadResponse
 
 
- 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
Response message for CreateLead.
Instance Attribute Summary collapse
- 
  
    
      #lead  ⇒ Google::Apis::PartnersV2::Lead 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A lead resource that represents an advertiser contact for a
Company. - 
  
    
      #recaptcha_status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The outcome of reCaptcha validation.
 - 
  
    
      #response_metadata  ⇒ Google::Apis::PartnersV2::ResponseMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Common data that is in each API response.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreateLeadResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CreateLeadResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateLeadResponse
Returns a new instance of CreateLeadResponse
      730 731 732  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 730 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#lead ⇒ Google::Apis::PartnersV2::Lead
A lead resource that represents an advertiser contact for a Company. These
are usually generated via Google Partner Search (the advertiser portal).
Corresponds to the JSON property lead
      717 718 719  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 717 def lead @lead end  | 
  
#recaptcha_status ⇒ String
The outcome of reCaptcha
validation.
Corresponds to the JSON property recaptchaStatus
      723 724 725  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 723 def recaptcha_status @recaptcha_status end  | 
  
#response_metadata ⇒ Google::Apis::PartnersV2::ResponseMetadata
Common data that is in each API response.
Corresponds to the JSON property responseMetadata
      728 729 730  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 728 def @response_metadata end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      735 736 737 738 739  | 
    
      # File 'generated/google/apis/partners_v2/classes.rb', line 735 def update!(**args) @lead = args[:lead] if args.key?(:lead) @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) end  |