#include <scheduling_node_affinity.h>
Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled.
◆ SchedulingNodeAffinity() [1/2]
google_compute_api::SchedulingNodeAffinity::SchedulingNodeAffinity |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ SchedulingNodeAffinity() [2/2]
google_compute_api::SchedulingNodeAffinity::SchedulingNodeAffinity |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~SchedulingNodeAffinity()
google_compute_api::SchedulingNodeAffinity::~SchedulingNodeAffinity |
( |
| ) |
|
|
virtual |
◆ clear_key()
void google_compute_api::SchedulingNodeAffinity::clear_key |
( |
| ) |
|
|
inline |
Clears the 'key
' attribute.
◆ clear_operator()
void google_compute_api::SchedulingNodeAffinity::clear_operator |
( |
| ) |
|
|
inline |
Clears the 'operator
' attribute.
◆ clear_values()
void google_compute_api::SchedulingNodeAffinity::clear_values |
( |
| ) |
|
|
inline |
Clears the 'values
' attribute.
◆ get_key()
const StringPiece google_compute_api::SchedulingNodeAffinity::get_key |
( |
| ) |
const |
|
inline |
Get the value of the 'key
' attribute.
◆ get_operator()
const StringPiece google_compute_api::SchedulingNodeAffinity::get_operator |
( |
| ) |
const |
|
inline |
Get the value of the 'operator
' attribute.
◆ get_values()
const client::JsonCppArray<string > google_compute_api::SchedulingNodeAffinity::get_values |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'values
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::SchedulingNodeAffinity::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_key()
bool google_compute_api::SchedulingNodeAffinity::has_key |
( |
| ) |
const |
|
inline |
Determine if the 'key
' attribute was set.
- Returns
- true if the '
key
' attribute was set.
◆ has_operator()
bool google_compute_api::SchedulingNodeAffinity::has_operator |
( |
| ) |
const |
|
inline |
Determine if the 'operator
' attribute was set.
- Returns
- true if the '
operator
' attribute was set.
◆ has_values()
bool google_compute_api::SchedulingNodeAffinity::has_values |
( |
| ) |
const |
|
inline |
Determine if the 'values
' attribute was set.
- Returns
- true if the '
values
' attribute was set.
◆ mutable_values()
client::JsonCppArray<string > google_compute_api::SchedulingNodeAffinity::mutable_values |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'values
' property.
Corresponds to the label values of Node resource.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_key()
void google_compute_api::SchedulingNodeAffinity::set_key |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'key
' attribute.
Corresponds to the label key of Node resource.
- Parameters
-
◆ set_operator()
void google_compute_api::SchedulingNodeAffinity::set_operator |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'operator
' attribute.
Defines the operation of node selection.
- Parameters
-
The documentation for this class was generated from the following files: