Share via


SoftDeletion interface

Soft-deletion state

Properties

destroyed

If false, the resource is active; if true, the resource has been destroyed; resources can be soft-deleted by setting destroyed to true, and recovered by setting it to false

eradicationTimestamp

Date at which the resource will be eradicated and impossible to recover, as an RFC 3339 timestamp; invalid if destroyed is false;

Property Details

destroyed

If false, the resource is active; if true, the resource has been destroyed; resources can be soft-deleted by setting destroyed to true, and recovered by setting it to false

destroyed: boolean

Property Value

boolean

eradicationTimestamp

Date at which the resource will be eradicated and impossible to recover, as an RFC 3339 timestamp; invalid if destroyed is false;

eradicationTimestamp?: string

Property Value

string