| Package | Description | 
|---|---|
| com.google.cloud.compute.deprecated | 
 A client for Google Compute Engine – High-performance, scalable virtual machines. 
 | 
| com.google.cloud.compute.deprecated.testing | 
 A testing helper for Google Compute Engine. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SnapshotId | 
SnapshotInfo.getSnapshotId()
Returns the snapshot identity. 
 | 
SnapshotId | 
SnapshotDiskConfiguration.getSourceSnapshot()
Returns the identity of the source snapshot used to create the disk. 
 | 
static SnapshotId | 
SnapshotId.of(String snapshot)
Returns a snapshot identity given the snapshot name. 
 | 
static SnapshotId | 
SnapshotId.of(String project,
  String snapshot)
Returns a snapshot identity given project and snapshot names. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Operation | 
Compute.deleteSnapshot(SnapshotId snapshot,
              Compute.OperationOption... options)
Deletes the requested snapshot. 
 | 
static SnapshotDiskConfiguration.Builder | 
SnapshotDiskConfiguration.newBuilder(SnapshotId sourceSnapshot)
Returns a builder for a  
SnapshotDiskConfiguration object given the snapshot identity. | 
static SnapshotInfo.Builder | 
SnapshotInfo.newBuilder(SnapshotId snapshotId,
          DiskId source)
Returns a builder for a  
SnapshotInfo object given the snapshot identity and a source
 disk identity. | 
static SnapshotDiskConfiguration | 
SnapshotDiskConfiguration.of(SnapshotId sourceSnapshot)
Returns a  
SnapshotDiskConfiguration object given the snapshot identity. | 
static SnapshotInfo | 
SnapshotInfo.of(SnapshotId snapshotId,
  DiskId source)
Returns a  
SnapshotInfo object given the snapshot identity and a source disk identity. | 
abstract SnapshotInfo.Builder | 
SnapshotInfo.Builder.setSnapshotId(SnapshotId snapshotId)
Sets the snapshot identity. 
 | 
Snapshot.Builder | 
Snapshot.Builder.setSnapshotId(SnapshotId snapshotId)  | 
SnapshotDiskConfiguration.Builder | 
SnapshotDiskConfiguration.Builder.setSourceSnapshot(SnapshotId sourceSnapshot)
Sets the identity of the source snapshot used to create the disk. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ResourceCleaner.add(SnapshotId snapshotId)  | 
Copyright © 2019 Google LLC. All rights reserved.