/var/www/flurhymez/vendor/google/apiclient-services/src/ApiKeysService/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/ApiKeysService/Resource/Keys.php (1786B)
* $apikeysService = new Google\Service\ApiKeysService(...);
* $keys = $apikeysService->keys;
*
*/
class Keys extends \Google\Service\Resource
{
/**
* Find the parent project and resource name of the API key that matches the key
* string in the request. If the API key has been purged, resource name will not
* be set. The service account must have the `apikeys.keys.lookup` permission on
* the parent project. (keys.lookupKey)
*
* @param array $optParams Optional parameters.
*
* @opt_param string keyString Required. Finds the project that owns the key
* string value.
* @return V2LookupKeyResponse
*/
public function lookupKey($optParams = [])
{
$params = [];
$params = array_merge($params, $optParams);
return $this->call('lookupKey', [$params], V2LookupKeyResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Keys::class, 'Google_Service_ApiKeysService_Resource_Keys');