View Source GoogleApi.MyBusinessVerifications.V1.Model.VerificationOption (google_api_my_business_verifications v0.5.0)

The verification option represents how to verify the location (indicated by verification method) and where the verification will be sent to (indicated by display data).

Attributes

  • addressData (type: GoogleApi.MyBusinessVerifications.V1.Model.AddressVerificationData.t, default: nil) - Set only if the method is MAIL.
  • announcement (type: String.t, default: nil) - Set only if the method is VETTED_PARTNER.
  • emailData (type: GoogleApi.MyBusinessVerifications.V1.Model.EmailVerificationData.t, default: nil) - Set only if the method is EMAIL.
  • phoneNumber (type: String.t, default: nil) - Set only if the method is PHONE_CALL or SMS. Phone number that the PIN will be sent to.
  • verificationMethod (type: String.t, default: nil) - Method to verify the location.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.MyBusinessVerifications.V1.Model.VerificationOption{
  addressData:
    GoogleApi.MyBusinessVerifications.V1.Model.AddressVerificationData.t() | nil,
  announcement: String.t() | nil,
  emailData:
    GoogleApi.MyBusinessVerifications.V1.Model.EmailVerificationData.t() | nil,
  phoneNumber: String.t() | nil,
  verificationMethod: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.