Class FoldersResource.GetRequest
Returns metadata for the specified folder. Only applicable to buckets with hierarchical namespace enabled.
Inheritance
FoldersResource.GetRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class FoldersResource.GetRequest : StorageBaseServiceRequest<Folder>, IClientServiceRequest<Folder>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string bucket, string folder)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | bucket | |
string | folder |
Properties
Bucket
Name of the bucket in which the folder resides.
Declaration
[RequestParameter("bucket", RequestParameterType.Path)]
public virtual string Bucket { get; }
Property Value
Type | Description |
---|---|
string |
Folder
Name of a folder.
Declaration
[RequestParameter("folder", RequestParameterType.Path)]
public virtual string Folder { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Folder>.HttpMethod
IfMetagenerationMatch
Makes the return of the folder metadata conditional on whether the folder's current metageneration matches the given value.
Declaration
[RequestParameter("ifMetagenerationMatch", RequestParameterType.Query)]
public virtual long? IfMetagenerationMatch { get; set; }
Property Value
Type | Description |
---|---|
long? |
IfMetagenerationNotMatch
Makes the return of the folder metadata conditional on whether the folder's current metageneration does not match the given value.
Declaration
[RequestParameter("ifMetagenerationNotMatch", RequestParameterType.Query)]
public virtual long? IfMetagenerationNotMatch { get; set; }
Property Value
Type | Description |
---|---|
long? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Folder>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Storage.v1.Data.Folder>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()