#include <target_instance.h>
A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for v1.targetInstances ==).
◆ TargetInstance() [1/2]
google_compute_api::TargetInstance::TargetInstance |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ TargetInstance() [2/2]
google_compute_api::TargetInstance::TargetInstance |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~TargetInstance()
google_compute_api::TargetInstance::~TargetInstance |
( |
| ) |
|
|
virtual |
◆ clear_creation_timestamp()
void google_compute_api::TargetInstance::clear_creation_timestamp |
( |
| ) |
|
|
inline |
Clears the 'creationTimestamp
' attribute.
◆ clear_description()
void google_compute_api::TargetInstance::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_id()
void google_compute_api::TargetInstance::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_instance()
void google_compute_api::TargetInstance::clear_instance |
( |
| ) |
|
|
inline |
Clears the 'instance
' attribute.
◆ clear_kind()
void google_compute_api::TargetInstance::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_name()
void google_compute_api::TargetInstance::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_nat_policy()
void google_compute_api::TargetInstance::clear_nat_policy |
( |
| ) |
|
|
inline |
Clears the 'natPolicy
' attribute.
◆ clear_self_link()
void google_compute_api::TargetInstance::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ clear_zone()
void google_compute_api::TargetInstance::clear_zone |
( |
| ) |
|
|
inline |
Clears the 'zone
' attribute.
◆ get_creation_timestamp()
const StringPiece google_compute_api::TargetInstance::get_creation_timestamp |
( |
| ) |
const |
|
inline |
Get the value of the 'creationTimestamp
' attribute.
◆ get_description()
const StringPiece google_compute_api::TargetInstance::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_id()
uint64 google_compute_api::TargetInstance::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_instance()
const StringPiece google_compute_api::TargetInstance::get_instance |
( |
| ) |
const |
|
inline |
Get the value of the 'instance
' attribute.
◆ get_kind()
const StringPiece google_compute_api::TargetInstance::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_name()
const StringPiece google_compute_api::TargetInstance::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_nat_policy()
const StringPiece google_compute_api::TargetInstance::get_nat_policy |
( |
| ) |
const |
|
inline |
Get the value of the 'natPolicy
' attribute.
◆ get_self_link()
const StringPiece google_compute_api::TargetInstance::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ get_zone()
const StringPiece google_compute_api::TargetInstance::get_zone |
( |
| ) |
const |
|
inline |
Get the value of the 'zone
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::TargetInstance::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_creation_timestamp()
bool google_compute_api::TargetInstance::has_creation_timestamp |
( |
| ) |
const |
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
- Returns
- true if the '
creationTimestamp
' attribute was set.
◆ has_description()
bool google_compute_api::TargetInstance::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_id()
bool google_compute_api::TargetInstance::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_instance()
bool google_compute_api::TargetInstance::has_instance |
( |
| ) |
const |
|
inline |
Determine if the 'instance
' attribute was set.
- Returns
- true if the '
instance
' attribute was set.
◆ has_kind()
bool google_compute_api::TargetInstance::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::TargetInstance::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_nat_policy()
bool google_compute_api::TargetInstance::has_nat_policy |
( |
| ) |
const |
|
inline |
Determine if the 'natPolicy
' attribute was set.
- Returns
- true if the '
natPolicy
' attribute was set.
◆ has_self_link()
bool google_compute_api::TargetInstance::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ has_zone()
bool google_compute_api::TargetInstance::has_zone |
( |
| ) |
const |
|
inline |
Determine if the 'zone
' attribute was set.
- Returns
- true if the '
zone
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_creation_timestamp()
void google_compute_api::TargetInstance::set_creation_timestamp |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'creationTimestamp
' attribute.
[Output Only] Creation timestamp in RFC3339 text format.
- Parameters
-
◆ set_description()
void google_compute_api::TargetInstance::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
-
◆ set_id()
void google_compute_api::TargetInstance::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
-
◆ set_instance()
void google_compute_api::TargetInstance::set_instance |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'instance
' attribute.
A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully- qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs:
- Parameters
-
◆ set_kind()
void google_compute_api::TargetInstance::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
[Output Only] The type of the resource. Always compute::targetInstance for target instances.
- Parameters
-
◆ set_name()
void google_compute_api::TargetInstance::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
-
◆ set_nat_policy()
void google_compute_api::TargetInstance::set_nat_policy |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'natPolicy
' attribute.
NAT option controlling how IPs are NAT'ed to the instance. Currently only NO_NAT (default value) is supported.
- Parameters
-
◆ set_self_link()
void google_compute_api::TargetInstance::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
- Parameters
-
◆ set_zone()
void google_compute_api::TargetInstance::set_zone |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'zone
' attribute.
[Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
- Parameters
-
The documentation for this class was generated from the following files: