#include <cidr_block.h>
CidrBlock contains an optional name and one CIDR block.
◆ CidrBlock() [1/2]
google_container_api::CidrBlock::CidrBlock |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ CidrBlock() [2/2]
google_container_api::CidrBlock::CidrBlock |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~CidrBlock()
google_container_api::CidrBlock::~CidrBlock |
( |
| ) |
|
|
virtual |
◆ clear_cidr_block()
void google_container_api::CidrBlock::clear_cidr_block |
( |
| ) |
|
|
inline |
Clears the 'cidrBlock
' attribute.
◆ clear_display_name()
void google_container_api::CidrBlock::clear_display_name |
( |
| ) |
|
|
inline |
Clears the 'displayName
' attribute.
◆ get_cidr_block()
const StringPiece google_container_api::CidrBlock::get_cidr_block |
( |
| ) |
const |
|
inline |
Get the value of the 'cidrBlock
' attribute.
◆ get_display_name()
const StringPiece google_container_api::CidrBlock::get_display_name |
( |
| ) |
const |
|
inline |
Get the value of the 'displayName
' attribute.
◆ GetTypeName()
const StringPiece google_container_api::CidrBlock::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_cidr_block()
bool google_container_api::CidrBlock::has_cidr_block |
( |
| ) |
const |
|
inline |
Determine if the 'cidrBlock
' attribute was set.
- Returns
- true if the '
cidrBlock
' attribute was set.
◆ has_display_name()
bool google_container_api::CidrBlock::has_display_name |
( |
| ) |
const |
|
inline |
Determine if the 'displayName
' attribute was set.
- Returns
- true if the '
displayName
' attribute was set.
◆ New()
CidrBlock * google_container_api::CidrBlock::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_cidr_block()
void google_container_api::CidrBlock::set_cidr_block |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'cidrBlock
' attribute.
cidr_block must be specified in CIDR notation.
- Parameters
-
◆ set_display_name()
void google_container_api::CidrBlock::set_display_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'displayName
' attribute.
display_name is an optional field for users to identify CIDR blocks.
- Parameters
-
The documentation for this class was generated from the following files:
- google/container_api/cidr_block.h
- google/container_api/cidr_block.cc