MyBusinessVerifications
import { MyBusinessVerifications } from "https://googleapis.deno.dev/v1/mybusinessverifications:v1.ts";
The My Business Verifications API provides an interface for taking verifications related actions for locations.
class MyBusinessVerifications {}
async locationsFetchVerificationOptions(location: string, req: FetchVerificationOptionsRequest): Promise<FetchVerificationOptionsResponse>;
async locationsVerificationsComplete(name: string, req: CompleteVerificationRequest): Promise<CompleteVerificationResponse>;
async locationsVerificationsList(parent: string, opts?: LocationsVerificationsListOptions): Promise<ListVerificationsResponse>;
§Methods
§
locationsFetchVerificationOptions(location: string, req: FetchVerificationOptionsRequest): Promise<FetchVerificationOptionsResponse>
[src]Reports all eligible verification options for a location in a specific language.
@param location
Required. The location to verify.
§
locationsGetVoiceOfMerchantState(name: string): Promise<VoiceOfMerchantState>
[src]Gets the VoiceOfMerchant state.
@param name
Required. Resource name of the location.
§
locationsVerificationsComplete(name: string, req: CompleteVerificationRequest): Promise<CompleteVerificationResponse>
[src]Completes a PENDING
verification. It is only necessary for non AUTO
verification methods. AUTO
verification request is instantly VERIFIED
upon creation.
@param name
Required. Resource name of the verification to complete.
§
locationsVerificationsList(parent: string, opts?: LocationsVerificationsListOptions): Promise<ListVerificationsResponse>
[src]List verifications of a location, ordered by create time.
@param parent
Required. Resource name of the location that verification requests belong to.