#include <license_code.h>
◆ LicenseCode() [1/2]
google_compute_api::LicenseCode::LicenseCode |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ LicenseCode() [2/2]
google_compute_api::LicenseCode::LicenseCode |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~LicenseCode()
google_compute_api::LicenseCode::~LicenseCode |
( |
| ) |
|
|
virtual |
◆ clear_creation_timestamp()
void google_compute_api::LicenseCode::clear_creation_timestamp |
( |
| ) |
|
|
inline |
Clears the 'creationTimestamp
' attribute.
◆ clear_description()
void google_compute_api::LicenseCode::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_id()
void google_compute_api::LicenseCode::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_kind()
void google_compute_api::LicenseCode::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_license_alias()
void google_compute_api::LicenseCode::clear_license_alias |
( |
| ) |
|
|
inline |
Clears the 'licenseAlias
' attribute.
◆ clear_name()
void google_compute_api::LicenseCode::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_self_link()
void google_compute_api::LicenseCode::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ clear_state()
void google_compute_api::LicenseCode::clear_state |
( |
| ) |
|
|
inline |
Clears the 'state
' attribute.
◆ clear_transferable()
void google_compute_api::LicenseCode::clear_transferable |
( |
| ) |
|
|
inline |
Clears the 'transferable
' attribute.
◆ get_creation_timestamp()
const StringPiece google_compute_api::LicenseCode::get_creation_timestamp |
( |
| ) |
const |
|
inline |
Get the value of the 'creationTimestamp
' attribute.
◆ get_description()
const StringPiece google_compute_api::LicenseCode::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_id()
uint64 google_compute_api::LicenseCode::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_kind()
const StringPiece google_compute_api::LicenseCode::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_license_alias()
Get a reference to the value of the 'licenseAlias
' attribute.
◆ get_name()
const StringPiece google_compute_api::LicenseCode::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_self_link()
const StringPiece google_compute_api::LicenseCode::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ get_state()
const StringPiece google_compute_api::LicenseCode::get_state |
( |
| ) |
const |
|
inline |
Get the value of the 'state
' attribute.
◆ get_transferable()
bool google_compute_api::LicenseCode::get_transferable |
( |
| ) |
const |
|
inline |
Get the value of the 'transferable
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::LicenseCode::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_creation_timestamp()
bool google_compute_api::LicenseCode::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::LicenseCode::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::LicenseCode::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::LicenseCode::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_license_alias()
bool google_compute_api::LicenseCode::has_license_alias |
( |
| ) |
const |
|
inline |
Determine if the 'licenseAlias
' attribute was set.
- Returns
- true if the '
licenseAlias
' attribute was set.
◆ has_name()
bool google_compute_api::LicenseCode::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_self_link()
bool google_compute_api::LicenseCode::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ has_state()
bool google_compute_api::LicenseCode::has_state |
( |
| ) |
const |
|
inline |
Determine if the 'state
' attribute was set.
- Returns
- true if the '
state
' attribute was set.
◆ has_transferable()
bool google_compute_api::LicenseCode::has_transferable |
( |
| ) |
const |
|
inline |
Determine if the 'transferable
' attribute was set.
- Returns
- true if the '
transferable
' attribute was set.
◆ mutable_licenseAlias()
Gets a reference to a mutable value of the 'licenseAlias
' property.
[Output Only] URL and description aliases of Licenses with the same License Code.
- 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::LicenseCode::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::LicenseCode::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
[Output Only] Description of this License Code.
- Parameters
-
◆ set_id()
void google_compute_api::LicenseCode::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_kind()
void google_compute_api::LicenseCode::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of resource. Always compute::licenseCode for licenses.
- Parameters
-
◆ set_name()
void google_compute_api::LicenseCode::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
[Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.
- Parameters
-
◆ set_self_link()
void google_compute_api::LicenseCode::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
- Parameters
-
◆ set_state()
void google_compute_api::LicenseCode::set_state |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'state
' attribute.
[Output Only] Current state of this License Code.
- Parameters
-
◆ set_transferable()
void google_compute_api::LicenseCode::set_transferable |
( |
bool |
value | ) |
|
|
inline |
Change the 'transferable
' attribute.
[Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.
- Parameters
-
The documentation for this class was generated from the following files: