#include <license.h>
◆ License() [1/2]
google_compute_api::License::License |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ License() [2/2]
google_compute_api::License::License |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~License()
google_compute_api::License::~License |
( |
| ) |
|
|
virtual |
◆ clear_charges_use_fee()
void google_compute_api::License::clear_charges_use_fee |
( |
| ) |
|
|
inline |
Clears the 'chargesUseFee
' attribute.
◆ clear_creation_timestamp()
void google_compute_api::License::clear_creation_timestamp |
( |
| ) |
|
|
inline |
Clears the 'creationTimestamp
' attribute.
◆ clear_description()
void google_compute_api::License::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_id()
void google_compute_api::License::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_kind()
void google_compute_api::License::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_license_code()
void google_compute_api::License::clear_license_code |
( |
| ) |
|
|
inline |
Clears the 'licenseCode
' attribute.
◆ clear_name()
void google_compute_api::License::clear_name |
( |
| ) |
|
|
inline |
Clears the 'name
' attribute.
◆ clear_resource_requirements()
void google_compute_api::License::clear_resource_requirements |
( |
| ) |
|
|
inline |
Clears the 'resourceRequirements
' attribute.
◆ clear_self_link()
void google_compute_api::License::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ clear_transferable()
void google_compute_api::License::clear_transferable |
( |
| ) |
|
|
inline |
Clears the 'transferable
' attribute.
◆ get_charges_use_fee()
bool google_compute_api::License::get_charges_use_fee |
( |
| ) |
const |
|
inline |
Get the value of the 'chargesUseFee
' attribute.
◆ get_creation_timestamp()
const StringPiece google_compute_api::License::get_creation_timestamp |
( |
| ) |
const |
|
inline |
Get the value of the 'creationTimestamp
' attribute.
◆ get_description()
const StringPiece google_compute_api::License::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_id()
uint64 google_compute_api::License::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_kind()
const StringPiece google_compute_api::License::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_license_code()
uint64 google_compute_api::License::get_license_code |
( |
| ) |
const |
|
inline |
Get the value of the 'licenseCode
' attribute.
◆ get_name()
const StringPiece google_compute_api::License::get_name |
( |
| ) |
const |
|
inline |
Get the value of the 'name
' attribute.
◆ get_resource_requirements()
Get a reference to the value of the 'resourceRequirements
' attribute.
◆ get_self_link()
const StringPiece google_compute_api::License::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ get_transferable()
bool google_compute_api::License::get_transferable |
( |
| ) |
const |
|
inline |
Get the value of the 'transferable
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::License::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_charges_use_fee()
bool google_compute_api::License::has_charges_use_fee |
( |
| ) |
const |
|
inline |
Determine if the 'chargesUseFee
' attribute was set.
- Returns
- true if the '
chargesUseFee
' attribute was set.
◆ has_creation_timestamp()
bool google_compute_api::License::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::License::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::License::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::License::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_license_code()
bool google_compute_api::License::has_license_code |
( |
| ) |
const |
|
inline |
Determine if the 'licenseCode
' attribute was set.
- Returns
- true if the '
licenseCode
' attribute was set.
◆ has_name()
bool google_compute_api::License::has_name |
( |
| ) |
const |
|
inline |
Determine if the 'name
' attribute was set.
- Returns
- true if the '
name
' attribute was set.
◆ has_resource_requirements()
bool google_compute_api::License::has_resource_requirements |
( |
| ) |
const |
|
inline |
Determine if the 'resourceRequirements
' attribute was set.
- Returns
- true if the '
resourceRequirements
' attribute was set.
◆ has_self_link()
bool google_compute_api::License::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ has_transferable()
bool google_compute_api::License::has_transferable |
( |
| ) |
const |
|
inline |
Determine if the 'transferable
' attribute was set.
- Returns
- true if the '
transferable
' attribute was set.
◆ mutable_resourceRequirements()
Gets a reference to a mutable value of the 'resourceRequirements
' property.
- Returns
- The result can be modified to change the attribute value.
◆ New()
License * google_compute_api::License::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_charges_use_fee()
void google_compute_api::License::set_charges_use_fee |
( |
bool |
value | ) |
|
|
inline |
Change the 'chargesUseFee
' attribute.
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
- Parameters
-
◆ set_creation_timestamp()
void google_compute_api::License::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::License::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
An optional textual description of the resource; provided by the client when the resource is created.
- Parameters
-
◆ set_id()
void google_compute_api::License::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::License::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of resource. Always compute::license for licenses.
- Parameters
-
◆ set_license_code()
void google_compute_api::License::set_license_code |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'licenseCode
' attribute.
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
- Parameters
-
◆ set_name()
void google_compute_api::License::set_name |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'name
' attribute.
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
- Parameters
-
◆ set_self_link()
void google_compute_api::License::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
- Parameters
-
◆ set_transferable()
void google_compute_api::License::set_transferable |
( |
bool |
value | ) |
|
|
inline |
Change the 'transferable
' attribute.
If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
- Parameters
-
The documentation for this class was generated from the following files:
- google/compute_api/license.h
- google/compute_api/license.cc