ProjectsLocationsVolumesSnapshotsResource class
Constructors
- ProjectsLocationsVolumesSnapshotsResource(ApiRequester client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
VolumeSnapshot request, String parent, {String? $fields}) → Future< VolumeSnapshot> - Takes a snapshot of a boot volume.
-
delete(
String name, {String? $fields}) → Future< Empty> - Deletes a volume snapshot.
-
get(
String name, {String? $fields}) → Future< VolumeSnapshot> - Returns the specified snapshot resource.
-
list(
String parent, {int? pageSize, String? pageToken, String? $fields}) → Future< ListVolumeSnapshotsResponse> - Retrieves the list of snapshots for the specified volume.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restoreVolumeSnapshot(
RestoreVolumeSnapshotRequest request, String volumeSnapshot, {String? $fields}) → Future< Operation> - Uses the specified snapshot to restore its parent volume.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited