Class FoldersResource.UndeleteRequest
Cancels the deletion request for a folder. This method may be called on a folder in any state. If the folder
is in the ACTIVE state the result will be a no-op success. In order to succeed, the folder's parent must be
in the ACTIVE state. In addition, reintroducing the folder into the tree must not violate folder naming,
height, and fanout constraints described in the CreateFolder documentation. The caller must have
resourcemanager.folders.undelete
permission on the identified folder.
Inheritance
FoldersResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class FoldersResource.UndeleteRequest : CloudResourceManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, UndeleteFolderRequest, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, UndeleteFolderRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UndeleteFolderRequest | body | |
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.v3.Data.Operation>.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.v3.Data.Operation>.MethodName
Name
Required. The resource name of the folder to undelete. 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.v3.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.Operation>.GetBody()
InitParameters()
Initializes Undelete parameter list.
Declaration
protected override void InitParameters()