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

#include <interconnect.h>

Inheritance diagram for google_compute_api::Interconnect:

Public Member Functions

 Interconnect (const Json::Value &storage)
 
 Interconnect (Json::Value *storage)
 
virtual ~Interconnect ()
 
const StringPiece GetTypeName () const
 
bool has_admin_enabled () const
 
void clear_admin_enabled ()
 
bool get_admin_enabled () const
 
void set_admin_enabled (bool value)
 
bool has_circuit_infos () const
 
void clear_circuit_infos ()
 
const client::JsonCppArray< InterconnectCircuitInfoget_circuit_infos () const
 
client::JsonCppArray< InterconnectCircuitInfomutable_circuitInfos ()
 
bool has_creation_timestamp () const
 
void clear_creation_timestamp ()
 
const StringPiece get_creation_timestamp () const
 
void set_creation_timestamp (const StringPiece &value)
 
bool has_customer_name () const
 
void clear_customer_name ()
 
const StringPiece get_customer_name () const
 
void set_customer_name (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_expected_outages () const
 
void clear_expected_outages ()
 
const client::JsonCppArray< InterconnectOutageNotificationget_expected_outages () const
 
client::JsonCppArray< InterconnectOutageNotificationmutable_expectedOutages ()
 
bool has_google_ip_address () const
 
void clear_google_ip_address ()
 
const StringPiece get_google_ip_address () const
 
void set_google_ip_address (const StringPiece &value)
 
bool has_google_reference_id () const
 
void clear_google_reference_id ()
 
const StringPiece get_google_reference_id () const
 
void set_google_reference_id (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_interconnect_attachments () const
 
void clear_interconnect_attachments ()
 
const client::JsonCppArray< string > get_interconnect_attachments () const
 
client::JsonCppArray< string > mutable_interconnectAttachments ()
 
bool has_interconnect_type () const
 
void clear_interconnect_type ()
 
const StringPiece get_interconnect_type () const
 
void set_interconnect_type (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_link_type () const
 
void clear_link_type ()
 
const StringPiece get_link_type () const
 
void set_link_type (const StringPiece &value)
 
bool has_location () const
 
void clear_location ()
 
const StringPiece get_location () const
 
void set_location (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_noc_contact_email () const
 
void clear_noc_contact_email ()
 
const StringPiece get_noc_contact_email () const
 
void set_noc_contact_email (const StringPiece &value)
 
bool has_operational_status () const
 
void clear_operational_status ()
 
const StringPiece get_operational_status () const
 
void set_operational_status (const StringPiece &value)
 
bool has_peer_ip_address () const
 
void clear_peer_ip_address ()
 
const StringPiece get_peer_ip_address () const
 
void set_peer_ip_address (const StringPiece &value)
 
bool has_provisioned_link_count () const
 
void clear_provisioned_link_count ()
 
int32 get_provisioned_link_count () const
 
void set_provisioned_link_count (int32 value)
 
bool has_requested_link_count () const
 
void clear_requested_link_count ()
 
int32 get_requested_link_count () const
 
void set_requested_link_count (int32 value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_state () const
 
void clear_state ()
 
const StringPiece get_state () const
 
void set_state (const StringPiece &value)
 

Static Public Member Functions

static InterconnectNew ()
 

Detailed Description

Represents an Interconnects resource. The Interconnects resource is a dedicated connection between Google's network and your on-premises network. For more information, see the Dedicated overview page. (== resource_for v1.interconnects ==) (== resource_for beta.interconnects ==).

Constructor & Destructor Documentation

◆ Interconnect() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ Interconnect() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~Interconnect()

google_compute_api::Interconnect::~Interconnect ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_admin_enabled()

void google_compute_api::Interconnect::clear_admin_enabled ( )
inline

Clears the 'adminEnabled' attribute.

◆ clear_circuit_infos()

void google_compute_api::Interconnect::clear_circuit_infos ( )
inline

Clears the 'circuitInfos' attribute.

◆ clear_creation_timestamp()

void google_compute_api::Interconnect::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_customer_name()

void google_compute_api::Interconnect::clear_customer_name ( )
inline

Clears the 'customerName' attribute.

◆ clear_description()

void google_compute_api::Interconnect::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_expected_outages()

void google_compute_api::Interconnect::clear_expected_outages ( )
inline

Clears the 'expectedOutages' attribute.

◆ clear_google_ip_address()

void google_compute_api::Interconnect::clear_google_ip_address ( )
inline

Clears the 'googleIpAddress' attribute.

◆ clear_google_reference_id()

void google_compute_api::Interconnect::clear_google_reference_id ( )
inline

Clears the 'googleReferenceId' attribute.

◆ clear_id()

void google_compute_api::Interconnect::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_interconnect_attachments()

void google_compute_api::Interconnect::clear_interconnect_attachments ( )
inline

Clears the 'interconnectAttachments' attribute.

◆ clear_interconnect_type()

void google_compute_api::Interconnect::clear_interconnect_type ( )
inline

Clears the 'interconnectType' attribute.

◆ clear_kind()

void google_compute_api::Interconnect::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_link_type()

void google_compute_api::Interconnect::clear_link_type ( )
inline

Clears the 'linkType' attribute.

◆ clear_location()

void google_compute_api::Interconnect::clear_location ( )
inline

Clears the 'location' attribute.

◆ clear_name()

void google_compute_api::Interconnect::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_noc_contact_email()

void google_compute_api::Interconnect::clear_noc_contact_email ( )
inline

Clears the 'nocContactEmail' attribute.

◆ clear_operational_status()

void google_compute_api::Interconnect::clear_operational_status ( )
inline

Clears the 'operationalStatus' attribute.

◆ clear_peer_ip_address()

void google_compute_api::Interconnect::clear_peer_ip_address ( )
inline

Clears the 'peerIpAddress' attribute.

◆ clear_provisioned_link_count()

void google_compute_api::Interconnect::clear_provisioned_link_count ( )
inline

Clears the 'provisionedLinkCount' attribute.

◆ clear_requested_link_count()

void google_compute_api::Interconnect::clear_requested_link_count ( )
inline

Clears the 'requestedLinkCount' attribute.

◆ clear_self_link()

void google_compute_api::Interconnect::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_state()

void google_compute_api::Interconnect::clear_state ( )
inline

Clears the 'state' attribute.

◆ get_admin_enabled()

bool google_compute_api::Interconnect::get_admin_enabled ( ) const
inline

Get the value of the 'adminEnabled' attribute.

◆ get_circuit_infos()

const client::JsonCppArray<InterconnectCircuitInfo > google_compute_api::Interconnect::get_circuit_infos ( ) const

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

◆ get_creation_timestamp()

const StringPiece google_compute_api::Interconnect::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_customer_name()

const StringPiece google_compute_api::Interconnect::get_customer_name ( ) const
inline

Get the value of the 'customerName' attribute.

◆ get_description()

const StringPiece google_compute_api::Interconnect::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_expected_outages()

const client::JsonCppArray<InterconnectOutageNotification > google_compute_api::Interconnect::get_expected_outages ( ) const

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

◆ get_google_ip_address()

const StringPiece google_compute_api::Interconnect::get_google_ip_address ( ) const
inline

Get the value of the 'googleIpAddress' attribute.

◆ get_google_reference_id()

const StringPiece google_compute_api::Interconnect::get_google_reference_id ( ) const
inline

Get the value of the 'googleReferenceId' attribute.

◆ get_id()

uint64 google_compute_api::Interconnect::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_interconnect_attachments()

const client::JsonCppArray<string > google_compute_api::Interconnect::get_interconnect_attachments ( ) const
inline

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

◆ get_interconnect_type()

const StringPiece google_compute_api::Interconnect::get_interconnect_type ( ) const
inline

Get the value of the 'interconnectType' attribute.

◆ get_kind()

const StringPiece google_compute_api::Interconnect::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_link_type()

const StringPiece google_compute_api::Interconnect::get_link_type ( ) const
inline

Get the value of the 'linkType' attribute.

◆ get_location()

const StringPiece google_compute_api::Interconnect::get_location ( ) const
inline

Get the value of the 'location' attribute.

◆ get_name()

const StringPiece google_compute_api::Interconnect::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_noc_contact_email()

const StringPiece google_compute_api::Interconnect::get_noc_contact_email ( ) const
inline

Get the value of the 'nocContactEmail' attribute.

◆ get_operational_status()

const StringPiece google_compute_api::Interconnect::get_operational_status ( ) const
inline

Get the value of the 'operationalStatus' attribute.

◆ get_peer_ip_address()

const StringPiece google_compute_api::Interconnect::get_peer_ip_address ( ) const
inline

Get the value of the 'peerIpAddress' attribute.

◆ get_provisioned_link_count()

int32 google_compute_api::Interconnect::get_provisioned_link_count ( ) const
inline

Get the value of the 'provisionedLinkCount' attribute.

◆ get_requested_link_count()

int32 google_compute_api::Interconnect::get_requested_link_count ( ) const
inline

Get the value of the 'requestedLinkCount' attribute.

◆ get_self_link()

const StringPiece google_compute_api::Interconnect::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_state()

const StringPiece google_compute_api::Interconnect::get_state ( ) const
inline

Get the value of the 'state' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::Interconnect

◆ has_admin_enabled()

bool google_compute_api::Interconnect::has_admin_enabled ( ) const
inline

Determine if the 'adminEnabled' attribute was set.

Returns
true if the 'adminEnabled' attribute was set.

◆ has_circuit_infos()

bool google_compute_api::Interconnect::has_circuit_infos ( ) const
inline

Determine if the 'circuitInfos' attribute was set.

Returns
true if the 'circuitInfos' attribute was set.

◆ has_creation_timestamp()

bool google_compute_api::Interconnect::has_creation_timestamp ( ) const
inline

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_customer_name()

bool google_compute_api::Interconnect::has_customer_name ( ) const
inline

Determine if the 'customerName' attribute was set.

Returns
true if the 'customerName' attribute was set.

◆ has_description()

bool google_compute_api::Interconnect::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_expected_outages()

bool google_compute_api::Interconnect::has_expected_outages ( ) const
inline

Determine if the 'expectedOutages' attribute was set.

Returns
true if the 'expectedOutages' attribute was set.

◆ has_google_ip_address()

bool google_compute_api::Interconnect::has_google_ip_address ( ) const
inline

Determine if the 'googleIpAddress' attribute was set.

Returns
true if the 'googleIpAddress' attribute was set.

◆ has_google_reference_id()

bool google_compute_api::Interconnect::has_google_reference_id ( ) const
inline

Determine if the 'googleReferenceId' attribute was set.

Returns
true if the 'googleReferenceId' attribute was set.

◆ has_id()

bool google_compute_api::Interconnect::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_interconnect_attachments()

bool google_compute_api::Interconnect::has_interconnect_attachments ( ) const
inline

Determine if the 'interconnectAttachments' attribute was set.

Returns
true if the 'interconnectAttachments' attribute was set.

◆ has_interconnect_type()

bool google_compute_api::Interconnect::has_interconnect_type ( ) const
inline

Determine if the 'interconnectType' attribute was set.

Returns
true if the 'interconnectType' attribute was set.

◆ has_kind()

bool google_compute_api::Interconnect::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_link_type()

bool google_compute_api::Interconnect::has_link_type ( ) const
inline

Determine if the 'linkType' attribute was set.

Returns
true if the 'linkType' attribute was set.

◆ has_location()

bool google_compute_api::Interconnect::has_location ( ) const
inline

Determine if the 'location' attribute was set.

Returns
true if the 'location' attribute was set.

◆ has_name()

bool google_compute_api::Interconnect::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_noc_contact_email()

bool google_compute_api::Interconnect::has_noc_contact_email ( ) const
inline

Determine if the 'nocContactEmail' attribute was set.

Returns
true if the 'nocContactEmail' attribute was set.

◆ has_operational_status()

bool google_compute_api::Interconnect::has_operational_status ( ) const
inline

Determine if the 'operationalStatus' attribute was set.

Returns
true if the 'operationalStatus' attribute was set.

◆ has_peer_ip_address()

bool google_compute_api::Interconnect::has_peer_ip_address ( ) const
inline

Determine if the 'peerIpAddress' attribute was set.

Returns
true if the 'peerIpAddress' attribute was set.

◆ has_provisioned_link_count()

bool google_compute_api::Interconnect::has_provisioned_link_count ( ) const
inline

Determine if the 'provisionedLinkCount' attribute was set.

Returns
true if the 'provisionedLinkCount' attribute was set.

◆ has_requested_link_count()

bool google_compute_api::Interconnect::has_requested_link_count ( ) const
inline

Determine if the 'requestedLinkCount' attribute was set.

Returns
true if the 'requestedLinkCount' attribute was set.

◆ has_self_link()

bool google_compute_api::Interconnect::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_state()

bool google_compute_api::Interconnect::has_state ( ) const
inline

Determine if the 'state' attribute was set.

Returns
true if the 'state' attribute was set.

◆ mutable_circuitInfos()

client::JsonCppArray<InterconnectCircuitInfo > google_compute_api::Interconnect::mutable_circuitInfos ( )

Gets a reference to a mutable value of the 'circuitInfos' property.

[Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG.

Returns
The result can be modified to change the attribute value.

◆ mutable_expectedOutages()

client::JsonCppArray<InterconnectOutageNotification > google_compute_api::Interconnect::mutable_expectedOutages ( )

Gets a reference to a mutable value of the 'expectedOutages' property.

[Output Only] A list of outages expected for this Interconnect.

Returns
The result can be modified to change the attribute value.

◆ mutable_interconnectAttachments()

client::JsonCppArray<string > google_compute_api::Interconnect::mutable_interconnectAttachments ( )
inline

Gets a reference to a mutable value of the 'interconnectAttachments' property.

[Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect.

Returns
The result can be modified to change the attribute value.

◆ New()

Interconnect * google_compute_api::Interconnect::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_admin_enabled()

void google_compute_api::Interconnect::set_admin_enabled ( bool  value)
inline

Change the 'adminEnabled' attribute.

Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true.

Parameters
[in]valueThe new value.

◆ set_creation_timestamp()

void google_compute_api::Interconnect::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_customer_name()

void google_compute_api::Interconnect::set_customer_name ( const StringPiece &  value)
inline

Change the 'customerName' attribute.

Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::Interconnect::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
[in]valueThe new value.

◆ set_google_ip_address()

void google_compute_api::Interconnect::set_google_ip_address ( const StringPiece &  value)
inline

Change the 'googleIpAddress' attribute.

[Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests.

Parameters
[in]valueThe new value.

◆ set_google_reference_id()

void google_compute_api::Interconnect::set_google_reference_id ( const StringPiece &  value)
inline

Change the 'googleReferenceId' attribute.

[Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues.

Parameters
[in]valueThe new value.

◆ set_id()

void google_compute_api::Interconnect::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
[in]valueThe new value.

◆ set_interconnect_type()

void google_compute_api::Interconnect::set_interconnect_type ( const StringPiece &  value)
inline

Change the 'interconnectType' attribute.

Type of interconnect. Note that "IT_PRIVATE" has been deprecated in favor of "DEDICATED".

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::Interconnect::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] Type of the resource. Always compute::interconnect for interconnects.

Parameters
[in]valueThe new value.

◆ set_link_type()

void google_compute_api::Interconnect::set_link_type ( const StringPiece &  value)
inline

Change the 'linkType' attribute.

Type of link requested. This field indicates speed of each of the links in the bundle, not the entire bundle.

Parameters
[in]valueThe new value.

◆ set_location()

void google_compute_api::Interconnect::set_location ( const StringPiece &  value)
inline

Change the 'location' attribute.

URL of the InterconnectLocation object that represents where this connection is to be provisioned.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::Interconnect::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
[in]valueThe new value.

◆ set_noc_contact_email()

void google_compute_api::Interconnect::set_noc_contact_email ( const StringPiece &  value)
inline

Change the 'nocContactEmail' attribute.

Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications.

Parameters
[in]valueThe new value.

◆ set_operational_status()

void google_compute_api::Interconnect::set_operational_status ( const StringPiece &  value)
inline

Change the 'operationalStatus' attribute.

[Output Only] The current status of whether or not this Interconnect is functional.

Parameters
[in]valueThe new value.

◆ set_peer_ip_address()

void google_compute_api::Interconnect::set_peer_ip_address ( const StringPiece &  value)
inline

Change the 'peerIpAddress' attribute.

[Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests.

Parameters
[in]valueThe new value.

◆ set_provisioned_link_count()

void google_compute_api::Interconnect::set_provisioned_link_count ( int32  value)
inline

Change the 'provisionedLinkCount' attribute.

[Output Only] Number of links actually provisioned in this interconnect.

Parameters
[in]valueThe new value.

◆ set_requested_link_count()

void google_compute_api::Interconnect::set_requested_link_count ( int32  value)
inline

Change the 'requestedLinkCount' attribute.

Target number of physical links in the link bundle, as requested by the customer.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::Interconnect::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

◆ set_state()

void google_compute_api::Interconnect::set_state ( const StringPiece &  value)
inline

Change the 'state' attribute.

[Output Only] The current state of whether or not this Interconnect is functional.

Parameters
[in]valueThe new value.

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