#include <global_set_labels_request.h>
◆ GlobalSetLabelsRequest() [1/2]
google_compute_api::GlobalSetLabelsRequest::GlobalSetLabelsRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ GlobalSetLabelsRequest() [2/2]
google_compute_api::GlobalSetLabelsRequest::GlobalSetLabelsRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~GlobalSetLabelsRequest()
google_compute_api::GlobalSetLabelsRequest::~GlobalSetLabelsRequest |
( |
| ) |
|
|
virtual |
◆ clear_label_fingerprint()
void google_compute_api::GlobalSetLabelsRequest::clear_label_fingerprint |
( |
| ) |
|
|
inline |
Clears the 'labelFingerprint
' attribute.
◆ clear_labels()
void google_compute_api::GlobalSetLabelsRequest::clear_labels |
( |
| ) |
|
|
inline |
Clears the 'labels
' attribute.
◆ get_label_fingerprint()
const StringPiece google_compute_api::GlobalSetLabelsRequest::get_label_fingerprint |
( |
| ) |
const |
|
inline |
Get the value of the 'labelFingerprint
' attribute.
◆ get_labels()
const client::JsonCppAssociativeArray<string > google_compute_api::GlobalSetLabelsRequest::get_labels |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'labels
' attribute.
◆ GetTypeName()
const StringPiece google_compute_api::GlobalSetLabelsRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_label_fingerprint()
bool google_compute_api::GlobalSetLabelsRequest::has_label_fingerprint |
( |
| ) |
const |
|
inline |
Determine if the 'labelFingerprint
' attribute was set.
- Returns
- true if the '
labelFingerprint
' attribute was set.
◆ has_labels()
bool google_compute_api::GlobalSetLabelsRequest::has_labels |
( |
| ) |
const |
|
inline |
Determine if the 'labels
' attribute was set.
- Returns
- true if the '
labels
' attribute was set.
◆ mutable_labels()
client::JsonCppAssociativeArray<string > google_compute_api::GlobalSetLabelsRequest::mutable_labels |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'labels
' property.
A list of labels to apply for this resource. Each label key & value must comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
- 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_label_fingerprint()
void google_compute_api::GlobalSetLabelsRequest::set_label_fingerprint |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'labelFingerprint
' attribute.
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint.
- Parameters
-
The documentation for this class was generated from the following files: