Snapshot class

Represents a snapshot of a job.

Constructors

Snapshot({String? creationTime, String? description, String? diskSizeBytes, String? id, String? projectId, List<PubsubSnapshotMetadata>? pubsubMetadata, String? region, String? sourceJobId, String? state, String? ttl})
Snapshot.fromJson(Map json_)

Properties

creationTime String?
The time this snapshot was created.
getter/setter pair
description String?
User specified description of the snapshot.
getter/setter pair
diskSizeBytes String?
The disk byte size of the snapshot.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The unique ID of this snapshot.
getter/setter pair
projectId String?
The project this snapshot belongs to.
getter/setter pair
pubsubMetadata List<PubsubSnapshotMetadata>?
Pub/Sub snapshot metadata.
getter/setter pair
region String?
Cloud region where this snapshot lives in, e.g., "us-central1".
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceJobId String?
The job this snapshot was created from.
getter/setter pair
state String?
State of the snapshot. Possible string values are:
getter/setter pair
ttl String?
The time after which this snapshot will be automatically deleted.
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