Class ManagedFoldersResource.DeleteRequest
Permanently deletes a managed folder.
Inheritance
ManagedFoldersResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Storage.v1
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class ManagedFoldersResource.DeleteRequest : StorageBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string bucket, string managedFolder)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | bucket | |
string | managedFolder |
Properties
AllowNonEmpty
Allows the deletion of a managed folder even if it is not empty. A managed folder is empty if there are no objects or managed folders that it applies to. Callers must have storage.managedFolders.setIamPolicy permission.
Declaration
[RequestParameter("allowNonEmpty", RequestParameterType.Query)]
public virtual bool? AllowNonEmpty { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Bucket
Name of the bucket containing the managed folder.
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
IfMetagenerationMatch
If set, only deletes the managed 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 managed 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? |
ManagedFolder
The managed folder name/path.
Declaration
[RequestParameter("managedFolder", RequestParameterType.Path)]
public virtual string ManagedFolder { get; }
Property Value
Type | Description |
---|---|
string |
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()