class Keys extends Resource (View source)

The "keys" collection of methods.

Typical usage is:

 $apikeysService = new Google\Service\ApiKeysService(...);
 $keys = $apikeysService->keys;

Methods

lookupKey(array $optParams = [])

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)

Details

V2LookupKeyResponse lookupKey(array $optParams = [])

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)

Parameters

array $optParams

Optional parameters.

Return Value

V2LookupKeyResponse

Exceptions

Exception