#include <router_interface.h>
◆ RouterInterface() [1/2]
google_compute_api::RouterInterface::RouterInterface |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ RouterInterface() [2/2]
google_compute_api::RouterInterface::RouterInterface |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~RouterInterface()
google_compute_api::RouterInterface::~RouterInterface |
( |
| ) |
|
|
virtual |
◆ clear_ip_range()
void google_compute_api::RouterInterface::clear_ip_range |
( |
| ) |
|
|
inline |
Clears the 'ipRange
' attribute.
◆ clear_linked_interconnect_attachment()
void google_compute_api::RouterInterface::clear_linked_interconnect_attachment |
( |
| ) |
|
|
inline |
Clears the 'linkedInterconnectAttachment
' attribute.
◆ clear_linked_vpn_tunnel()
void google_compute_api::RouterInterface::clear_linked_vpn_tunnel |
( |
| ) |
|
|
inline |
Clears the 'linkedVpnTunnel
' attribute.
◆ clear_management_type()
void google_compute_api::RouterInterface::clear_management_type |
( |
| ) |
|
|
inline |
Clears the 'managementType
' attribute.
◆ clear_name()
void google_compute_api::RouterInterface::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ get_ip_range()
const StringPiece google_compute_api::RouterInterface::get_ip_range |
( |
| ) |
const |
|
inline |
Get the value of the 'ipRange
' attribute.
◆ get_linked_interconnect_attachment()
const StringPiece google_compute_api::RouterInterface::get_linked_interconnect_attachment |
( |
| ) |
const |
|
inline |
Get the value of the 'linkedInterconnectAttachment
' attribute.
◆ get_linked_vpn_tunnel()
const StringPiece google_compute_api::RouterInterface::get_linked_vpn_tunnel |
( |
| ) |
const |
|
inline |
Get the value of the 'linkedVpnTunnel
' attribute.
◆ get_management_type()
const StringPiece google_compute_api::RouterInterface::get_management_type |
( |
| ) |
const |
|
inline |
Get the value of the 'managementType
' attribute.
◆ get_name()
const StringPiece google_compute_api::RouterInterface::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::RouterInterface::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_ip_range()
bool google_compute_api::RouterInterface::has_ip_range |
( |
| ) |
const |
|
inline |
Determine if the 'ipRange
' attribute was set.
- Returns
- true if the '
ipRange
' attribute was set.
◆ has_linked_interconnect_attachment()
bool google_compute_api::RouterInterface::has_linked_interconnect_attachment |
( |
| ) |
const |
|
inline |
Determine if the 'linkedInterconnectAttachment
' attribute was set.
- Returns
- true if the '
linkedInterconnectAttachment
' attribute was set.
◆ has_linked_vpn_tunnel()
bool google_compute_api::RouterInterface::has_linked_vpn_tunnel |
( |
| ) |
const |
|
inline |
Determine if the 'linkedVpnTunnel
' attribute was set.
- Returns
- true if the '
linkedVpnTunnel
' attribute was set.
◆ has_management_type()
bool google_compute_api::RouterInterface::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::RouterInterface::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_ip_range()
void google_compute_api::RouterInterface::set_ip_range |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'ipRange
' attribute.
IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
- Parameters
-
◆ set_linked_interconnect_attachment()
void google_compute_api::RouterInterface::set_linked_interconnect_attachment |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'linkedInterconnectAttachment
' attribute.
URI of the linked interconnect attachment. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
- Parameters
-
◆ set_linked_vpn_tunnel()
void google_compute_api::RouterInterface::set_linked_vpn_tunnel |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'linkedVpnTunnel
' attribute.
URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
- Parameters
-
◆ set_management_type()
void google_compute_api::RouterInterface::set_management_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'managementType
' attribute.
[Output Only] The resource that configures and manages this interface. MANAGED_BY_USER is the default value and can be managed by you or other users; MANAGED_BY_ATTACHMENT is an interface 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 interface when the PARTNER InterconnectAttachment is created, updated, or deleted.
- Parameters
-
◆ set_name()
void google_compute_api::RouterInterface::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
- Parameters
-
The documentation for this class was generated from the following files: