compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::RouterBgp Class Reference

#include <router_bgp.h>

Inheritance diagram for google_compute_api::RouterBgp:

Public Member Functions

 RouterBgp (const Json::Value &storage)
 
 RouterBgp (Json::Value *storage)
 
virtual ~RouterBgp ()
 
const StringPiece GetTypeName () const
 
bool has_advertise_mode () const
 
void clear_advertise_mode ()
 
const StringPiece get_advertise_mode () const
 
void set_advertise_mode (const StringPiece &value)
 
bool has_advertised_groups () const
 
void clear_advertised_groups ()
 
const client::JsonCppArray< string > get_advertised_groups () const
 
client::JsonCppArray< string > mutable_advertisedGroups ()
 
bool has_advertised_ip_ranges () const
 
void clear_advertised_ip_ranges ()
 
const client::JsonCppArray< RouterAdvertisedIpRangeget_advertised_ip_ranges () const
 
client::JsonCppArray< RouterAdvertisedIpRangemutable_advertisedIpRanges ()
 
bool has_asn () const
 
void clear_asn ()
 
uint32 get_asn () const
 
void set_asn (uint32 value)
 

Static Public Member Functions

static RouterBgpNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ RouterBgp() [1/2]

google_compute_api::RouterBgp::RouterBgp ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ RouterBgp() [2/2]

google_compute_api::RouterBgp::RouterBgp ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~RouterBgp()

google_compute_api::RouterBgp::~RouterBgp ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_advertise_mode()

void google_compute_api::RouterBgp::clear_advertise_mode ( )
inline

Clears the 'advertiseMode' attribute.

◆ clear_advertised_groups()

void google_compute_api::RouterBgp::clear_advertised_groups ( )
inline

Clears the 'advertisedGroups' attribute.

◆ clear_advertised_ip_ranges()

void google_compute_api::RouterBgp::clear_advertised_ip_ranges ( )
inline

Clears the 'advertisedIpRanges' attribute.

◆ clear_asn()

void google_compute_api::RouterBgp::clear_asn ( )
inline

Clears the 'asn' attribute.

◆ get_advertise_mode()

const StringPiece google_compute_api::RouterBgp::get_advertise_mode ( ) const
inline

Get the value of the 'advertiseMode' attribute.

◆ get_advertised_groups()

const client::JsonCppArray<string > google_compute_api::RouterBgp::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::RouterBgp::get_advertised_ip_ranges ( ) const

Get a reference to the value of the 'advertisedIpRanges' attribute.

◆ get_asn()

uint32 google_compute_api::RouterBgp::get_asn ( ) const
inline

Get the value of the 'asn' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::RouterBgp::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::RouterBgp

◆ has_advertise_mode()

bool google_compute_api::RouterBgp::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::RouterBgp::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::RouterBgp::has_advertised_ip_ranges ( ) const
inline

Determine if the 'advertisedIpRanges' attribute was set.

Returns
true if the 'advertisedIpRanges' attribute was set.

◆ has_asn()

bool google_compute_api::RouterBgp::has_asn ( ) const
inline

Determine if the 'asn' attribute was set.

Returns
true if the 'asn' attribute was set.

◆ mutable_advertisedGroups()

client::JsonCppArray<string > google_compute_api::RouterBgp::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 is advertised to all peers of the router. 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()

client::JsonCppArray<RouterAdvertisedIpRange > google_compute_api::RouterBgp::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 is advertised to all peers of the router. 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()

RouterBgp * google_compute_api::RouterBgp::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_advertise_mode()

void google_compute_api::RouterBgp::set_advertise_mode ( const StringPiece &  value)
inline

Change the 'advertiseMode' attribute.

User-specified flag to indicate which mode to use for advertisement.

Parameters
[in]valueThe new value.

◆ set_asn()

void google_compute_api::RouterBgp::set_asn ( uint32  value)
inline

Change the 'asn' attribute.

Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: