Class FoldersResource.DeleteRequest
Permanently deletes a folder. Only applicable to buckets with hierarchical namespace enabled.
Inheritance
FoldersResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class FoldersResource.DeleteRequest : StorageBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(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
IfMetagenerationMatch
If set, only deletes the folder if its metageneration matches this value.
Declaration
[RequestParameter("ifMetagenerationMatch", RequestParameterType.Query)]
public virtual long? IfMetagenerationMatch { get; set; }
Property Value
Type | Description |
---|---|
long? |
IfMetagenerationNotMatch
If set, only deletes the folder if its metageneration does not match this 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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()