compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::DeprecationStatus Class Reference

#include <deprecation_status.h>

Inheritance diagram for google_compute_api::DeprecationStatus:

Public Member Functions

 DeprecationStatus (const Json::Value &storage)
 
 DeprecationStatus (Json::Value *storage)
 
virtual ~DeprecationStatus ()
 
const StringPiece GetTypeName () const
 
bool has_deleted () const
 
void clear_deleted ()
 
const StringPiece get_deleted () const
 
void set_deleted (const StringPiece &value)
 
bool has_deprecated () const
 
void clear_deprecated ()
 
const StringPiece get_deprecated () const
 
void set_deprecated (const StringPiece &value)
 
bool has_obsolete () const
 
void clear_obsolete ()
 
const StringPiece get_obsolete () const
 
void set_obsolete (const StringPiece &value)
 
bool has_replacement () const
 
void clear_replacement ()
 
const StringPiece get_replacement () const
 
void set_replacement (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 DeprecationStatusNew ()
 

Detailed Description

Deprecation status for a public resource.

Constructor & Destructor Documentation

◆ DeprecationStatus() [1/2]

google_compute_api::DeprecationStatus::DeprecationStatus ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ DeprecationStatus() [2/2]

google_compute_api::DeprecationStatus::DeprecationStatus ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~DeprecationStatus()

google_compute_api::DeprecationStatus::~DeprecationStatus ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_deleted()

void google_compute_api::DeprecationStatus::clear_deleted ( )
inline

Clears the 'deleted' attribute.

◆ clear_deprecated()

void google_compute_api::DeprecationStatus::clear_deprecated ( )
inline

Clears the 'deprecated' attribute.

◆ clear_obsolete()

void google_compute_api::DeprecationStatus::clear_obsolete ( )
inline

Clears the 'obsolete' attribute.

◆ clear_replacement()

void google_compute_api::DeprecationStatus::clear_replacement ( )
inline

Clears the 'replacement' attribute.

◆ clear_state()

void google_compute_api::DeprecationStatus::clear_state ( )
inline

Clears the 'state' attribute.

◆ get_deleted()

const StringPiece google_compute_api::DeprecationStatus::get_deleted ( ) const
inline

Get the value of the 'deleted' attribute.

◆ get_deprecated()

const StringPiece google_compute_api::DeprecationStatus::get_deprecated ( ) const
inline

Get the value of the 'deprecated' attribute.

◆ get_obsolete()

const StringPiece google_compute_api::DeprecationStatus::get_obsolete ( ) const
inline

Get the value of the 'obsolete' attribute.

◆ get_replacement()

const StringPiece google_compute_api::DeprecationStatus::get_replacement ( ) const
inline

Get the value of the 'replacement' attribute.

◆ get_state()

const StringPiece google_compute_api::DeprecationStatus::get_state ( ) const
inline

Get the value of the 'state' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::DeprecationStatus::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::DeprecationStatus

◆ has_deleted()

bool google_compute_api::DeprecationStatus::has_deleted ( ) const
inline

Determine if the 'deleted' attribute was set.

Returns
true if the 'deleted' attribute was set.

◆ has_deprecated()

bool google_compute_api::DeprecationStatus::has_deprecated ( ) const
inline

Determine if the 'deprecated' attribute was set.

Returns
true if the 'deprecated' attribute was set.

◆ has_obsolete()

bool google_compute_api::DeprecationStatus::has_obsolete ( ) const
inline

Determine if the 'obsolete' attribute was set.

Returns
true if the 'obsolete' attribute was set.

◆ has_replacement()

bool google_compute_api::DeprecationStatus::has_replacement ( ) const
inline

Determine if the 'replacement' attribute was set.

Returns
true if the 'replacement' attribute was set.

◆ has_state()

bool google_compute_api::DeprecationStatus::has_state ( ) const
inline

Determine if the 'state' attribute was set.

Returns
true if the 'state' attribute was set.

◆ New()

DeprecationStatus * google_compute_api::DeprecationStatus::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_deleted()

void google_compute_api::DeprecationStatus::set_deleted ( const StringPiece &  value)
inline

Change the 'deleted' attribute.

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.

Parameters
[in]valueThe new value.

◆ set_deprecated()

void google_compute_api::DeprecationStatus::set_deprecated ( const StringPiece &  value)
inline

Change the 'deprecated' attribute.

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.

Parameters
[in]valueThe new value.

◆ set_obsolete()

void google_compute_api::DeprecationStatus::set_obsolete ( const StringPiece &  value)
inline

Change the 'obsolete' attribute.

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.

Parameters
[in]valueThe new value.

◆ set_replacement()

void google_compute_api::DeprecationStatus::set_replacement ( const StringPiece &  value)
inline

Change the 'replacement' attribute.

The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.

Parameters
[in]valueThe new value.

◆ set_state()

void google_compute_api::DeprecationStatus::set_state ( const StringPiece &  value)
inline

Change the 'state' attribute.

The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.

Parameters
[in]valueThe new value.

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