Show / Hide Table of Contents

Class KeysResource

The "keys" collection of methods.

Inheritance
System.Object
KeysResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
Google.Apis.Services.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
In This Article
Back to top