Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.KeysResource.ListRequest

Lists the API keys owned by a project. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is global.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<V2ListKeysResponse>
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>
ProjectsResource.LocationsResource.KeysResource.ListRequest
Implements
IClientServiceRequest<V2ListKeysResponse>
IClientServiceRequest
Inherited Members
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.Xgafv
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.AccessToken
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.Alt
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.Callback
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.Fields
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.Key
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.OauthToken
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.PrettyPrint
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.QuotaUser
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.UploadType
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>.UploadProtocol
ClientServiceRequest<V2ListKeysResponse>.Execute()
ClientServiceRequest<V2ListKeysResponse>.ExecuteAsStream()
ClientServiceRequest<V2ListKeysResponse>.ExecuteAsync()
ClientServiceRequest<V2ListKeysResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<V2ListKeysResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<V2ListKeysResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<V2ListKeysResponse>.CreateRequest(bool?)
ClientServiceRequest<V2ListKeysResponse>.GenerateRequestUri()
ClientServiceRequest<V2ListKeysResponse>.GetBody()
ClientServiceRequest<V2ListKeysResponse>.GetDefaultETagAction(string)
ClientServiceRequest<V2ListKeysResponse>.ETagAction
ClientServiceRequest<V2ListKeysResponse>.ModifyRequest
ClientServiceRequest<V2ListKeysResponse>.ValidateParameters
ClientServiceRequest<V2ListKeysResponse>.ApiVersion
ClientServiceRequest<V2ListKeysResponse>.RequestParameters
ClientServiceRequest<V2ListKeysResponse>.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 ProjectsResource.LocationsResource.KeysResource.ListRequest : ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>, IClientServiceRequest<V2ListKeysResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

PageSize

Optional. Specifies the maximum number of results to be returned at a time.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Optional. Requests a specific page of results.

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

Parent

Required. Lists all API keys associated with this project.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

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

ShowDeleted

Optional. Indicate that keys deleted in the past 30 days should also be returned.

Declaration
[RequestParameter("showDeleted", RequestParameterType.Query)]
public virtual bool? ShowDeleted { get; set; }
Property Value
Type Description
bool?

Methods

InitParameters()

Initializes List parameter list.

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

Implements

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