Class ProjectsResource.LocationsResource.PrivateCloudsResource.UndeleteRequest
Restores a private cloud that was previously scheduled for deletion by DeletePrivateCloud
. A
PrivateCloud
resource scheduled for deletion has PrivateCloud.state
set to DELETED
and
PrivateCloud.expireTime
set to the time when deletion can no longer be reversed.
Inheritance
ProjectsResource.LocationsResource.PrivateCloudsResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PrivateCloudsResource.UndeleteRequest : VMwareEngineBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, UndeletePrivateCloudRequest, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, UndeletePrivateCloudRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
UndeletePrivateCloudRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The resource name of the private cloud scheduled for deletion. Resource names are
schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Undelete parameter list.
Declaration
protected override void InitParameters()