Struct google_compute1::api::Metadata
source · pub struct Metadata {
pub fingerprint: Option<Vec<u8>>,
pub items: Option<Vec<MetadataItems>>,
pub kind: Option<String>,
}
Expand description
A metadata key/value entry.
§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 metadata instances (request)
- set common instance metadata projects (request)
Fields§
§fingerprint: Option<Vec<u8>>
Specifies a fingerprint for this request, which is essentially a hash of the metadata’s contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
items: Option<Vec<MetadataItems>>
Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
kind: Option<String>
[Output Only] Type of the resource. Always compute#metadata for metadata.