From c0360d2ba87d2f2b5955c70c346d4eb36e2868bd Mon Sep 17 00:00:00 2001
From: Marko Antolovic
+ * $mybusinessService = new Google_Service_MyBusiness(...);
+ * $verificationTokens = $mybusinessService->verificationTokens;
+ *
+ */
+class Google_Service_MyBusiness_VerificationTokens_Resource extends Google_Service_Resource
+{
+
+ /**
+ * 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)
+ *
+ * @param Google_GenerateVerificationTokenRequest $postBody
+ * @param array $optParams Optional parameters.
+ * @return Google_Service_MyBusiness_GenerateVerificationTokenResponse
+ */
+ public function generate(Google_Service_MyBusiness_GenerateVerificationTokenRequest $postBody, $optParams = array())
+ {
+ $params = array('postBody' => $postBody);
+ $params = array_merge($params, $optParams);
+ return $this->call('generate', array($params), "Google_Service_MyBusiness_GenerateVerificationTokenResponse");
+ }
+}
+
@@ -2713,6 +2756,7 @@ class Google_Service_MyBusiness_AccountState extends Google_Model
protected $internal_gapi_mappings = array(
);
public $status;
+ public $vettedStatus;
public function setStatus($status)
@@ -2723,6 +2767,14 @@ public function getStatus()
{
return $this->status;
}
+ public function setVettedStatus($vettedStatus)
+ {
+ $this->vettedStatus = $vettedStatus;
+ }
+ public function getVettedStatus()
+ {
+ return $this->vettedStatus;
+ }
}
class Google_Service_MyBusiness_AdWordsLocationExtensions extends Google_Model
@@ -3845,6 +3897,42 @@ class Google_Service_MyBusiness_GenerateAccountNumberRequest extends Google_Mode
{
}
+class Google_Service_MyBusiness_GenerateVerificationTokenRequest extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $locationType = 'Google_Service_MyBusiness_Location';
+ protected $locationDataType = '';
+
+
+ public function setLocation(Google_Service_MyBusiness_Location $location)
+ {
+ $this->location = $location;
+ }
+ public function getLocation()
+ {
+ return $this->location;
+ }
+}
+
+class Google_Service_MyBusiness_GenerateVerificationTokenResponse extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $tokenType = 'Google_Service_MyBusiness_VerificationToken';
+ protected $tokenDataType = '';
+
+
+ public function setToken(Google_Service_MyBusiness_VerificationToken $token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}
+
class Google_Service_MyBusiness_GoogleLocation extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -7180,6 +7268,23 @@ public function getVerificationMethod()
}
}
+class Google_Service_MyBusiness_VerificationToken extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ public $tokenString;
+
+
+ public function setTokenString($tokenString)
+ {
+ $this->tokenString = $tokenString;
+ }
+ public function getTokenString()
+ {
+ return $this->tokenString;
+ }
+}
+
class Google_Service_MyBusiness_VerifyLocationRequest extends Google_Model
{
protected $internal_gapi_mappings = array(
@@ -7194,6 +7299,8 @@ class Google_Service_MyBusiness_VerifyLocationRequest extends Google_Model
public $method;
protected $phoneInputType = 'Google_Service_MyBusiness_PhoneInput';
protected $phoneInputDataType = '';
+ protected $vettedPartnerInputType = 'Google_Service_MyBusiness_VettedPartnerInput';
+ protected $vettedPartnerInputDataType = '';
public function setAddressInput(Google_Service_MyBusiness_AddressInput $addressInput)
@@ -7244,6 +7351,14 @@ public function getPhoneInput()
{
return $this->phoneInput;
}
+ public function setVettedPartnerInput(Google_Service_MyBusiness_VettedPartnerInput $vettedPartnerInput)
+ {
+ $this->vettedPartnerInput = $vettedPartnerInput;
+ }
+ public function getVettedPartnerInput()
+ {
+ return $this->vettedPartnerInput;
+ }
}
class Google_Service_MyBusiness_VerifyLocationResponse extends Google_Model
@@ -7263,3 +7378,21 @@ public function getVerification()
return $this->verification;
}
}
+
+class Google_Service_MyBusiness_VettedPartnerInput extends Google_Model
+{
+ protected $internal_gapi_mappings = array(
+ );
+ protected $tokenType = 'Google_Service_MyBusiness_VerificationToken';
+ protected $tokenDataType = '';
+
+
+ public function setToken(Google_Service_MyBusiness_VerificationToken $token)
+ {
+ $this->token = $token;
+ }
+ public function getToken()
+ {
+ return $this->token;
+ }
+}