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

#include <image.h>

Inheritance diagram for google_compute_api::Image::ImageRawDisk:

Public Member Functions

 ImageRawDisk (const Json::Value &storage)
 
 ImageRawDisk (Json::Value *storage)
 
virtual ~ImageRawDisk ()
 
const StringPiece GetTypeName () const
 
bool has_container_type () const
 
void clear_container_type ()
 
const StringPiece get_container_type () const
 
void set_container_type (const StringPiece &value)
 
bool has_sha1_checksum () const
 
void clear_sha1_checksum ()
 
const StringPiece get_sha1_checksum () const
 
void set_sha1_checksum (const StringPiece &value)
 
bool has_source () const
 
void clear_source ()
 
const StringPiece get_source () const
 
void set_source (const StringPiece &value)
 

Static Public Member Functions

static ImageRawDiskNew ()
 

Detailed Description

The parameters of the raw disk image.

Constructor & Destructor Documentation

◆ ImageRawDisk() [1/2]

google_compute_api::Image::ImageRawDisk::ImageRawDisk ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ImageRawDisk() [2/2]

google_compute_api::Image::ImageRawDisk::ImageRawDisk ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ImageRawDisk()

google_compute_api::Image::ImageRawDisk::~ImageRawDisk ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_container_type()

void google_compute_api::Image::ImageRawDisk::clear_container_type ( )
inline

Clears the 'containerType' attribute.

◆ clear_sha1_checksum()

void google_compute_api::Image::ImageRawDisk::clear_sha1_checksum ( )
inline

Clears the 'sha1Checksum' attribute.

◆ clear_source()

void google_compute_api::Image::ImageRawDisk::clear_source ( )
inline

Clears the 'source' attribute.

◆ get_container_type()

const StringPiece google_compute_api::Image::ImageRawDisk::get_container_type ( ) const
inline

Get the value of the 'containerType' attribute.

◆ get_sha1_checksum()

const StringPiece google_compute_api::Image::ImageRawDisk::get_sha1_checksum ( ) const
inline

Get the value of the 'sha1Checksum' attribute.

◆ get_source()

const StringPiece google_compute_api::Image::ImageRawDisk::get_source ( ) const
inline

Get the value of the 'source' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::Image::ImageRawDisk::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::ImageRawDisk

◆ has_container_type()

bool google_compute_api::Image::ImageRawDisk::has_container_type ( ) const
inline

Determine if the 'containerType' attribute was set.

Returns
true if the 'containerType' attribute was set.

◆ has_sha1_checksum()

bool google_compute_api::Image::ImageRawDisk::has_sha1_checksum ( ) const
inline

Determine if the 'sha1Checksum' attribute was set.

Returns
true if the 'sha1Checksum' attribute was set.

◆ has_source()

bool google_compute_api::Image::ImageRawDisk::has_source ( ) const
inline

Determine if the 'source' attribute was set.

Returns
true if the 'source' attribute was set.

◆ New()

Image::ImageRawDisk * google_compute_api::Image::ImageRawDisk::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_container_type()

void google_compute_api::Image::ImageRawDisk::set_container_type ( const StringPiece &  value)
inline

Change the 'containerType' attribute.

The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.

Parameters
[in]valueThe new value.

◆ set_sha1_checksum()

void google_compute_api::Image::ImageRawDisk::set_sha1_checksum ( const StringPiece &  value)
inline

Change the 'sha1Checksum' attribute.

An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.

Parameters
[in]valueThe new value.

◆ set_source()

void google_compute_api::Image::ImageRawDisk::set_source ( const StringPiece &  value)
inline

Change the 'source' attribute.

The full Google Cloud Storage URL where the disk image is stored. You must provide either this property or the sourceDisk property but not both.

Parameters
[in]valueThe new value.

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