#include <router.h>
◆ Router() [1/2]
google_compute_api::Router::Router |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ Router() [2/2]
google_compute_api::Router::Router |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~Router()
google_compute_api::Router::~Router |
( |
| ) |
|
|
virtual |
◆ clear_bgp()
void google_compute_api::Router::clear_bgp |
( |
| ) |
|
|
inline |
Clears the 'bgp
' attribute.
◆ clear_bgp_peers()
void google_compute_api::Router::clear_bgp_peers |
( |
| ) |
|
|
inline |
Clears the 'bgpPeers
' attribute.
◆ clear_creation_timestamp()
void google_compute_api::Router::clear_creation_timestamp |
( |
| ) |
|
|
inline |
Clears the 'creationTimestamp
' attribute.
◆ clear_description()
void google_compute_api::Router::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_id()
void google_compute_api::Router::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_interfaces()
void google_compute_api::Router::clear_interfaces |
( |
| ) |
|
|
inline |
Clears the 'interfaces
' attribute.
◆ clear_kind()
void google_compute_api::Router::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_name()
void google_compute_api::Router::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_nats()
void google_compute_api::Router::clear_nats |
( |
| ) |
|
|
inline |
Clears the 'nats
' attribute.
◆ clear_network()
void google_compute_api::Router::clear_network |
( |
| ) |
|
|
inline |
Clears the 'network
' attribute.
◆ clear_region()
void google_compute_api::Router::clear_region |
( |
| ) |
|
|
inline |
Clears the 'region
' attribute.
◆ clear_self_link()
void google_compute_api::Router::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ get_bgp()
const RouterBgp google_compute_api::Router::get_bgp |
( |
| ) |
const |
Get a reference to the value of the 'bgp
' attribute.
◆ get_bgp_peers()
const client::JsonCppArray<RouterBgpPeer > google_compute_api::Router::get_bgp_peers |
( |
| ) |
const |
Get a reference to the value of the 'bgpPeers
' attribute.
◆ get_creation_timestamp()
const StringPiece google_compute_api::Router::get_creation_timestamp |
( |
| ) |
const |
|
inline |
Get the value of the 'creationTimestamp
' attribute.
◆ get_description()
const StringPiece google_compute_api::Router::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_id()
uint64 google_compute_api::Router::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_interfaces()
const client::JsonCppArray<RouterInterface > google_compute_api::Router::get_interfaces |
( |
| ) |
const |
Get a reference to the value of the 'interfaces
' attribute.
◆ get_kind()
const StringPiece google_compute_api::Router::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_name()
const StringPiece google_compute_api::Router::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_nats()
const client::JsonCppArray<RouterNat > google_compute_api::Router::get_nats |
( |
| ) |
const |
Get a reference to the value of the 'nats
' attribute.
◆ get_network()
const StringPiece google_compute_api::Router::get_network |
( |
| ) |
const |
|
inline |
Get the value of the 'network
' attribute.
◆ get_region()
const StringPiece google_compute_api::Router::get_region |
( |
| ) |
const |
|
inline |
Get the value of the 'region
' attribute.
◆ get_self_link()
const StringPiece google_compute_api::Router::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::Router::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_bgp()
bool google_compute_api::Router::has_bgp |
( |
| ) |
const |
|
inline |
Determine if the 'bgp
' attribute was set.
- Returns
- true if the '
bgp
' attribute was set.
◆ has_bgp_peers()
bool google_compute_api::Router::has_bgp_peers |
( |
| ) |
const |
|
inline |
Determine if the 'bgpPeers
' attribute was set.
- Returns
- true if the '
bgpPeers
' attribute was set.
◆ has_creation_timestamp()
bool google_compute_api::Router::has_creation_timestamp |
( |
| ) |
const |
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
- Returns
- true if the '
creationTimestamp
' attribute was set.
◆ has_description()
bool google_compute_api::Router::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_id()
bool google_compute_api::Router::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_interfaces()
bool google_compute_api::Router::has_interfaces |
( |
| ) |
const |
|
inline |
Determine if the 'interfaces
' attribute was set.
- Returns
- true if the '
interfaces
' attribute was set.
◆ has_kind()
bool google_compute_api::Router::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_name()
bool google_compute_api::Router::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_nats()
bool google_compute_api::Router::has_nats |
( |
| ) |
const |
|
inline |
Determine if the 'nats
' attribute was set.
- Returns
- true if the '
nats
' attribute was set.
◆ has_network()
bool google_compute_api::Router::has_network |
( |
| ) |
const |
|
inline |
Determine if the 'network
' attribute was set.
- Returns
- true if the '
network
' attribute was set.
◆ has_region()
bool google_compute_api::Router::has_region |
( |
| ) |
const |
|
inline |
Determine if the 'region
' attribute was set.
- Returns
- true if the '
region
' attribute was set.
◆ has_self_link()
bool google_compute_api::Router::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ mutable_bgp()
RouterBgp google_compute_api::Router::mutable_bgp |
( |
| ) |
|
Gets a reference to a mutable value of the 'bgp
' property.
BGP information specific to this router.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_bgpPeers()
client::JsonCppArray<RouterBgpPeer > google_compute_api::Router::mutable_bgpPeers |
( |
| ) |
|
Gets a reference to a mutable value of the 'bgpPeers
' property.
BGP information that needs to be configured into the routing stack to establish the BGP peering. It must specify peer ASN and either interface name, IP, or peer IP. Please refer to RFC4273.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_interfaces()
client::JsonCppArray<RouterInterface > google_compute_api::Router::mutable_interfaces |
( |
| ) |
|
Gets a reference to a mutable value of the 'interfaces
' property.
Router interfaces. Each interface requires either one linked resource (e.g. linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_nats()
client::JsonCppArray<RouterNat > google_compute_api::Router::mutable_nats |
( |
| ) |
|
Gets a reference to a mutable value of the 'nats
' property.
A list of Nat services created in this router.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Router * google_compute_api::Router::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_creation_timestamp()
void google_compute_api::Router::set_creation_timestamp |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'creationTimestamp
' attribute.
[Output Only] Creation timestamp in RFC3339 text format.
- Parameters
-
◆ set_description()
void google_compute_api::Router::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
An optional description of this resource. Provide this property when you create the resource.
- Parameters
-
◆ set_id()
void google_compute_api::Router::set_id |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'id
' attribute.
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
- Parameters
-
◆ set_kind()
void google_compute_api::Router::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of resource. Always compute::router for routers.
- Parameters
-
◆ set_name()
void google_compute_api::Router::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
- Parameters
-
◆ set_network()
void google_compute_api::Router::set_network |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'network
' attribute.
URI of the network to which this router belongs.
- Parameters
-
◆ set_region()
void google_compute_api::Router::set_region |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'region
' attribute.
[Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- Parameters
-
◆ set_self_link()
void google_compute_api::Router::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
- Parameters
-
The documentation for this class was generated from the following files:
- google/compute_api/router.h
- google/compute_api/router.cc