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

#include <target_instance.h>

Inheritance diagram for google_compute_api::TargetInstance:

Public Member Functions

 TargetInstance (const Json::Value &storage)
 
 TargetInstance (Json::Value *storage)
 
virtual ~TargetInstance ()
 
const StringPiece GetTypeName () const
 
bool has_creation_timestamp () const
 
void clear_creation_timestamp ()
 
const StringPiece get_creation_timestamp () const
 
void set_creation_timestamp (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_instance () const
 
void clear_instance ()
 
const StringPiece get_instance () const
 
void set_instance (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_nat_policy () const
 
void clear_nat_policy ()
 
const StringPiece get_nat_policy () const
 
void set_nat_policy (const StringPiece &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_zone () const
 
void clear_zone ()
 
const StringPiece get_zone () const
 
void set_zone (const StringPiece &value)
 

Static Public Member Functions

static TargetInstanceNew ()
 

Detailed Description

A TargetInstance resource. This resource defines an endpoint instance that terminates traffic of certain protocols. (== resource_for beta.targetInstances ==) (== resource_for v1.targetInstances ==).

Constructor & Destructor Documentation

◆ TargetInstance() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~TargetInstance()

google_compute_api::TargetInstance::~TargetInstance ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_compute_api::TargetInstance

◆ 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()

TargetInstance * google_compute_api::TargetInstance::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

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