#include <status_condition.h>
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
◆ StatusCondition() [1/2]
google_container_api::StatusCondition::StatusCondition |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ StatusCondition() [2/2]
google_container_api::StatusCondition::StatusCondition |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~StatusCondition()
google_container_api::StatusCondition::~StatusCondition |
( |
| ) |
|
|
virtual |
◆ clear_code()
void google_container_api::StatusCondition::clear_code |
( |
| ) |
|
|
inline |
Clears the 'code
' attribute.
◆ clear_message()
void google_container_api::StatusCondition::clear_message |
( |
| ) |
|
|
inline |
Clears the 'message
' attribute.
◆ get_code()
const StringPiece google_container_api::StatusCondition::get_code |
( |
| ) |
const |
|
inline |
Get the value of the 'code
' attribute.
◆ get_message()
const StringPiece google_container_api::StatusCondition::get_message |
( |
| ) |
const |
|
inline |
Get the value of the 'message
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::StatusCondition::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_code()
bool google_container_api::StatusCondition::has_code |
( |
| ) |
const |
|
inline |
Determine if the 'code
' attribute was set.
- Returns
- true if the '
code
' attribute was set.
◆ has_message()
bool google_container_api::StatusCondition::has_message |
( |
| ) |
const |
|
inline |
Determine if the 'message
' attribute was set.
- Returns
- true if the '
message
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_code()
void google_container_api::StatusCondition::set_code |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'code
' attribute.
Machine-friendly representation of the condition.
- Parameters
-
◆ set_message()
void google_container_api::StatusCondition::set_message |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'message
' attribute.
Human-friendly representation of the condition.
- Parameters
-
The documentation for this class was generated from the following files: