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

#include <customer_encryption_key.h>

Inheritance diagram for google_compute_api::CustomerEncryptionKey:

Public Member Functions

 CustomerEncryptionKey (const Json::Value &storage)
 
 CustomerEncryptionKey (Json::Value *storage)
 
virtual ~CustomerEncryptionKey ()
 
const StringPiece GetTypeName () const
 
bool has_kms_key_name () const
 
void clear_kms_key_name ()
 
const StringPiece get_kms_key_name () const
 
void set_kms_key_name (const StringPiece &value)
 
bool has_raw_key () const
 
void clear_raw_key ()
 
const StringPiece get_raw_key () const
 
void set_raw_key (const StringPiece &value)
 
bool has_sha256 () const
 
void clear_sha256 ()
 
const StringPiece get_sha256 () const
 
void set_sha256 (const StringPiece &value)
 

Static Public Member Functions

static CustomerEncryptionKeyNew ()
 

Detailed Description

Represents a customer-supplied encryption key.

Constructor & Destructor Documentation

◆ CustomerEncryptionKey() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CustomerEncryptionKey() [2/2]

google_compute_api::CustomerEncryptionKey::CustomerEncryptionKey ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~CustomerEncryptionKey()

google_compute_api::CustomerEncryptionKey::~CustomerEncryptionKey ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_kms_key_name()

void google_compute_api::CustomerEncryptionKey::clear_kms_key_name ( )
inline

Clears the 'kmsKeyName' attribute.

◆ clear_raw_key()

void google_compute_api::CustomerEncryptionKey::clear_raw_key ( )
inline

Clears the 'rawKey' attribute.

◆ clear_sha256()

void google_compute_api::CustomerEncryptionKey::clear_sha256 ( )
inline

Clears the 'sha256' attribute.

◆ get_kms_key_name()

const StringPiece google_compute_api::CustomerEncryptionKey::get_kms_key_name ( ) const
inline

Get the value of the 'kmsKeyName' attribute.

◆ get_raw_key()

const StringPiece google_compute_api::CustomerEncryptionKey::get_raw_key ( ) const
inline

Get the value of the 'rawKey' attribute.

◆ get_sha256()

const StringPiece google_compute_api::CustomerEncryptionKey::get_sha256 ( ) const
inline

Get the value of the 'sha256' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::CustomerEncryptionKey::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::CustomerEncryptionKey

◆ has_kms_key_name()

bool google_compute_api::CustomerEncryptionKey::has_kms_key_name ( ) const
inline

Determine if the 'kmsKeyName' attribute was set.

Returns
true if the 'kmsKeyName' attribute was set.

◆ has_raw_key()

bool google_compute_api::CustomerEncryptionKey::has_raw_key ( ) const
inline

Determine if the 'rawKey' attribute was set.

Returns
true if the 'rawKey' attribute was set.

◆ has_sha256()

bool google_compute_api::CustomerEncryptionKey::has_sha256 ( ) const
inline

Determine if the 'sha256' attribute was set.

Returns
true if the 'sha256' attribute was set.

◆ New()

CustomerEncryptionKey * google_compute_api::CustomerEncryptionKey::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kms_key_name()

void google_compute_api::CustomerEncryptionKey::set_kms_key_name ( const StringPiece &  value)
inline

Change the 'kmsKeyName' attribute.

The name of the encryption key that is stored in Google Cloud KMS.

Parameters
[in]valueThe new value.

◆ set_raw_key()

void google_compute_api::CustomerEncryptionKey::set_raw_key ( const StringPiece &  value)
inline

Change the 'rawKey' attribute.

Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource.

Parameters
[in]valueThe new value.

◆ set_sha256()

void google_compute_api::CustomerEncryptionKey::set_sha256 ( const StringPiece &  value)
inline

Change the 'sha256' attribute.

[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer- supplied encryption key that protects this resource.

Parameters
[in]valueThe new value.

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