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

#include <maintenance_window.h>

Inheritance diagram for google_container_api::MaintenanceWindow:

Public Member Functions

 MaintenanceWindow (const Json::Value &storage)
 
 MaintenanceWindow (Json::Value *storage)
 
virtual ~MaintenanceWindow ()
 
const StringPiece GetTypeName () const
 
bool has_daily_maintenance_window () const
 
void clear_daily_maintenance_window ()
 
const DailyMaintenanceWindow get_daily_maintenance_window () const
 
DailyMaintenanceWindow mutable_dailyMaintenanceWindow ()
 
bool has_maintenance_exclusions () const
 
void clear_maintenance_exclusions ()
 
const client::JsonCppAssociativeArray< TimeWindowget_maintenance_exclusions () const
 
client::JsonCppAssociativeArray< TimeWindowmutable_maintenanceExclusions ()
 
bool has_recurring_window () const
 
void clear_recurring_window ()
 
const RecurringTimeWindow get_recurring_window () const
 
RecurringTimeWindow mutable_recurringWindow ()
 

Static Public Member Functions

static MaintenanceWindowNew ()
 

Detailed Description

MaintenanceWindow defines the maintenance window to be used for the cluster.

Constructor & Destructor Documentation

◆ MaintenanceWindow() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ MaintenanceWindow() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~MaintenanceWindow()

google_container_api::MaintenanceWindow::~MaintenanceWindow ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_daily_maintenance_window()

void google_container_api::MaintenanceWindow::clear_daily_maintenance_window ( )
inline

Clears the 'dailyMaintenanceWindow' attribute.

◆ clear_maintenance_exclusions()

void google_container_api::MaintenanceWindow::clear_maintenance_exclusions ( )
inline

Clears the 'maintenanceExclusions' attribute.

◆ clear_recurring_window()

void google_container_api::MaintenanceWindow::clear_recurring_window ( )
inline

Clears the 'recurringWindow' attribute.

◆ get_daily_maintenance_window()

const DailyMaintenanceWindow google_container_api::MaintenanceWindow::get_daily_maintenance_window ( ) const

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

◆ get_maintenance_exclusions()

const client::JsonCppAssociativeArray<TimeWindow > google_container_api::MaintenanceWindow::get_maintenance_exclusions ( ) const

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

◆ get_recurring_window()

const RecurringTimeWindow google_container_api::MaintenanceWindow::get_recurring_window ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::MaintenanceWindow

◆ has_daily_maintenance_window()

bool google_container_api::MaintenanceWindow::has_daily_maintenance_window ( ) const
inline

Determine if the 'dailyMaintenanceWindow' attribute was set.

Returns
true if the 'dailyMaintenanceWindow' attribute was set.

◆ has_maintenance_exclusions()

bool google_container_api::MaintenanceWindow::has_maintenance_exclusions ( ) const
inline

Determine if the 'maintenanceExclusions' attribute was set.

Returns
true if the 'maintenanceExclusions' attribute was set.

◆ has_recurring_window()

bool google_container_api::MaintenanceWindow::has_recurring_window ( ) const
inline

Determine if the 'recurringWindow' attribute was set.

Returns
true if the 'recurringWindow' attribute was set.

◆ mutable_dailyMaintenanceWindow()

DailyMaintenanceWindow google_container_api::MaintenanceWindow::mutable_dailyMaintenanceWindow ( )

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

DailyMaintenanceWindow specifies a daily maintenance operation window.

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

◆ mutable_maintenanceExclusions()

client::JsonCppAssociativeArray<TimeWindow > google_container_api::MaintenanceWindow::mutable_maintenanceExclusions ( )

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

Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.

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

◆ mutable_recurringWindow()

RecurringTimeWindow google_container_api::MaintenanceWindow::mutable_recurringWindow ( )

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

RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.

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

◆ New()

MaintenanceWindow * google_container_api::MaintenanceWindow::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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