google_api_partners v0.1.0 GoogleApi.Partners.V2.Model.CreateLeadRequest View Source

Request message for CreateLead.

Attributes

  • lead (Lead): The lead resource. The `LeadType` must not be `LEAD_TYPE_UNSPECIFIED` and either `email` or `phone_number` must be provided. Defaults to: null.
  • recaptchaChallenge (RecaptchaChallenge): <a href="https://www.google.com/recaptcha/">reCaptcha</a> challenge info. Defaults to: null.
  • requestMetadata (RequestMetadata): Current request metadata. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Partners.V2.Model.CreateLeadRequest{
  lead: GoogleApi.Partners.V2.Model.Lead.t(),
  recaptchaChallenge: GoogleApi.Partners.V2.Model.RecaptchaChallenge.t(),
  requestMetadata: GoogleApi.Partners.V2.Model.RequestMetadata.t()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.