Show / Hide Table of Contents

Class KeysResource.LookupKeyRequest

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.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<V2LookupKeyResponse>
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>
KeysResource.LookupKeyRequest
Implements
IClientServiceRequest<V2LookupKeyResponse>
IClientServiceRequest
Inherited Members
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.Xgafv
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.AccessToken
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.Alt
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.Callback
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.Fields
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.Key
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.OauthToken
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.PrettyPrint
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.QuotaUser
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.UploadType
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.UploadProtocol
ClientServiceRequest<V2LookupKeyResponse>.Execute()
ClientServiceRequest<V2LookupKeyResponse>.ExecuteAsStream()
ClientServiceRequest<V2LookupKeyResponse>.ExecuteAsync()
ClientServiceRequest<V2LookupKeyResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<V2LookupKeyResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<V2LookupKeyResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<V2LookupKeyResponse>.CreateRequest(bool?)
ClientServiceRequest<V2LookupKeyResponse>.GenerateRequestUri()
ClientServiceRequest<V2LookupKeyResponse>.GetBody()
ClientServiceRequest<V2LookupKeyResponse>.GetDefaultETagAction(string)
ClientServiceRequest<V2LookupKeyResponse>.ETagAction
ClientServiceRequest<V2LookupKeyResponse>.ModifyRequest
ClientServiceRequest<V2LookupKeyResponse>.ValidateParameters
ClientServiceRequest<V2LookupKeyResponse>.ApiVersion
ClientServiceRequest<V2LookupKeyResponse>.RequestParameters
ClientServiceRequest<V2LookupKeyResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ApiKeysService.v2
Assembly: Google.Apis.ApiKeysService.v2.dll
Syntax
public class KeysResource.LookupKeyRequest : ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>, IClientServiceRequest<V2LookupKeyResponse>, IClientServiceRequest

Constructors

LookupKeyRequest(IClientService)

Constructs a new LookupKey request.

Declaration
public LookupKeyRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<V2LookupKeyResponse>.HttpMethod

KeyString

Required. Finds the project that owns the key string value.

Declaration
[RequestParameter("keyString", RequestParameterType.Query)]
public virtual string KeyString { get; set; }
Property Value
Type Description
string

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<V2LookupKeyResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<V2LookupKeyResponse>.RestPath

Methods

InitParameters()

Initializes LookupKey parameter list.

Declaration
protected override void InitParameters()
Overrides
ApiKeysServiceBaseServiceRequest<V2LookupKeyResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX