Class KeysResource
The "keys" collection of methods.
Inherited Members
Namespace: Google.Apis.ApiKeysService.v2
Assembly: Google.Apis.ApiKeysService.v2.dll
Syntax
public class KeysResource
Constructors
KeysResource(IClientService)
Constructs a new resource.
Declaration
public KeysResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
LookupKey()
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.
Declaration
public virtual KeysResource.LookupKeyRequest LookupKey()
Returns
Type | Description |
---|---|
KeysResource.LookupKeyRequest |