#include <deprecation_status.h>
Deprecation status for a public resource.
◆ DeprecationStatus() [1/2]
google_compute_api::DeprecationStatus::DeprecationStatus |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ DeprecationStatus() [2/2]
google_compute_api::DeprecationStatus::DeprecationStatus |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~DeprecationStatus()
google_compute_api::DeprecationStatus::~DeprecationStatus |
( |
| ) |
|
|
virtual |
◆ clear_deleted()
void google_compute_api::DeprecationStatus::clear_deleted |
( |
| ) |
|
|
inline |
Clears the 'deleted
' attribute.
◆ clear_deprecated()
void google_compute_api::DeprecationStatus::clear_deprecated |
( |
| ) |
|
|
inline |
Clears the 'deprecated
' attribute.
◆ clear_obsolete()
void google_compute_api::DeprecationStatus::clear_obsolete |
( |
| ) |
|
|
inline |
Clears the 'obsolete
' attribute.
◆ clear_replacement()
void google_compute_api::DeprecationStatus::clear_replacement |
( |
| ) |
|
|
inline |
Clears the 'replacement
' attribute.
◆ clear_state()
void google_compute_api::DeprecationStatus::clear_state |
( |
| ) |
|
|
inline |
Clears the 'state
' attribute.
◆ get_deleted()
const StringPiece google_compute_api::DeprecationStatus::get_deleted |
( |
| ) |
const |
|
inline |
Get the value of the 'deleted
' attribute.
◆ get_deprecated()
const StringPiece google_compute_api::DeprecationStatus::get_deprecated |
( |
| ) |
const |
|
inline |
Get the value of the 'deprecated
' attribute.
◆ get_obsolete()
const StringPiece google_compute_api::DeprecationStatus::get_obsolete |
( |
| ) |
const |
|
inline |
Get the value of the 'obsolete
' attribute.
◆ get_replacement()
const StringPiece google_compute_api::DeprecationStatus::get_replacement |
( |
| ) |
const |
|
inline |
Get the value of the 'replacement
' attribute.
◆ get_state()
const StringPiece google_compute_api::DeprecationStatus::get_state |
( |
| ) |
const |
|
inline |
Get the value of the 'state
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::DeprecationStatus::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_deleted()
bool google_compute_api::DeprecationStatus::has_deleted |
( |
| ) |
const |
|
inline |
Determine if the 'deleted
' attribute was set.
- Returns
- true if the '
deleted
' attribute was set.
◆ has_deprecated()
bool google_compute_api::DeprecationStatus::has_deprecated |
( |
| ) |
const |
|
inline |
Determine if the 'deprecated
' attribute was set.
- Returns
- true if the '
deprecated
' attribute was set.
◆ has_obsolete()
bool google_compute_api::DeprecationStatus::has_obsolete |
( |
| ) |
const |
|
inline |
Determine if the 'obsolete
' attribute was set.
- Returns
- true if the '
obsolete
' attribute was set.
◆ has_replacement()
bool google_compute_api::DeprecationStatus::has_replacement |
( |
| ) |
const |
|
inline |
Determine if the 'replacement
' attribute was set.
- Returns
- true if the '
replacement
' attribute was set.
◆ has_state()
bool google_compute_api::DeprecationStatus::has_state |
( |
| ) |
const |
|
inline |
Determine if the 'state
' attribute was set.
- Returns
- true if the '
state
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_deleted()
void google_compute_api::DeprecationStatus::set_deleted |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'deleted
' attribute.
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.
- Parameters
-
◆ set_deprecated()
void google_compute_api::DeprecationStatus::set_deprecated |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'deprecated
' attribute.
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.
- Parameters
-
◆ set_obsolete()
void google_compute_api::DeprecationStatus::set_obsolete |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'obsolete
' attribute.
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.
- Parameters
-
◆ set_replacement()
void google_compute_api::DeprecationStatus::set_replacement |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'replacement
' attribute.
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.
- Parameters
-
◆ set_state()
void google_compute_api::DeprecationStatus::set_state |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'state
' attribute.
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.
- Parameters
-
The documentation for this class was generated from the following files: