Snapshot class

Snapshot is a point-in-time version of a Volume's content.

Constructors

Snapshot.new({String? createTime, String? description, Map<String, String>? labels, String? name, String? state, String? stateDetails, double? usedBytes})
Snapshot.fromJson(Map json_)

Properties

createTime String?
The time when the snapshot was created.
getter/setter pair
description String?
A description of the snapshot with 2048 characters or less.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
Resource labels to represent user provided metadata.
getter/setter pair
name String?
Identifier.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
The snapshot state.
getter/setter pair
stateDetails String?
State details of the storage pool
getter/setter pair
usedBytes double?
Current storage usage for the snapshot in bytes.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited