Class BucketsResource.GetStorageLayoutRequest
Returns the storage layout configuration for the specified bucket. Note that this operation requires storage.objects.list permission.
Inheritance
BucketsResource.GetStorageLayoutRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class BucketsResource.GetStorageLayoutRequest : StorageBaseServiceRequest<BucketStorageLayout>, IClientServiceRequest<BucketStorageLayout>, IClientServiceRequest
Constructors
GetStorageLayoutRequest(IClientService, string)
Constructs a new GetStorageLayout request.
Declaration
public GetStorageLayoutRequest(IClientService service, string bucket)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | bucket |
Properties
Bucket
Name of a bucket.
Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Prefix
An optional prefix used for permission check. It is useful when the caller only has storage.objects.list permission under a specific prefix.
Declaration
[RequestParameter("prefix", RequestParameterType.Query)]
public virtual string Prefix { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetStorageLayout parameter list.
Declaration
protected override void InitParameters()