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

#include <set_maintenance_policy_request.h>

Inheritance diagram for google_container_api::SetMaintenancePolicyRequest:

Public Member Functions

 SetMaintenancePolicyRequest (const Json::Value &storage)
 
 SetMaintenancePolicyRequest (Json::Value *storage)
 
virtual ~SetMaintenancePolicyRequest ()
 
const StringPiece GetTypeName () const
 
bool has_cluster_id () const
 
void clear_cluster_id ()
 
const StringPiece get_cluster_id () const
 
void set_cluster_id (const StringPiece &value)
 
bool has_maintenance_policy () const
 
void clear_maintenance_policy ()
 
const MaintenancePolicy get_maintenance_policy () const
 
MaintenancePolicy mutable_maintenancePolicy ()
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_project_id () const
 
void clear_project_id ()
 
const StringPiece get_project_id () const
 
void set_project_id (const StringPiece &value)
 
bool has_zone () const
 
void clear_zone ()
 
const StringPiece get_zone () const
 
void set_zone (const StringPiece &value)
 

Static Public Member Functions

static SetMaintenancePolicyRequestNew ()
 

Detailed Description

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Constructor & Destructor Documentation

◆ SetMaintenancePolicyRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ SetMaintenancePolicyRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~SetMaintenancePolicyRequest()

google_container_api::SetMaintenancePolicyRequest::~SetMaintenancePolicyRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_cluster_id()

void google_container_api::SetMaintenancePolicyRequest::clear_cluster_id ( )
inline

Clears the 'clusterId' attribute.

◆ clear_maintenance_policy()

void google_container_api::SetMaintenancePolicyRequest::clear_maintenance_policy ( )
inline

Clears the 'maintenancePolicy' attribute.

◆ clear_name()

void google_container_api::SetMaintenancePolicyRequest::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_project_id()

void google_container_api::SetMaintenancePolicyRequest::clear_project_id ( )
inline

Clears the 'projectId' attribute.

◆ clear_zone()

void google_container_api::SetMaintenancePolicyRequest::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_cluster_id()

const StringPiece google_container_api::SetMaintenancePolicyRequest::get_cluster_id ( ) const
inline

Get the value of the 'clusterId' attribute.

◆ get_maintenance_policy()

const MaintenancePolicy google_container_api::SetMaintenancePolicyRequest::get_maintenance_policy ( ) const

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

◆ get_name()

const StringPiece google_container_api::SetMaintenancePolicyRequest::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_project_id()

const StringPiece google_container_api::SetMaintenancePolicyRequest::get_project_id ( ) const
inline

Get the value of the 'projectId' attribute.

◆ get_zone()

const StringPiece google_container_api::SetMaintenancePolicyRequest::get_zone ( ) const
inline

Get the value of the 'zone' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::SetMaintenancePolicyRequest

◆ has_cluster_id()

bool google_container_api::SetMaintenancePolicyRequest::has_cluster_id ( ) const
inline

Determine if the 'clusterId' attribute was set.

Returns
true if the 'clusterId' attribute was set.

◆ has_maintenance_policy()

bool google_container_api::SetMaintenancePolicyRequest::has_maintenance_policy ( ) const
inline

Determine if the 'maintenancePolicy' attribute was set.

Returns
true if the 'maintenancePolicy' attribute was set.

◆ has_name()

bool google_container_api::SetMaintenancePolicyRequest::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_project_id()

bool google_container_api::SetMaintenancePolicyRequest::has_project_id ( ) const
inline

Determine if the 'projectId' attribute was set.

Returns
true if the 'projectId' attribute was set.

◆ has_zone()

bool google_container_api::SetMaintenancePolicyRequest::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ mutable_maintenancePolicy()

MaintenancePolicy google_container_api::SetMaintenancePolicyRequest::mutable_maintenancePolicy ( )

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

Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.

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

◆ New()

SetMaintenancePolicyRequest * google_container_api::SetMaintenancePolicyRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_cluster_id()

void google_container_api::SetMaintenancePolicyRequest::set_cluster_id ( const StringPiece &  value)
inline

Change the 'clusterId' attribute.

Required. The name of the cluster to update.

Parameters
[in]valueThe new value.

◆ set_name()

void google_container_api::SetMaintenancePolicyRequest::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format 'projects/locations/clusters'.

Parameters
[in]valueThe new value.

◆ set_project_id()

void google_container_api::SetMaintenancePolicyRequest::set_project_id ( const StringPiece &  value)
inline

Change the 'projectId' attribute.

Required. The Google Developers Console project ID or project number.

Parameters
[in]valueThe new value.

◆ set_zone()

void google_container_api::SetMaintenancePolicyRequest::set_zone ( const StringPiece &  value)
inline

Change the 'zone' attribute.

Required. The name of the Google Compute Engine zone in which the cluster resides.

Parameters
[in]valueThe new value.

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