#include <networks_add_peering_request.h>
◆ NetworksAddPeeringRequest() [1/2]
| google_compute_api::NetworksAddPeeringRequest::NetworksAddPeeringRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ NetworksAddPeeringRequest() [2/2]
| google_compute_api::NetworksAddPeeringRequest::NetworksAddPeeringRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~NetworksAddPeeringRequest()
| google_compute_api::NetworksAddPeeringRequest::~NetworksAddPeeringRequest |
( |
| ) |
|
|
virtual |
◆ clear_auto_create_routes()
| void google_compute_api::NetworksAddPeeringRequest::clear_auto_create_routes |
( |
| ) |
|
|
inline |
Clears the 'autoCreateRoutes' attribute.
◆ clear_name()
| void google_compute_api::NetworksAddPeeringRequest::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name' attribute.
◆ clear_network_peering()
| void google_compute_api::NetworksAddPeeringRequest::clear_network_peering |
( |
| ) |
|
|
inline |
Clears the 'networkPeering' attribute.
◆ clear_peer_network()
| void google_compute_api::NetworksAddPeeringRequest::clear_peer_network |
( |
| ) |
|
|
inline |
Clears the 'peerNetwork' attribute.
◆ get_auto_create_routes()
| bool google_compute_api::NetworksAddPeeringRequest::get_auto_create_routes |
( |
| ) |
const |
|
inline |
Get the value of the 'autoCreateRoutes' attribute.
◆ get_name()
| const StringPiece google_compute_api::NetworksAddPeeringRequest::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name' attribute.
◆ get_network_peering()
| const NetworkPeering google_compute_api::NetworksAddPeeringRequest::get_network_peering |
( |
| ) |
const |
Get a reference to the value of the 'networkPeering' attribute.
◆ get_peer_network()
| const StringPiece google_compute_api::NetworksAddPeeringRequest::get_peer_network |
( |
| ) |
const |
|
inline |
Get the value of the 'peerNetwork' attribute.
◆ GetTypeName()
| const StringPiece google_compute_api::NetworksAddPeeringRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_auto_create_routes()
| bool google_compute_api::NetworksAddPeeringRequest::has_auto_create_routes |
( |
| ) |
const |
|
inline |
Determine if the 'autoCreateRoutes' attribute was set.
- Returns
- true if the '
autoCreateRoutes' attribute was set.
◆ has_name()
| bool google_compute_api::NetworksAddPeeringRequest::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name' attribute was set.
- Returns
- true if the '
name' attribute was set.
◆ has_network_peering()
| bool google_compute_api::NetworksAddPeeringRequest::has_network_peering |
( |
| ) |
const |
|
inline |
Determine if the 'networkPeering' attribute was set.
- Returns
- true if the '
networkPeering' attribute was set.
◆ has_peer_network()
| bool google_compute_api::NetworksAddPeeringRequest::has_peer_network |
( |
| ) |
const |
|
inline |
Determine if the 'peerNetwork' attribute was set.
- Returns
- true if the '
peerNetwork' attribute was set.
◆ mutable_networkPeering()
| NetworkPeering google_compute_api::NetworksAddPeeringRequest::mutable_networkPeering |
( |
| ) |
|
Gets a reference to a mutable value of the 'networkPeering' property.
Network peering parameters. In order to specify route policies for peering using import/export custom routes, you will have to fill all peering related parameters (name, peer network, exchange_subnet_routes) in network_peeringfield. Corresponding fields in NetworksAddPeeringRequest will be deprecated soon.
- 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_auto_create_routes()
| void google_compute_api::NetworksAddPeeringRequest::set_auto_create_routes |
( |
bool |
value | ) |
|
|
inline |
Change the 'autoCreateRoutes' attribute.
This field will be deprecated soon. Prefer using exchange_subnet_routes in network_peering instead. Whether Google Compute Engine manages the routes automatically.
- Parameters
-
◆ set_name()
| void google_compute_api::NetworksAddPeeringRequest::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name' attribute.
Name of the peering, which should conform to RFC1035.
- Parameters
-
◆ set_peer_network()
| void google_compute_api::NetworksAddPeeringRequest::set_peer_network |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'peerNetwork' attribute.
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.
- Parameters
-
The documentation for this class was generated from the following files: