* $playintegrityService = new Google\Service\PlayIntegrity(...); * $v1 = $playintegrityService->v1; * */ class V1 extends \Google\Service\Resource { /** * Decodes the integrity token and returns the token payload. * (v1.decodeIntegrityToken) * * @param string $packageName Package name of the app the attached integrity * token belongs to. * @param DecodeIntegrityTokenRequest $postBody * @param array $optParams Optional parameters. * @return DecodeIntegrityTokenResponse */ public function decodeIntegrityToken($packageName, DecodeIntegrityTokenRequest $postBody, $optParams = []) { $params = ['packageName' => $packageName, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('decodeIntegrityToken', [$params], DecodeIntegrityTokenResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(V1::class, 'Google_Service_PlayIntegrity_Resource_V1');