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

#include <workload_metadata_config.h>

Inheritance diagram for google_container_api::WorkloadMetadataConfig:

Public Member Functions

 WorkloadMetadataConfig (const Json::Value &storage)
 
 WorkloadMetadataConfig (Json::Value *storage)
 
virtual ~WorkloadMetadataConfig ()
 
const StringPiece GetTypeName () const
 
bool has_mode () const
 
void clear_mode ()
 
const StringPiece get_mode () const
 
void set_mode (const StringPiece &value)
 

Static Public Member Functions

static WorkloadMetadataConfigNew ()
 

Detailed Description

WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.

Constructor & Destructor Documentation

◆ WorkloadMetadataConfig() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ WorkloadMetadataConfig() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~WorkloadMetadataConfig()

google_container_api::WorkloadMetadataConfig::~WorkloadMetadataConfig ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_mode()

void google_container_api::WorkloadMetadataConfig::clear_mode ( )
inline

Clears the 'mode' attribute.

◆ get_mode()

const StringPiece google_container_api::WorkloadMetadataConfig::get_mode ( ) const
inline

Get the value of the 'mode' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::WorkloadMetadataConfig

◆ has_mode()

bool google_container_api::WorkloadMetadataConfig::has_mode ( ) const
inline

Determine if the 'mode' attribute was set.

Returns
true if the 'mode' attribute was set.

◆ New()

WorkloadMetadataConfig * google_container_api::WorkloadMetadataConfig::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_mode()

void google_container_api::WorkloadMetadataConfig::set_mode ( const StringPiece &  value)
inline

Change the 'mode' attribute.

Mode is the configuration for how to expose metadata to workloads running on the node pool.

Parameters
[in]valueThe new value.

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