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.v1beta2
Assembly: Google.Apis.Storage.v1beta2.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.v1beta2.Data.Buckets>.HttpMethod
MaxResults
Maximum number of buckets to return.
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.v1beta2.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 |
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.v1beta2.Data.Buckets>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Storage.v1beta2.StorageBaseServiceRequest<Google.Apis.Storage.v1beta2.Data.Buckets>.InitParameters()