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

#include <network_routing_config.h>

Inheritance diagram for google_compute_api::NetworkRoutingConfig:

Public Member Functions

 NetworkRoutingConfig (const Json::Value &storage)
 
 NetworkRoutingConfig (Json::Value *storage)
 
virtual ~NetworkRoutingConfig ()
 
const StringPiece GetTypeName () const
 
bool has_routing_mode () const
 
void clear_routing_mode ()
 
const StringPiece get_routing_mode () const
 
void set_routing_mode (const StringPiece &value)
 

Static Public Member Functions

static NetworkRoutingConfigNew ()
 

Detailed Description

A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide.

Constructor & Destructor Documentation

◆ NetworkRoutingConfig() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NetworkRoutingConfig() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NetworkRoutingConfig()

google_compute_api::NetworkRoutingConfig::~NetworkRoutingConfig ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_routing_mode()

void google_compute_api::NetworkRoutingConfig::clear_routing_mode ( )
inline

Clears the 'routingMode' attribute.

◆ get_routing_mode()

const StringPiece google_compute_api::NetworkRoutingConfig::get_routing_mode ( ) const
inline

Get the value of the 'routingMode' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::NetworkRoutingConfig

◆ has_routing_mode()

bool google_compute_api::NetworkRoutingConfig::has_routing_mode ( ) const
inline

Determine if the 'routingMode' attribute was set.

Returns
true if the 'routingMode' attribute was set.

◆ New()

NetworkRoutingConfig * google_compute_api::NetworkRoutingConfig::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_routing_mode()

void google_compute_api::NetworkRoutingConfig::set_routing_mode ( const StringPiece &  value)
inline

Change the 'routingMode' attribute.

The network-wide routing mode to use. If set to REGIONAL, this network's cloud routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's cloud routers will advertise routes with all subnets of this network, across regions.

Parameters
[in]valueThe new value.

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