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

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 {
constructor(client?: CredentialsClient, baseUrl?: string);
async locationsFetchVerificationOptions(location: string, req: FetchVerificationOptionsRequest): Promise<FetchVerificationOptionsResponse>;
async locationsGetVoiceOfMerchantState(name: string): Promise<VoiceOfMerchantState>;
async locationsVerificationsComplete(name: string, req: CompleteVerificationRequest): Promise<CompleteVerificationResponse>;
async locationsVerificationsList(parent: string, opts?: LocationsVerificationsListOptions): Promise<ListVerificationsResponse>;
async locationsVerify(name: string, req: VerifyLocationRequest): Promise<VerifyLocationResponse>;
}

§Constructors

§
new MyBusinessVerifications(client?: CredentialsClient, baseUrl?: string)
[src]

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

§
locationsVerify(name: string, req: VerifyLocationRequest): Promise<VerifyLocationResponse>
[src]

Starts the verification process for a location.

@param name

Required. Resource name of the location to verify.