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

#include <license.h>

Inheritance diagram for google_compute_api::License:

Public Member Functions

 License (const Json::Value &storage)
 
 License (Json::Value *storage)
 
virtual ~License ()
 
const StringPiece GetTypeName () const
 
bool has_charges_use_fee () const
 
void clear_charges_use_fee ()
 
bool get_charges_use_fee () const
 
void set_charges_use_fee (bool value)
 
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_license_code () const
 
void clear_license_code ()
 
uint64 get_license_code () const
 
void set_license_code (uint64 value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_resource_requirements () const
 
void clear_resource_requirements ()
 
const LicenseResourceRequirements get_resource_requirements () const
 
LicenseResourceRequirements mutable_resourceRequirements ()
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_transferable () const
 
void clear_transferable ()
 
bool get_transferable () const
 
void set_transferable (bool value)
 

Static Public Member Functions

static LicenseNew ()
 

Detailed Description

A license resource.

Constructor & Destructor Documentation

◆ License() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ~License()

google_compute_api::License::~License ( )
virtual

Standard destructor.

Member Function Documentation

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

const LicenseResourceRequirements google_compute_api::License::get_resource_requirements ( ) const

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::License

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

LicenseResourceRequirements google_compute_api::License::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
[in]valueThe new value.

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

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

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

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

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

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

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

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

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