Class BucketsResource.ListRequest
Retrieves a list of buckets for a given project.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Buckets>
BucketsResource.ListRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Buckets>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.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.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ListRequest : StorageBaseServiceRequest<Buckets>, IClientServiceRequest<Buckets>, IClientServiceRequest
Constructors
ListRequest(IClientService, String)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string project)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
System.String | project |
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.Storage.v1.Data.Buckets>.HttpMethod
MaxResults
Maximum number of buckets to return in a single response. The service will use this parameter or 1,000 items, whichever is smaller.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.MethodName
PageToken
A previously-returned page token representing part of the larger set of results to view.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Prefix
Filter results to buckets whose names begin with this prefix.
Declaration
[RequestParameter("prefix", RequestParameterType.Query)]
public virtual string Prefix { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Project
A valid API project identifier.
Declaration
[RequestParameter("project", RequestParameterType.Query)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
System.String |
Projection
Set of properties to return. Defaults to noAcl.
Declaration
[RequestParameter("projection", RequestParameterType.Query)]
public virtual BucketsResource.ListRequest.ProjectionEnum? Projection { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<BucketsResource.ListRequest.ProjectionEnum> |
ProvisionalUserProject
The project to be billed for this request if the target bucket is requester-pays bucket.
Declaration
[RequestParameter("provisionalUserProject", RequestParameterType.Query)]
public virtual string ProvisionalUserProject { get; set; }
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.Storage.v1.Data.Buckets>.RestPath
UserProject
The project to be billed for this request.
Declaration
[RequestParameter("userProject", RequestParameterType.Query)]
public virtual string UserProject { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Storage.v1.StorageBaseServiceRequest<Google.Apis.Storage.v1.Data.Buckets>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest