#include <access_config.h>
An access configuration attached to an instance's network interface. Only one access config per instance is supported.
◆ AccessConfig() [1/2]
google_compute_api::AccessConfig::AccessConfig |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ AccessConfig() [2/2]
google_compute_api::AccessConfig::AccessConfig |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~AccessConfig()
google_compute_api::AccessConfig::~AccessConfig |
( |
| ) |
|
|
virtual |
◆ clear_kind()
void google_compute_api::AccessConfig::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_name()
void google_compute_api::AccessConfig::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_nat_ip()
void google_compute_api::AccessConfig::clear_nat_ip |
( |
| ) |
|
|
inline |
Clears the 'natIP
' attribute.
◆ clear_network_tier()
void google_compute_api::AccessConfig::clear_network_tier |
( |
| ) |
|
|
inline |
Clears the 'networkTier
' attribute.
◆ clear_public_ptr_domain_name()
void google_compute_api::AccessConfig::clear_public_ptr_domain_name |
( |
| ) |
|
|
inline |
Clears the 'publicPtrDomainName
' attribute.
◆ clear_set_public_ptr()
void google_compute_api::AccessConfig::clear_set_public_ptr |
( |
| ) |
|
|
inline |
Clears the 'setPublicPtr
' attribute.
◆ clear_type()
void google_compute_api::AccessConfig::clear_type |
( |
| ) |
|
|
inline |
Clears the 'type
' attribute.
◆ get_kind()
const StringPiece google_compute_api::AccessConfig::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_name()
const StringPiece google_compute_api::AccessConfig::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_nat_ip()
const StringPiece google_compute_api::AccessConfig::get_nat_ip |
( |
| ) |
const |
|
inline |
Get the value of the 'natIP
' attribute.
◆ get_network_tier()
const StringPiece google_compute_api::AccessConfig::get_network_tier |
( |
| ) |
const |
|
inline |
Get the value of the 'networkTier
' attribute.
◆ get_public_ptr_domain_name()
const StringPiece google_compute_api::AccessConfig::get_public_ptr_domain_name |
( |
| ) |
const |
|
inline |
Get the value of the 'publicPtrDomainName
' attribute.
◆ get_set_public_ptr()
bool google_compute_api::AccessConfig::get_set_public_ptr |
( |
| ) |
const |
|
inline |
Get the value of the 'setPublicPtr
' attribute.
◆ get_type()
const StringPiece google_compute_api::AccessConfig::get_type |
( |
| ) |
const |
|
inline |
Get the value of the 'type
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::AccessConfig::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_kind()
bool google_compute_api::AccessConfig::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_name()
bool google_compute_api::AccessConfig::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_nat_ip()
bool google_compute_api::AccessConfig::has_nat_ip |
( |
| ) |
const |
|
inline |
Determine if the 'natIP
' attribute was set.
- Returns
- true if the '
natIP
' attribute was set.
◆ has_network_tier()
bool google_compute_api::AccessConfig::has_network_tier |
( |
| ) |
const |
|
inline |
Determine if the 'networkTier
' attribute was set.
- Returns
- true if the '
networkTier
' attribute was set.
◆ has_public_ptr_domain_name()
bool google_compute_api::AccessConfig::has_public_ptr_domain_name |
( |
| ) |
const |
|
inline |
Determine if the 'publicPtrDomainName
' attribute was set.
- Returns
- true if the '
publicPtrDomainName
' attribute was set.
◆ has_set_public_ptr()
bool google_compute_api::AccessConfig::has_set_public_ptr |
( |
| ) |
const |
|
inline |
Determine if the 'setPublicPtr
' attribute was set.
- Returns
- true if the '
setPublicPtr
' attribute was set.
◆ has_type()
bool google_compute_api::AccessConfig::has_type |
( |
| ) |
const |
|
inline |
Determine if the 'type
' attribute was set.
- Returns
- true if the '
type
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_kind()
void google_compute_api::AccessConfig::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of the resource. Always compute::accessConfig for access configs.
- Parameters
-
◆ set_name()
void google_compute_api::AccessConfig::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
The name of this access configuration. The default and recommended name is External NAT but you can use any arbitrary string you would like. For example, My external IP or Network Access.
- Parameters
-
◆ set_nat_ip()
void google_compute_api::AccessConfig::set_nat_ip |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'natIP
' attribute.
An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance.
- Parameters
-
◆ set_network_tier()
void google_compute_api::AccessConfig::set_network_tier |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'networkTier
' attribute.
This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD.
If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier.
If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP.
- Parameters
-
◆ set_public_ptr_domain_name()
void google_compute_api::AccessConfig::set_public_ptr_domain_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'publicPtrDomainName
' attribute.
The DNS domain name for the public PTR record. This field can only be set when the set_public_ptr field is enabled.
- Parameters
-
◆ set_set_public_ptr()
void google_compute_api::AccessConfig::set_set_public_ptr |
( |
bool |
value | ) |
|
|
inline |
Change the 'setPublicPtr
' attribute.
Specifies whether a public DNS ?PTR? record should be created to map the external IP address of the instance to a DNS domain name.
- Parameters
-
◆ set_type()
void google_compute_api::AccessConfig::set_type |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'type
' attribute.
The type of configuration. The default and only option is ONE_TO_ONE_NAT.
- Parameters
-
The documentation for this class was generated from the following files: