#include <resource.h>
◆ ResourceWarnings() [1/2]
google_deploymentmanager_api::Resource::ResourceWarnings::ResourceWarnings |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ResourceWarnings() [2/2]
google_deploymentmanager_api::Resource::ResourceWarnings::ResourceWarnings |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ResourceWarnings()
google_deploymentmanager_api::Resource::ResourceWarnings::~ResourceWarnings |
( |
| ) |
|
|
virtual |
◆ clear_code()
void google_deploymentmanager_api::Resource::ResourceWarnings::clear_code |
( |
| ) |
|
|
inline |
Clears the 'code
' attribute.
◆ clear_data()
void google_deploymentmanager_api::Resource::ResourceWarnings::clear_data |
( |
| ) |
|
|
inline |
Clears the 'data
' attribute.
◆ clear_message()
void google_deploymentmanager_api::Resource::ResourceWarnings::clear_message |
( |
| ) |
|
|
inline |
Clears the 'message
' attribute.
◆ get_code()
const StringPiece google_deploymentmanager_api::Resource::ResourceWarnings::get_code |
( |
| ) |
const |
|
inline |
Get the value of the 'code
' attribute.
◆ get_data()
const client::JsonCppArray<ResourceWarningsData > google_deploymentmanager_api::Resource::ResourceWarnings::get_data |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'data
' attribute.
◆ get_message()
const StringPiece google_deploymentmanager_api::Resource::ResourceWarnings::get_message |
( |
| ) |
const |
|
inline |
Get the value of the 'message
' attribute.
◆ GetTypeName()
const StringPiece google_deploymentmanager_api::Resource::ResourceWarnings::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_deploymentmanager_api::ResourceWarnings
◆ has_code()
bool google_deploymentmanager_api::Resource::ResourceWarnings::has_code |
( |
| ) |
const |
|
inline |
Determine if the 'code
' attribute was set.
- Returns
- true if the '
code
' attribute was set.
◆ has_data()
bool google_deploymentmanager_api::Resource::ResourceWarnings::has_data |
( |
| ) |
const |
|
inline |
Determine if the 'data
' attribute was set.
- Returns
- true if the '
data
' attribute was set.
◆ has_message()
bool google_deploymentmanager_api::Resource::ResourceWarnings::has_message |
( |
| ) |
const |
|
inline |
Determine if the 'message
' attribute was set.
- Returns
- true if the '
message
' attribute was set.
◆ mutable_data()
client::JsonCppArray<ResourceWarningsData > google_deploymentmanager_api::Resource::ResourceWarnings::mutable_data |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'data
' property.
[Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_code()
void google_deploymentmanager_api::Resource::ResourceWarnings::set_code |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'code
' attribute.
[Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- Parameters
-
◆ set_message()
void google_deploymentmanager_api::Resource::ResourceWarnings::set_message |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'message
' attribute.
[Output Only] A human-readable description of the warning code.
- Parameters
-
The documentation for this class was generated from the following files:
- google/deploymentmanager_api/resource.h
- google/deploymentmanager_api/resource.cc