pub struct Snapshot {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub filesystem_used_bytes: Option<i64>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub state: Option<String>,
pub tags: Option<HashMap<String, String>>,
}Expand description
A Filestore snapshot.
§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).
- locations instances snapshots create projects (request)
- locations instances snapshots get projects (response)
- locations instances snapshots patch projects (request)
Fields§
§create_time: Option<DateTime<Utc>>Output only. The time when the snapshot was created.
description: Option<String>A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
filesystem_used_bytes: Option<i64>Output only. The amount of bytes needed to allocate a full copy of the snapshot content
labels: Option<HashMap<String, String>>Resource labels to represent user provided metadata.
name: Option<String>Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.
state: Option<String>Output only. The snapshot state.
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: “123456789012/environment” : “production”, “123456789013/costCenter” : “marketing” See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value