class Locations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

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

Methods

fetchVerificationOptions(string $location, FetchVerificationOptionsRequest $postBody, array $optParams = [])

Reports all eligible verification options for a location in a specific language. (locations.fetchVerificationOptions)

getVoiceOfMerchantState(string $name, array $optParams = [])

Gets the VoiceOfMerchant state. (locations.getVoiceOfMerchantState)

verify(string $name, VerifyLocationRequest $postBody, array $optParams = [])

Starts the verification process for a location. (locations.verify)

Details

FetchVerificationOptionsResponse fetchVerificationOptions(string $location, FetchVerificationOptionsRequest $postBody, array $optParams = [])

Reports all eligible verification options for a location in a specific language. (locations.fetchVerificationOptions)

Parameters

string $location

Required. The location to verify.

FetchVerificationOptionsRequest $postBody
array $optParams

Optional parameters.

Return Value

FetchVerificationOptionsResponse

Exceptions

Exception

VoiceOfMerchantState getVoiceOfMerchantState(string $name, array $optParams = [])

Gets the VoiceOfMerchant state. (locations.getVoiceOfMerchantState)

Parameters

string $name

Required. Resource name of the location.

array $optParams

Optional parameters.

Return Value

VoiceOfMerchantState

Exceptions

Exception

VerifyLocationResponse verify(string $name, VerifyLocationRequest $postBody, array $optParams = [])

Starts the verification process for a location. (locations.verify)

Parameters

string $name

Required. Resource name of the location to verify.

VerifyLocationRequest $postBody
array $optParams

Optional parameters.

Return Value

VerifyLocationResponse

Exceptions

Exception