📄 Source: GenerateInstantVerificationTokenRequest.php
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\MyBusinessVerifications;
class GenerateInstantVerificationTokenRequest extends \Google\Model
{
protected $locationDataType = LocationData::class;
protected $locationDataDataType = '';
/**
* The location identifier associated with an unverified listing. This is the
* location id generated at the time that the listing was originally created.
* It is the final portion of a location resource name as generated by the
* Google My Business API. Note: the caller must be an owner or manager of
* this listing in order to generate a verification token. See the [location
* resource](/my-business/reference/rest/v4/accounts.locations) documentation
* for more information.
*
* @var string
*/
public $locationId;
/**
* Immutable. The address and other details of the location to generate an
* instant verification token for.
*
* @param LocationData $locationData
*/
public function setLocationData(LocationData $locationData)
{
$this->locationData = $locationData;
}
/**
* @return LocationData
*/
public function getLocationData()
{
return $this->locationData;
}
/**
* The location identifier associated with an unverified listing. This is the
* location id generated at the time that the listing was originally created.
* It is the final portion of a location resource name as generated by the
* Google My Business API. Note: the caller must be an owner or manager of
* this listing in order to generate a verification token. See the [location
* resource](/my-business/reference/rest/v4/accounts.locations) documentation
* for more information.
*
* @param string $locationId
*/
public function setLocationId($locationId)
{
$this->locationId = $locationId;
}
/**
* @return string
*/
public function getLocationId()
{
return $this->locationId;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GenerateInstantVerificationTokenRequest::class, 'Google_Service_MyBusinessVerifications_GenerateInstantVerificationTokenRequest');
← Back