Class FoldersResource.DeleteRequest
Requests deletion of a Folder. The Folder is moved into the DELETE_REQUESTED state immediately, and is
deleted approximately 30 days later. This method may only be called on an empty Folder in the ACTIVE state,
where a Folder is empty if it doesn't contain any Folders or Projects in the ACTIVE state. The caller must
have resourcemanager.folders.delete
permission on the identified folder.
Inheritance
FoldersResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v2
Assembly: Google.Apis.CloudResourceManager.v2.dll
Syntax
public class FoldersResource.DeleteRequest : CloudResourceManagerBaseServiceRequest<Folder>, IClientServiceRequest<Folder>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v2.Data.Folder>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v2.Data.Folder>.MethodName
Name
Required. the resource name of the Folder to be deleted. Must be of the form folders/{folder_id}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v2.Data.Folder>.RestPath
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()