class Google::Apis::PartnersV2::CreateLeadResponse
Response message for CreateLead. Debug information about this request.
Attributes
lead[RW]
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` @return [Google::Apis::PartnersV2::Lead]
recaptcha_status[RW]
The outcome of reCaptcha validation. Corresponds to the JSON property `recaptchaStatus` @return [String]
response_metadata[RW]
Common data that is in each API response. Corresponds to the JSON property `responseMetadata` @return [Google::Apis::PartnersV2::ResponseMetadata]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/partners_v2/classes.rb, line 929 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/partners_v2/classes.rb, line 934 def update!(**args) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) @lead = args[:lead] if args.key?(:lead) @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) end