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

#include <license_code.h>

Inheritance diagram for google_compute_api::LicenseCode:

Public Member Functions

 LicenseCode (const Json::Value &storage)
 
 LicenseCode (Json::Value *storage)
 
virtual ~LicenseCode ()
 
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_license_alias () const
 
void clear_license_alias ()
 
const client::JsonCppArray< LicenseCodeLicenseAliasget_license_alias () const
 
client::JsonCppArray< LicenseCodeLicenseAliasmutable_licenseAlias ()
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_state () const
 
void clear_state ()
 
const StringPiece get_state () const
 
void set_state (const StringPiece &value)
 
bool has_transferable () const
 
void clear_transferable ()
 
bool get_transferable () const
 
void set_transferable (bool value)
 

Static Public Member Functions

static LicenseCodeNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ LicenseCode() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ~LicenseCode()

google_compute_api::LicenseCode::~LicenseCode ( )
virtual

Standard destructor.

Member Function Documentation

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

const client::JsonCppArray<LicenseCodeLicenseAlias > google_compute_api::LicenseCode::get_license_alias ( ) const

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::LicenseCode

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

client::JsonCppArray<LicenseCodeLicenseAlias > google_compute_api::LicenseCode::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()

LicenseCode * google_compute_api::LicenseCode::New ( )
static

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

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

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

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

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

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

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

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

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