Class BucketsResource.ListRequest
Retrieves a list of buckets for a given project.
Inheritance
System.Object
BucketsResource.ListRequest
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.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 |
---|---|---|
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> |
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()