#include <instance_template.h>
An Instance Template resource. (== resource_for beta.instanceTemplates ==) (== resource_for v1.instanceTemplates ==).
◆ InstanceTemplate() [1/2]
google_compute_api::InstanceTemplate::InstanceTemplate |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~InstanceTemplate()
google_compute_api::InstanceTemplate::~InstanceTemplate |
( |
| ) |
|
|
virtual |
◆ 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()
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 |
◆ 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()
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()
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()
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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: