deploymentmanager  v2
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_deploymentmanager_api::Resource Class Reference

#include <resource.h>

Inheritance diagram for google_deploymentmanager_api::Resource:

Classes

class  ResourceWarnings
 

Public Member Functions

 Resource (const Json::Value &storage)
 
 Resource (Json::Value *storage)
 
virtual ~Resource ()
 
const StringPiece GetTypeName () const
 
bool has_access_control () const
 
void clear_access_control ()
 
const ResourceAccessControl get_access_control () const
 
ResourceAccessControl mutable_accessControl ()
 
bool has_final_properties () const
 
void clear_final_properties ()
 
const StringPiece get_final_properties () const
 
void set_final_properties (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_insert_time () const
 
void clear_insert_time ()
 
const StringPiece get_insert_time () const
 
void set_insert_time (const StringPiece &value)
 
bool has_manifest () const
 
void clear_manifest ()
 
const StringPiece get_manifest () const
 
void set_manifest (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_properties () const
 
void clear_properties ()
 
const StringPiece get_properties () const
 
void set_properties (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 
bool has_update () const
 
void clear_update ()
 
const ResourceUpdate get_update () const
 
ResourceUpdate mutable_update ()
 
bool has_update_time () const
 
void clear_update_time ()
 
const StringPiece get_update_time () const
 
void set_update_time (const StringPiece &value)
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 
bool has_warnings () const
 
void clear_warnings ()
 
const client::JsonCppArray< ResourceWarningsget_warnings () const
 
client::JsonCppArray< ResourceWarningsmutable_warnings ()
 

Static Public Member Functions

static ResourceNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Resource() [1/2]

google_deploymentmanager_api::Resource::Resource ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Resource() [2/2]

google_deploymentmanager_api::Resource::Resource ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Resource()

google_deploymentmanager_api::Resource::~Resource ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_access_control()

void google_deploymentmanager_api::Resource::clear_access_control ( )
inline

Clears the 'accessControl' attribute.

◆ clear_final_properties()

void google_deploymentmanager_api::Resource::clear_final_properties ( )
inline

Clears the 'finalProperties' attribute.

◆ clear_id()

void google_deploymentmanager_api::Resource::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_insert_time()

void google_deploymentmanager_api::Resource::clear_insert_time ( )
inline

Clears the 'insertTime' attribute.

◆ clear_manifest()

void google_deploymentmanager_api::Resource::clear_manifest ( )
inline

Clears the 'manifest' attribute.

◆ clear_name()

void google_deploymentmanager_api::Resource::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_properties()

void google_deploymentmanager_api::Resource::clear_properties ( )
inline

Clears the 'properties' attribute.

◆ clear_type()

void google_deploymentmanager_api::Resource::clear_type ( )
inline

Clears the 'type' attribute.

◆ clear_update()

void google_deploymentmanager_api::Resource::clear_update ( )
inline

Clears the 'update' attribute.

◆ clear_update_time()

void google_deploymentmanager_api::Resource::clear_update_time ( )
inline

Clears the 'updateTime' attribute.

◆ clear_url()

void google_deploymentmanager_api::Resource::clear_url ( )
inline

Clears the 'url' attribute.

◆ clear_warnings()

void google_deploymentmanager_api::Resource::clear_warnings ( )
inline

Clears the 'warnings' attribute.

◆ get_access_control()

const ResourceAccessControl google_deploymentmanager_api::Resource::get_access_control ( ) const

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

◆ get_final_properties()

const StringPiece google_deploymentmanager_api::Resource::get_final_properties ( ) const
inline

Get the value of the 'finalProperties' attribute.

◆ get_id()

uint64 google_deploymentmanager_api::Resource::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_insert_time()

const StringPiece google_deploymentmanager_api::Resource::get_insert_time ( ) const
inline

Get the value of the 'insertTime' attribute.

◆ get_manifest()

const StringPiece google_deploymentmanager_api::Resource::get_manifest ( ) const
inline

Get the value of the 'manifest' attribute.

◆ get_name()

const StringPiece google_deploymentmanager_api::Resource::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_properties()

const StringPiece google_deploymentmanager_api::Resource::get_properties ( ) const
inline

Get the value of the 'properties' attribute.

◆ get_type()

const StringPiece google_deploymentmanager_api::Resource::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ get_update()

const ResourceUpdate google_deploymentmanager_api::Resource::get_update ( ) const

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

◆ get_update_time()

const StringPiece google_deploymentmanager_api::Resource::get_update_time ( ) const
inline

Get the value of the 'updateTime' attribute.

◆ get_url()

const StringPiece google_deploymentmanager_api::Resource::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ get_warnings()

const client::JsonCppArray<ResourceWarnings > google_deploymentmanager_api::Resource::get_warnings ( ) const
inline

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

◆ GetTypeName()

const StringPiece google_deploymentmanager_api::Resource::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_deploymentmanager_api::Resource

◆ has_access_control()

bool google_deploymentmanager_api::Resource::has_access_control ( ) const
inline

Determine if the 'accessControl' attribute was set.

Returns
true if the 'accessControl' attribute was set.

◆ has_final_properties()

bool google_deploymentmanager_api::Resource::has_final_properties ( ) const
inline

Determine if the 'finalProperties' attribute was set.

Returns
true if the 'finalProperties' attribute was set.

◆ has_id()

bool google_deploymentmanager_api::Resource::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_insert_time()

bool google_deploymentmanager_api::Resource::has_insert_time ( ) const
inline

Determine if the 'insertTime' attribute was set.

Returns
true if the 'insertTime' attribute was set.

◆ has_manifest()

bool google_deploymentmanager_api::Resource::has_manifest ( ) const
inline

Determine if the 'manifest' attribute was set.

Returns
true if the 'manifest' attribute was set.

◆ has_name()

bool google_deploymentmanager_api::Resource::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_properties()

bool google_deploymentmanager_api::Resource::has_properties ( ) const
inline

Determine if the 'properties' attribute was set.

Returns
true if the 'properties' attribute was set.

◆ has_type()

bool google_deploymentmanager_api::Resource::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ has_update()

bool google_deploymentmanager_api::Resource::has_update ( ) const
inline

Determine if the 'update' attribute was set.

Returns
true if the 'update' attribute was set.

◆ has_update_time()

bool google_deploymentmanager_api::Resource::has_update_time ( ) const
inline

Determine if the 'updateTime' attribute was set.

Returns
true if the 'updateTime' attribute was set.

◆ has_url()

bool google_deploymentmanager_api::Resource::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ has_warnings()

bool google_deploymentmanager_api::Resource::has_warnings ( ) const
inline

Determine if the 'warnings' attribute was set.

Returns
true if the 'warnings' attribute was set.

◆ mutable_accessControl()

ResourceAccessControl google_deploymentmanager_api::Resource::mutable_accessControl ( )

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

The Access Control Policy set on this resource.

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

◆ mutable_update()

ResourceUpdate google_deploymentmanager_api::Resource::mutable_update ( )

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

Output only. If Deployment Manager is currently updating or previewing an update to this resource, the updated configuration appears here.

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

◆ mutable_warnings()

client::JsonCppArray<ResourceWarnings > google_deploymentmanager_api::Resource::mutable_warnings ( )
inline

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

Output only. If warning messages are generated during processing of this resource, this field will be populated.

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

◆ New()

Resource * google_deploymentmanager_api::Resource::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_final_properties()

void google_deploymentmanager_api::Resource::set_final_properties ( const StringPiece &  value)
inline

Change the 'finalProperties' attribute.

Output only. The evaluated properties of the resource with references expanded. Returned as serialized YAML.

Parameters
[in]valueThe new value.

◆ set_id()

void google_deploymentmanager_api::Resource::set_id ( uint64  value)
inline

Change the 'id' attribute.

Parameters
[in]valueThe new value.

◆ set_insert_time()

void google_deploymentmanager_api::Resource::set_insert_time ( const StringPiece &  value)
inline

Change the 'insertTime' attribute.

Output only. Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_manifest()

void google_deploymentmanager_api::Resource::set_manifest ( const StringPiece &  value)
inline

Change the 'manifest' attribute.

Output only. URL of the manifest representing the current configuration of this resource.

Parameters
[in]valueThe new value.

◆ set_name()

void google_deploymentmanager_api::Resource::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

Output only. The name of the resource as it appears in the YAML config.

Parameters
[in]valueThe new value.

◆ set_properties()

void google_deploymentmanager_api::Resource::set_properties ( const StringPiece &  value)
inline

Change the 'properties' attribute.

Output only. The current properties of the resource before any references have been filled in. Returned as serialized YAML.

Parameters
[in]valueThe new value.

◆ set_type()

void google_deploymentmanager_api::Resource::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

Output only. The type of the resource, for example compute.v1.instance, or cloudfunctions.v1beta1.function.

Parameters
[in]valueThe new value.

◆ set_update_time()

void google_deploymentmanager_api::Resource::set_update_time ( const StringPiece &  value)
inline

Change the 'updateTime' attribute.

Output only. Update timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_url()

void google_deploymentmanager_api::Resource::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

Output only. The URL of the actual resource.

Parameters
[in]valueThe new value.

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