#include <network_policy.h>
◆ NetworkPolicy() [1/2]
google_container_api::NetworkPolicy::NetworkPolicy |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ NetworkPolicy() [2/2]
google_container_api::NetworkPolicy::NetworkPolicy |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~NetworkPolicy()
google_container_api::NetworkPolicy::~NetworkPolicy |
( |
| ) |
|
|
virtual |
◆ clear_enabled()
void google_container_api::NetworkPolicy::clear_enabled |
( |
| ) |
|
|
inline |
Clears the 'enabled
' attribute.
◆ clear_provider()
void google_container_api::NetworkPolicy::clear_provider |
( |
| ) |
|
|
inline |
Clears the 'provider
' attribute.
◆ get_enabled()
bool google_container_api::NetworkPolicy::get_enabled |
( |
| ) |
const |
|
inline |
Get the value of the 'enabled
' attribute.
◆ get_provider()
const StringPiece google_container_api::NetworkPolicy::get_provider |
( |
| ) |
const |
|
inline |
Get the value of the 'provider
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::NetworkPolicy::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_enabled()
bool google_container_api::NetworkPolicy::has_enabled |
( |
| ) |
const |
|
inline |
Determine if the 'enabled
' attribute was set.
- Returns
- true if the '
enabled
' attribute was set.
◆ has_provider()
bool google_container_api::NetworkPolicy::has_provider |
( |
| ) |
const |
|
inline |
Determine if the 'provider
' attribute was set.
- Returns
- true if the '
provider
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_enabled()
void google_container_api::NetworkPolicy::set_enabled |
( |
bool |
value | ) |
|
|
inline |
Change the 'enabled
' attribute.
Whether network policy is enabled on the cluster.
- Parameters
-
◆ set_provider()
void google_container_api::NetworkPolicy::set_provider |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'provider
' attribute.
The selected network policy provider.
- Parameters
-
The documentation for this class was generated from the following files: