compute
v1
|
#include <network_peering.h>
Public Member Functions | |
NetworkPeering (const Json::Value &storage) | |
NetworkPeering (Json::Value *storage) | |
virtual | ~NetworkPeering () |
const StringPiece | GetTypeName () const |
bool | has_auto_create_routes () const |
void | clear_auto_create_routes () |
bool | get_auto_create_routes () const |
void | set_auto_create_routes (bool value) |
bool | has_exchange_subnet_routes () const |
void | clear_exchange_subnet_routes () |
bool | get_exchange_subnet_routes () const |
void | set_exchange_subnet_routes (bool value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
bool | has_network () const |
void | clear_network () |
const StringPiece | get_network () const |
void | set_network (const StringPiece &value) |
bool | has_state () const |
void | clear_state () |
const StringPiece | get_state () const |
void | set_state (const StringPiece &value) |
bool | has_state_details () const |
void | clear_state_details () |
const StringPiece | get_state_details () const |
void | set_state_details (const StringPiece &value) |
Static Public Member Functions | |
static NetworkPeering * | New () |
A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'autoCreateRoutes
' attribute.
|
inline |
Clears the 'exchangeSubnetRoutes
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'network
' attribute.
|
inline |
Clears the 'state
' attribute.
|
inline |
Clears the 'stateDetails
' attribute.
|
inline |
Get the value of the 'autoCreateRoutes
' attribute.
|
inline |
Get the value of the 'exchangeSubnetRoutes
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'network
' attribute.
|
inline |
Get the value of the 'state
' attribute.
|
inline |
Get the value of the 'stateDetails
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'autoCreateRoutes
' attribute was set.
autoCreateRoutes
' attribute was set.
|
inline |
Determine if the 'exchangeSubnetRoutes
' attribute was set.
exchangeSubnetRoutes
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'network
' attribute was set.
network
' attribute was set.
|
inline |
Determine if the 'state
' attribute was set.
state
' attribute was set.
|
inline |
Determine if the 'stateDetails
' attribute was set.
stateDetails
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'autoCreateRoutes
' attribute.
This field will be deprecated soon. Prefer using exchange_subnet_routes instead. Indicates whether full mesh connectivity is created and managed automatically. When it is set to true, Google Compute Engine will automatically create and manage the routes between two networks when the state is ACTIVE. Otherwise, user needs to create routes manually to route packets to peer network.
[in] | value | The new value. |
|
inline |
Change the 'exchangeSubnetRoutes
' attribute.
Whether full mesh connectivity is created and managed automatically. When it is set to true, Google Compute Engine will automatically create and manage the routes between two networks when the peering state is ACTIVE. Otherwise, user needs to create routes manually to route packets to peer network.
[in] | value | The new value. |
|
inline |
Change the 'name
' attribute.
Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
[in] | value | The new value. |
|
inline |
Change the 'network
' attribute.
The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network.
[in] | value | The new value. |
|
inline |
Change the 'state
' attribute.
[Output Only] State for the peering.
[in] | value | The new value. |
|
inline |
Change the 'stateDetails
' attribute.
[Output Only] Details about the current state of the peering.
[in] | value | The new value. |