class LocationsVerifications extends Resource (View source)

The "verifications" collection of methods.

Typical usage is:

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

Methods

complete(string $name, CompleteVerificationRequest $postBody, array $optParams = [])

Completes a PENDING verification. It is only necessary for non AUTO verification methods. AUTO verification request is instantly VERIFIED upon creation. (verifications.complete)

listLocationsVerifications(string $parent, array $optParams = [])

List verifications of a location, ordered by create time.

Details

CompleteVerificationResponse complete(string $name, CompleteVerificationRequest $postBody, array $optParams = [])

Completes a PENDING verification. It is only necessary for non AUTO verification methods. AUTO verification request is instantly VERIFIED upon creation. (verifications.complete)

Parameters

string $name

Required. Resource name of the verification to complete.

CompleteVerificationRequest $postBody
array $optParams

Optional parameters.

Return Value

CompleteVerificationResponse

Exceptions

Exception

ListVerificationsResponse listLocationsVerifications(string $parent, array $optParams = [])

List verifications of a location, ordered by create time.

(verifications.listLocationsVerifications)

Parameters

string $parent

Required. Resource name of the location that verification requests belong to.

array $optParams

Optional parameters.

Return Value

ListVerificationsResponse

Exceptions

Exception