container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::DatabaseEncryption Class Reference

#include <database_encryption.h>

Inheritance diagram for google_container_api::DatabaseEncryption:

Public Member Functions

 DatabaseEncryption (const Json::Value &storage)
 
 DatabaseEncryption (Json::Value *storage)
 
virtual ~DatabaseEncryption ()
 
const StringPiece GetTypeName () const
 
bool has_key_name () const
 
void clear_key_name ()
 
const StringPiece get_key_name () const
 
void set_key_name (const StringPiece &value)
 
bool has_state () const
 
void clear_state ()
 
const StringPiece get_state () const
 
void set_state (const StringPiece &value)
 

Static Public Member Functions

static DatabaseEncryptionNew ()
 

Detailed Description

Configuration of etcd encryption.

Constructor & Destructor Documentation

◆ DatabaseEncryption() [1/2]

google_container_api::DatabaseEncryption::DatabaseEncryption ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ DatabaseEncryption() [2/2]

google_container_api::DatabaseEncryption::DatabaseEncryption ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~DatabaseEncryption()

google_container_api::DatabaseEncryption::~DatabaseEncryption ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_key_name()

void google_container_api::DatabaseEncryption::clear_key_name ( )
inline

Clears the 'keyName' attribute.

◆ clear_state()

void google_container_api::DatabaseEncryption::clear_state ( )
inline

Clears the 'state' attribute.

◆ get_key_name()

const StringPiece google_container_api::DatabaseEncryption::get_key_name ( ) const
inline

Get the value of the 'keyName' attribute.

◆ get_state()

const StringPiece google_container_api::DatabaseEncryption::get_state ( ) const
inline

Get the value of the 'state' attribute.

◆ GetTypeName()

const StringPiece google_container_api::DatabaseEncryption::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_container_api::DatabaseEncryption

◆ has_key_name()

bool google_container_api::DatabaseEncryption::has_key_name ( ) const
inline

Determine if the 'keyName' attribute was set.

Returns
true if the 'keyName' attribute was set.

◆ has_state()

bool google_container_api::DatabaseEncryption::has_state ( ) const
inline

Determine if the 'state' attribute was set.

Returns
true if the 'state' attribute was set.

◆ New()

DatabaseEncryption * google_container_api::DatabaseEncryption::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_key_name()

void google_container_api::DatabaseEncryption::set_key_name ( const StringPiece &  value)
inline

Change the 'keyName' attribute.

Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my- key.

Parameters
[in]valueThe new value.

◆ set_state()

void google_container_api::DatabaseEncryption::set_state ( const StringPiece &  value)
inline

Change the 'state' attribute.

Denotes the state of etcd encryption.

Parameters
[in]valueThe new value.

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