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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<V2ListKeysResponse>
ApiKeysServiceBaseServiceRequest<V2ListKeysResponse>
ProjectsResource.LocationsResource.KeysResource.ListRequest
Implements
Google.Apis.Requests.IClientServiceRequest<V2ListKeysResponse>
Google.Apis.Requests.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
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 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
Google.Apis.Services.IClientService service
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.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
System.Nullable<System.Int32>

PageToken

Optional. Requests a specific page of results.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.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
System.Nullable<System.Boolean>

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.ApiKeysService.v2.ApiKeysServiceBaseServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2ListKeysResponse>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top