Struct google_compute1::api::GlobalSetLabelsRequest
source · pub struct GlobalSetLabelsRequest {
pub label_fingerprint: Option<Vec<u8>>,
pub labels: Option<HashMap<String, String>>,
}
Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- set labels external vpn gateways (request)
- set labels global addresses (request)
- set labels global forwarding rules (request)
- set labels images (request)
- set labels interconnects (request)
- set labels security policies (request)
- set labels snapshots (request)
Fields§
§label_fingerprint: Option<Vec<u8>>
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.
labels: Option<HashMap<String, String>>
A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, “webserver-frontend”: “images”. A label value can also be empty (e.g. “my-label”: “”).
Trait Implementations§
source§impl Clone for GlobalSetLabelsRequest
impl Clone for GlobalSetLabelsRequest
source§fn clone(&self) -> GlobalSetLabelsRequest
fn clone(&self) -> GlobalSetLabelsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more