#include <resource.h>
◆ Resource() [1/2]
google_deploymentmanager_api::Resource::Resource |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~Resource()
google_deploymentmanager_api::Resource::~Resource |
( |
| ) |
|
|
virtual |
◆ 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()
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 |
◆ 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()
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
-
◆ set_id()
void google_deploymentmanager_api::Resource::set_id |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'id
' attribute.
- Parameters
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/deploymentmanager_api/resource.h
- google/deploymentmanager_api/resource.cc