Struct google_compute1::api::DeprecationStatus
source · pub struct DeprecationStatus {
pub deleted: Option<String>,
pub deprecated: Option<String>,
pub obsolete: Option<String>,
pub replacement: Option<String>,
pub state: Option<String>,
}
Expand description
Deprecation status for a public resource.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- deprecate images (request)
Fields§
§deleted: Option<String>
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.
deprecated: Option<String>
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.
obsolete: Option<String>
An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.
replacement: Option<String>
The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.
state: Option<String>
The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.
Trait Implementations§
source§impl Clone for DeprecationStatus
impl Clone for DeprecationStatus
source§fn clone(&self) -> DeprecationStatus
fn clone(&self) -> DeprecationStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more