Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

VerificationOption

import type { VerificationOption } from "https://googleapis.deno.dev/v1/mybusinessverifications:v1.ts";

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).

interface VerificationOption {
announcement?: string;
phoneNumber?: string;
verificationMethod?:
| "VERIFICATION_METHOD_UNSPECIFIED"
| "ADDRESS"
| "EMAIL"
| "PHONE_CALL"
| "SMS"
| "AUTO"
| "VETTED_PARTNER";
}

§Properties

§

Set only if the method is MAIL.

§
announcement?: string
[src]

Set only if the method is VETTED_PARTNER.

§

Set only if the method is EMAIL.

§
phoneNumber?: string
[src]

Set only if the method is PHONE_CALL or SMS. Phone number that the PIN will be sent to.

§
verificationMethod?: "VERIFICATION_METHOD_UNSPECIFIED" | "ADDRESS" | "EMAIL" | "PHONE_CALL" | "SMS" | "AUTO" | "VETTED_PARTNER"
[src]

Method to verify the location.