#include <router_bgp_peer.h>
◆ RouterBgpPeer() [1/2]
google_compute_api::RouterBgpPeer::RouterBgpPeer |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ RouterBgpPeer() [2/2]
google_compute_api::RouterBgpPeer::RouterBgpPeer |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~RouterBgpPeer()
google_compute_api::RouterBgpPeer::~RouterBgpPeer |
( |
| ) |
|
|
virtual |
◆ clear_advertise_mode()
void google_compute_api::RouterBgpPeer::clear_advertise_mode |
( |
| ) |
|
|
inline |
Clears the 'advertiseMode
' attribute.
◆ clear_advertised_groups()
void google_compute_api::RouterBgpPeer::clear_advertised_groups |
( |
| ) |
|
|
inline |
Clears the 'advertisedGroups
' attribute.
◆ clear_advertised_ip_ranges()
void google_compute_api::RouterBgpPeer::clear_advertised_ip_ranges |
( |
| ) |
|
|
inline |
Clears the 'advertisedIpRanges
' attribute.
◆ clear_advertised_route_priority()
void google_compute_api::RouterBgpPeer::clear_advertised_route_priority |
( |
| ) |
|
|
inline |
Clears the 'advertisedRoutePriority
' attribute.
◆ clear_interface_name()
void google_compute_api::RouterBgpPeer::clear_interface_name |
( |
| ) |
|
|
inline |
Clears the 'interfaceName
' attribute.
◆ clear_ip_address()
void google_compute_api::RouterBgpPeer::clear_ip_address |
( |
| ) |
|
|
inline |
Clears the 'ipAddress
' attribute.
◆ clear_management_type()
void google_compute_api::RouterBgpPeer::clear_management_type |
( |
| ) |
|
|
inline |
Clears the 'managementType
' attribute.
◆ clear_name()
void google_compute_api::RouterBgpPeer::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_peer_asn()
void google_compute_api::RouterBgpPeer::clear_peer_asn |
( |
| ) |
|
|
inline |
Clears the 'peerAsn
' attribute.
◆ clear_peer_ip_address()
void google_compute_api::RouterBgpPeer::clear_peer_ip_address |
( |
| ) |
|
|
inline |
Clears the 'peerIpAddress
' attribute.
◆ get_advertise_mode()
const StringPiece google_compute_api::RouterBgpPeer::get_advertise_mode |
( |
| ) |
const |
|
inline |
Get the value of the 'advertiseMode
' attribute.
◆ get_advertised_groups()
const client::JsonCppArray<string > google_compute_api::RouterBgpPeer::get_advertised_groups |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'advertisedGroups
' attribute.
◆ get_advertised_ip_ranges()
const client::JsonCppArray<RouterAdvertisedIpRange > google_compute_api::RouterBgpPeer::get_advertised_ip_ranges |
( |
| ) |
const |
Get a reference to the value of the 'advertisedIpRanges
' attribute.
◆ get_advertised_route_priority()
uint32 google_compute_api::RouterBgpPeer::get_advertised_route_priority |
( |
| ) |
const |
|
inline |
Get the value of the 'advertisedRoutePriority
' attribute.
◆ get_interface_name()
const StringPiece google_compute_api::RouterBgpPeer::get_interface_name |
( |
| ) |
const |
|
inline |
Get the value of the 'interfaceName
' attribute.
◆ get_ip_address()
const StringPiece google_compute_api::RouterBgpPeer::get_ip_address |
( |
| ) |
const |
|
inline |
Get the value of the 'ipAddress
' attribute.
◆ get_management_type()
const StringPiece google_compute_api::RouterBgpPeer::get_management_type |
( |
| ) |
const |
|
inline |
Get the value of the 'managementType
' attribute.
◆ get_name()
const StringPiece google_compute_api::RouterBgpPeer::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_peer_asn()
uint32 google_compute_api::RouterBgpPeer::get_peer_asn |
( |
| ) |
const |
|
inline |
Get the value of the 'peerAsn
' attribute.
◆ get_peer_ip_address()
const StringPiece google_compute_api::RouterBgpPeer::get_peer_ip_address |
( |
| ) |
const |
|
inline |
Get the value of the 'peerIpAddress
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::RouterBgpPeer::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_advertise_mode()
bool google_compute_api::RouterBgpPeer::has_advertise_mode |
( |
| ) |
const |
|
inline |
Determine if the 'advertiseMode
' attribute was set.
- Returns
- true if the '
advertiseMode
' attribute was set.
◆ has_advertised_groups()
bool google_compute_api::RouterBgpPeer::has_advertised_groups |
( |
| ) |
const |
|
inline |
Determine if the 'advertisedGroups
' attribute was set.
- Returns
- true if the '
advertisedGroups
' attribute was set.
◆ has_advertised_ip_ranges()
bool google_compute_api::RouterBgpPeer::has_advertised_ip_ranges |
( |
| ) |
const |
|
inline |
Determine if the 'advertisedIpRanges
' attribute was set.
- Returns
- true if the '
advertisedIpRanges
' attribute was set.
◆ has_advertised_route_priority()
bool google_compute_api::RouterBgpPeer::has_advertised_route_priority |
( |
| ) |
const |
|
inline |
Determine if the 'advertisedRoutePriority
' attribute was set.
- Returns
- true if the '
advertisedRoutePriority
' attribute was set.
◆ has_interface_name()
bool google_compute_api::RouterBgpPeer::has_interface_name |
( |
| ) |
const |
|
inline |
Determine if the 'interfaceName
' attribute was set.
- Returns
- true if the '
interfaceName
' attribute was set.
◆ has_ip_address()
bool google_compute_api::RouterBgpPeer::has_ip_address |
( |
| ) |
const |
|
inline |
Determine if the 'ipAddress
' attribute was set.
- Returns
- true if the '
ipAddress
' attribute was set.
◆ has_management_type()
bool google_compute_api::RouterBgpPeer::has_management_type |
( |
| ) |
const |
|
inline |
Determine if the 'managementType
' attribute was set.
- Returns
- true if the '
managementType
' attribute was set.
◆ has_name()
bool google_compute_api::RouterBgpPeer::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_peer_asn()
bool google_compute_api::RouterBgpPeer::has_peer_asn |
( |
| ) |
const |
|
inline |
Determine if the 'peerAsn
' attribute was set.
- Returns
- true if the '
peerAsn
' attribute was set.
◆ has_peer_ip_address()
bool google_compute_api::RouterBgpPeer::has_peer_ip_address |
( |
| ) |
const |
|
inline |
Determine if the 'peerIpAddress
' attribute was set.
- Returns
- true if the '
peerIpAddress
' attribute was set.
◆ mutable_advertisedGroups()
client::JsonCppArray<string > google_compute_api::RouterBgpPeer::mutable_advertisedGroups |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'advertisedGroups
' property.
User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp message). These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_advertisedIpRanges()
Gets a reference to a mutable value of the 'advertisedIpRanges
' property.
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in Bgp message). These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
- 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_advertise_mode()
void google_compute_api::RouterBgpPeer::set_advertise_mode |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'advertiseMode
' attribute.
User-specified flag to indicate which mode to use for advertisement.
- Parameters
-
◆ set_advertised_route_priority()
void google_compute_api::RouterBgpPeer::set_advertised_route_priority |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'advertisedRoutePriority
' attribute.
The priority of routes advertised to this BGP peer. In the case where there is more than one matching route of maximum length, the routes with lowest priority value win.
- Parameters
-
◆ set_interface_name()
void google_compute_api::RouterBgpPeer::set_interface_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'interfaceName
' attribute.
Name of the interface the BGP peer is associated with.
- Parameters
-
◆ set_ip_address()
void google_compute_api::RouterBgpPeer::set_ip_address |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'ipAddress
' attribute.
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
- Parameters
-
◆ set_management_type()
void google_compute_api::RouterBgpPeer::set_management_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'managementType
' attribute.
[Output Only] The resource that configures and manages this BGP peer. MANAGED_BY_USER is the default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google will automatically create, update, and delete this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted.
- Parameters
-
◆ set_name()
void google_compute_api::RouterBgpPeer::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
Name of this BGP peer. The name must be 1-63 characters long and comply with RFC1035.
- Parameters
-
◆ set_peer_asn()
void google_compute_api::RouterBgpPeer::set_peer_asn |
( |
uint32 |
value | ) |
|
|
inline |
Change the 'peerAsn
' attribute.
Peer BGP Autonomous System Number (ASN). For VPN use case, this value can be different for every tunnel.
- Parameters
-
◆ set_peer_ip_address()
void google_compute_api::RouterBgpPeer::set_peer_ip_address |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'peerIpAddress
' attribute.
IP address of the BGP interface outside Google cloud. Only IPv4 is supported.
- Parameters
-
The documentation for this class was generated from the following files: