Class ProjectsResource.LocationsResource.RestorePlansResource.RestoresResource.DeleteRequest
Deletes an existing Restore.
Inheritance
ProjectsResource.LocationsResource.RestorePlansResource.RestoresResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RestorePlansResource.RestoresResource.DeleteRequest : BackupforGKEBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, 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
Etag
Optional. If provided, this value must match the current value of the target Restore's etag field or the request is rejected.
Declaration
[RequestParameter("etag", RequestParameterType.Query)]
public virtual string Etag { get; set; }
Property Value
Type | Description |
---|---|
string |
Force
Optional. If set to true, any VolumeRestores below this restore will also be deleted. Otherwise, the request will only succeed if the restore has no VolumeRestores.
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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. Full name of the Restore Format:
projects/*/locations/*/restorePlans/*/restores/*
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
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()