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

#include <instance_template.h>

Inheritance diagram for google_compute_api::InstanceTemplate:

Public Member Functions

 InstanceTemplate (const Json::Value &storage)
 
 InstanceTemplate (Json::Value *storage)
 
virtual ~InstanceTemplate ()
 
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_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_properties () const
 
void clear_properties ()
 
const InstanceProperties get_properties () const
 
InstanceProperties mutable_properties ()
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_source_instance () const
 
void clear_source_instance ()
 
const StringPiece get_source_instance () const
 
void set_source_instance (const StringPiece &value)
 
bool has_source_instance_params () const
 
void clear_source_instance_params ()
 
const SourceInstanceParams get_source_instance_params () const
 
SourceInstanceParams mutable_sourceInstanceParams ()
 

Static Public Member Functions

static InstanceTemplateNew ()
 

Detailed Description

An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for v1.instanceTemplates ==).

Constructor & Destructor Documentation

◆ InstanceTemplate() [1/2]

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

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ InstanceTemplate() [2/2]

google_compute_api::InstanceTemplate::InstanceTemplate ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~InstanceTemplate()

google_compute_api::InstanceTemplate::~InstanceTemplate ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_creation_timestamp()

void google_compute_api::InstanceTemplate::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_description()

void google_compute_api::InstanceTemplate::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_id()

void google_compute_api::InstanceTemplate::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::InstanceTemplate::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::InstanceTemplate::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_properties()

void google_compute_api::InstanceTemplate::clear_properties ( )
inline

Clears the 'properties' attribute.

◆ clear_self_link()

void google_compute_api::InstanceTemplate::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_source_instance()

void google_compute_api::InstanceTemplate::clear_source_instance ( )
inline

Clears the 'sourceInstance' attribute.

◆ clear_source_instance_params()

void google_compute_api::InstanceTemplate::clear_source_instance_params ( )
inline

Clears the 'sourceInstanceParams' attribute.

◆ get_creation_timestamp()

const StringPiece google_compute_api::InstanceTemplate::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_description()

const StringPiece google_compute_api::InstanceTemplate::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_id()

uint64 google_compute_api::InstanceTemplate::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_compute_api::InstanceTemplate::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_compute_api::InstanceTemplate::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_properties()

const InstanceProperties google_compute_api::InstanceTemplate::get_properties ( ) const

Get a reference to the value of the 'properties' attribute.

◆ get_self_link()

const StringPiece google_compute_api::InstanceTemplate::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_source_instance()

const StringPiece google_compute_api::InstanceTemplate::get_source_instance ( ) const
inline

Get the value of the 'sourceInstance' attribute.

◆ get_source_instance_params()

const SourceInstanceParams google_compute_api::InstanceTemplate::get_source_instance_params ( ) const

Get a reference to the value of the 'sourceInstanceParams' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::InstanceTemplate::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstanceTemplate

◆ has_creation_timestamp()

bool google_compute_api::InstanceTemplate::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::InstanceTemplate::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::InstanceTemplate::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_compute_api::InstanceTemplate::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::InstanceTemplate::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_properties()

bool google_compute_api::InstanceTemplate::has_properties ( ) const
inline

Determine if the 'properties' attribute was set.

Returns
true if the 'properties' attribute was set.

◆ has_self_link()

bool google_compute_api::InstanceTemplate::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_source_instance()

bool google_compute_api::InstanceTemplate::has_source_instance ( ) const
inline

Determine if the 'sourceInstance' attribute was set.

Returns
true if the 'sourceInstance' attribute was set.

◆ has_source_instance_params()

bool google_compute_api::InstanceTemplate::has_source_instance_params ( ) const
inline

Determine if the 'sourceInstanceParams' attribute was set.

Returns
true if the 'sourceInstanceParams' attribute was set.

◆ mutable_properties()

InstanceProperties google_compute_api::InstanceTemplate::mutable_properties ( )

Gets a reference to a mutable value of the 'properties' property.

The instance properties for this instance template.

Returns
The result can be modified to change the attribute value.

◆ mutable_sourceInstanceParams()

SourceInstanceParams google_compute_api::InstanceTemplate::mutable_sourceInstanceParams ( )

Gets a reference to a mutable value of the 'sourceInstanceParams' property.

The source instance params to use to create this instance template.

Returns
The result can be modified to change the attribute value.

◆ New()

InstanceTemplate * google_compute_api::InstanceTemplate::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

void google_compute_api::InstanceTemplate::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] The creation timestamp for this instance template in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::InstanceTemplate::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::InstanceTemplate::set_id ( uint64  value)
inline

Change the 'id' attribute.

[Output Only] A unique identifier for this instance template. The server defines this identifier.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::InstanceTemplate::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] The resource type, which is always compute::instanceTemplate for instance templates.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::InstanceTemplate::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_self_link()

void google_compute_api::InstanceTemplate::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] The URL for this instance template. The server defines this URL.

Parameters
[in]valueThe new value.

◆ set_source_instance()

void google_compute_api::InstanceTemplate::set_source_instance ( const StringPiece &  value)
inline

Change the 'sourceInstance' attribute.

The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

Parameters
[in]valueThe new value.

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