#include <network_endpoint.h>
◆ NetworkEndpoint() [1/2]
google_compute_api::NetworkEndpoint::NetworkEndpoint |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ NetworkEndpoint() [2/2]
google_compute_api::NetworkEndpoint::NetworkEndpoint |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~NetworkEndpoint()
google_compute_api::NetworkEndpoint::~NetworkEndpoint |
( |
| ) |
|
|
virtual |
◆ clear_instance()
void google_compute_api::NetworkEndpoint::clear_instance |
( |
| ) |
|
|
inline |
Clears the 'instance
' attribute.
◆ clear_ip_address()
void google_compute_api::NetworkEndpoint::clear_ip_address |
( |
| ) |
|
|
inline |
Clears the 'ipAddress
' attribute.
◆ clear_port()
void google_compute_api::NetworkEndpoint::clear_port |
( |
| ) |
|
|
inline |
Clears the 'port
' attribute.
◆ get_instance()
const StringPiece google_compute_api::NetworkEndpoint::get_instance |
( |
| ) |
const |
|
inline |
Get the value of the 'instance
' attribute.
◆ get_ip_address()
const StringPiece google_compute_api::NetworkEndpoint::get_ip_address |
( |
| ) |
const |
|
inline |
Get the value of the 'ipAddress
' attribute.
◆ get_port()
int32 google_compute_api::NetworkEndpoint::get_port |
( |
| ) |
const |
|
inline |
Get the value of the 'port
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::NetworkEndpoint::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_instance()
bool google_compute_api::NetworkEndpoint::has_instance |
( |
| ) |
const |
|
inline |
Determine if the 'instance
' attribute was set.
- Returns
- true if the '
instance
' attribute was set.
◆ has_ip_address()
bool google_compute_api::NetworkEndpoint::has_ip_address |
( |
| ) |
const |
|
inline |
Determine if the 'ipAddress
' attribute was set.
- Returns
- true if the '
ipAddress
' attribute was set.
◆ has_port()
bool google_compute_api::NetworkEndpoint::has_port |
( |
| ) |
const |
|
inline |
Determine if the 'port
' attribute was set.
- Returns
- true if the '
port
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_instance()
void google_compute_api::NetworkEndpoint::set_instance |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'instance
' attribute.
The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group.
The name must be 1-63 characters long, and comply with RFC1035.
- Parameters
-
◆ set_ip_address()
void google_compute_api::NetworkEndpoint::set_ip_address |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'ipAddress
' attribute.
Optional IPv4 address of network endpoint. The IP address must belong to a VM in GCE (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used.
- Parameters
-
◆ set_port()
void google_compute_api::NetworkEndpoint::set_port |
( |
int32 |
value | ) |
|
|
inline |
Change the 'port
' attribute.
Optional port number of network endpoint. If not specified and the NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for the network endpoint group will be used.
- Parameters
-
The documentation for this class was generated from the following files: