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

#include <autoprovisioning_node_pool_defaults.h>

Inheritance diagram for google_container_api::AutoprovisioningNodePoolDefaults:

Public Member Functions

 AutoprovisioningNodePoolDefaults (const Json::Value &storage)
 
 AutoprovisioningNodePoolDefaults (Json::Value *storage)
 
virtual ~AutoprovisioningNodePoolDefaults ()
 
const StringPiece GetTypeName () const
 
bool has_management () const
 
void clear_management ()
 
const NodeManagement get_management () const
 
NodeManagement mutable_management ()
 
bool has_oauth_scopes () const
 
void clear_oauth_scopes ()
 
const client::JsonCppArray< string > get_oauth_scopes () const
 
client::JsonCppArray< string > mutable_oauthScopes ()
 
bool has_service_account () const
 
void clear_service_account ()
 
const StringPiece get_service_account () const
 
void set_service_account (const StringPiece &value)
 
bool has_upgrade_settings () const
 
void clear_upgrade_settings ()
 
const UpgradeSettings get_upgrade_settings () const
 
UpgradeSettings mutable_upgradeSettings ()
 

Static Public Member Functions

static AutoprovisioningNodePoolDefaultsNew ()
 

Detailed Description

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

Constructor & Destructor Documentation

◆ AutoprovisioningNodePoolDefaults() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ AutoprovisioningNodePoolDefaults() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~AutoprovisioningNodePoolDefaults()

google_container_api::AutoprovisioningNodePoolDefaults::~AutoprovisioningNodePoolDefaults ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_management()

void google_container_api::AutoprovisioningNodePoolDefaults::clear_management ( )
inline

Clears the 'management' attribute.

◆ clear_oauth_scopes()

void google_container_api::AutoprovisioningNodePoolDefaults::clear_oauth_scopes ( )
inline

Clears the 'oauthScopes' attribute.

◆ clear_service_account()

void google_container_api::AutoprovisioningNodePoolDefaults::clear_service_account ( )
inline

Clears the 'serviceAccount' attribute.

◆ clear_upgrade_settings()

void google_container_api::AutoprovisioningNodePoolDefaults::clear_upgrade_settings ( )
inline

Clears the 'upgradeSettings' attribute.

◆ get_management()

const NodeManagement google_container_api::AutoprovisioningNodePoolDefaults::get_management ( ) const

Get a reference to the value of the 'management' attribute.

◆ get_oauth_scopes()

const client::JsonCppArray<string > google_container_api::AutoprovisioningNodePoolDefaults::get_oauth_scopes ( ) const
inline

Get a reference to the value of the 'oauthScopes' attribute.

◆ get_service_account()

const StringPiece google_container_api::AutoprovisioningNodePoolDefaults::get_service_account ( ) const
inline

Get the value of the 'serviceAccount' attribute.

◆ get_upgrade_settings()

const UpgradeSettings google_container_api::AutoprovisioningNodePoolDefaults::get_upgrade_settings ( ) const

Get a reference to the value of the 'upgradeSettings' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::AutoprovisioningNodePoolDefaults

◆ has_management()

bool google_container_api::AutoprovisioningNodePoolDefaults::has_management ( ) const
inline

Determine if the 'management' attribute was set.

Returns
true if the 'management' attribute was set.

◆ has_oauth_scopes()

bool google_container_api::AutoprovisioningNodePoolDefaults::has_oauth_scopes ( ) const
inline

Determine if the 'oauthScopes' attribute was set.

Returns
true if the 'oauthScopes' attribute was set.

◆ has_service_account()

bool google_container_api::AutoprovisioningNodePoolDefaults::has_service_account ( ) const
inline

Determine if the 'serviceAccount' attribute was set.

Returns
true if the 'serviceAccount' attribute was set.

◆ has_upgrade_settings()

bool google_container_api::AutoprovisioningNodePoolDefaults::has_upgrade_settings ( ) const
inline

Determine if the 'upgradeSettings' attribute was set.

Returns
true if the 'upgradeSettings' attribute was set.

◆ mutable_management()

NodeManagement google_container_api::AutoprovisioningNodePoolDefaults::mutable_management ( )

Gets a reference to a mutable value of the 'management' property.

Specifies the node management options for NAP created node-pools.

Returns
The result can be modified to change the attribute value.

◆ mutable_oauthScopes()

client::JsonCppArray<string > google_container_api::AutoprovisioningNodePoolDefaults::mutable_oauthScopes ( )
inline

Gets a reference to a mutable value of the 'oauthScopes' property.

Scopes that are used by NAP when creating node pools. If oauth_scopes are specified, service_account should be empty.

Returns
The result can be modified to change the attribute value.

◆ mutable_upgradeSettings()

UpgradeSettings google_container_api::AutoprovisioningNodePoolDefaults::mutable_upgradeSettings ( )

Gets a reference to a mutable value of the 'upgradeSettings' property.

Specifies the upgrade settings for NAP created node pools.

Returns
The result can be modified to change the attribute value.

◆ New()

AutoprovisioningNodePoolDefaults * google_container_api::AutoprovisioningNodePoolDefaults::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_service_account()

void google_container_api::AutoprovisioningNodePoolDefaults::set_service_account ( const StringPiece &  value)
inline

Change the 'serviceAccount' attribute.

The Google Cloud Platform Service Account to be used by the node VMs. If service_account is specified, scopes should be empty.

Parameters
[in]valueThe new value.

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