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

#include <networks_add_peering_request.h>

Inheritance diagram for google_compute_api::NetworksAddPeeringRequest:

Public Member Functions

 NetworksAddPeeringRequest (const Json::Value &storage)
 
 NetworksAddPeeringRequest (Json::Value *storage)
 
virtual ~NetworksAddPeeringRequest ()
 
const StringPiece GetTypeName () const
 
bool has_auto_create_routes () const
 
void clear_auto_create_routes ()
 
bool get_auto_create_routes () const
 
void set_auto_create_routes (bool value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_network_peering () const
 
void clear_network_peering ()
 
const NetworkPeering get_network_peering () const
 
NetworkPeering mutable_networkPeering ()
 
bool has_peer_network () const
 
void clear_peer_network ()
 
const StringPiece get_peer_network () const
 
void set_peer_network (const StringPiece &value)
 

Static Public Member Functions

static NetworksAddPeeringRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ NetworksAddPeeringRequest() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~NetworksAddPeeringRequest()

google_compute_api::NetworksAddPeeringRequest::~NetworksAddPeeringRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_compute_api::NetworksAddPeeringRequest

◆ 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()

NetworksAddPeeringRequest * google_compute_api::NetworksAddPeeringRequest::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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