class VerificationTokens extends Resource (View source)

The "verificationTokens" collection of methods.

Typical usage is:

 $mybusinessverificationsService = new Google\Service\MyBusinessVerifications(...);
 $verificationTokens = $mybusinessverificationsService->verificationTokens;

Methods

generate(GenerateVerificationTokenRequest $postBody, array $optParams = [])

Generates a token for the provided location data as a vetted partner. Throws PERMISSION_DENIED if the caller is not a vetted partner account. Throws FAILED_PRECONDITION if the caller's VettedStatus is INVALID.

Details

GenerateVerificationTokenResponse generate(GenerateVerificationTokenRequest $postBody, array $optParams = [])

Generates a token for the provided location data as a vetted partner. Throws PERMISSION_DENIED if the caller is not a vetted partner account. Throws FAILED_PRECONDITION if the caller's VettedStatus is INVALID.

(verificationTokens.generate)

Parameters

GenerateVerificationTokenRequest $postBody
array $optParams

Optional parameters.

Return Value

GenerateVerificationTokenResponse