google_api_compute v0.2.0 GoogleApi.Compute.V1.Model.DeprecationStatus View Source

Deprecation status for a public resource.

Attributes

  • deleted (String.t): 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. Defaults to: null.
  • deprecated (String.t): 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. Defaults to: null.
  • obsolete (String.t): 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. Defaults to: null.
  • replacement (String.t): 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. Defaults to: null.
  • state (String.t): The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. 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. Defaults to: null.

    • Enum - one of [DELETED, DEPRECATED, OBSOLETE]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Compute.V1.Model.DeprecationStatus{
  deleted: any(),
  deprecated: any(),
  obsolete: any(),
  replacement: any(),
  state: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.