Show / Hide Table of Contents

Class ProjectsResource.UndeleteRequest

Restores the Project identified by the specified project_id (for example, my-project-123). You can only use this method for a Project that has a lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot be restored. The caller must have undelete permissions for this Project.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Empty>
CloudResourceManagerBaseServiceRequest<Empty>
ProjectsResource.UndeleteRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
CloudResourceManagerBaseServiceRequest<Empty>.Xgafv
CloudResourceManagerBaseServiceRequest<Empty>.AccessToken
CloudResourceManagerBaseServiceRequest<Empty>.Alt
CloudResourceManagerBaseServiceRequest<Empty>.Callback
CloudResourceManagerBaseServiceRequest<Empty>.Fields
CloudResourceManagerBaseServiceRequest<Empty>.Key
CloudResourceManagerBaseServiceRequest<Empty>.OauthToken
CloudResourceManagerBaseServiceRequest<Empty>.PrettyPrint
CloudResourceManagerBaseServiceRequest<Empty>.QuotaUser
CloudResourceManagerBaseServiceRequest<Empty>.UploadType
CloudResourceManagerBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetDefaultETagAction(String)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudResourceManager.v1
Assembly: Google.Apis.CloudResourceManager.v1.dll
Syntax
public class UndeleteRequest : CloudResourceManagerBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

UndeleteRequest(IClientService, UndeleteProjectRequest, String)

Constructs a new Undelete request.

Declaration
public UndeleteRequest(IClientService service, UndeleteProjectRequest body, string projectId)
Parameters
Type Name Description
IClientService service
UndeleteProjectRequest body
System.String projectId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.Empty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.Empty>.MethodName

ProjectId

Required. The project ID (for example, foo-bar-123).

Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.Empty>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v1.Data.Empty>.GetBody()

InitParameters()

Initializes Undelete parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudResourceManager.v1.CloudResourceManagerBaseServiceRequest<Google.Apis.CloudResourceManager.v1.Data.Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top