| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
SnapshotId |
SnapshotInfo.snapshotId()
Returns the snapshot identity.
|
SnapshotId |
SnapshotDiskConfiguration.sourceSnapshot()
Returns the identity of the source snapshot used to create the disk.
|
| Modifier and Type | Method and Description |
|---|---|
static SnapshotDiskConfiguration.Builder |
SnapshotDiskConfiguration.builder(SnapshotId sourceSnapshot)
Returns a builder for a
SnapshotDiskConfiguration object given the snapshot identity. |
static SnapshotInfo.Builder |
SnapshotInfo.builder(SnapshotId snapshotId,
DiskId source)
Returns a builder for a
SnapshotInfo object given the snapshot identity and a source
disk identity. |
Operation |
Compute.deleteSnapshot(SnapshotId snapshot,
Compute.OperationOption... options)
Deletes the requested snapshot.
|
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.snapshotId(SnapshotId snapshotId)
Sets the snapshot identity.
|
Snapshot.Builder |
Snapshot.Builder.snapshotId(SnapshotId snapshotId) |
SnapshotDiskConfiguration.Builder |
SnapshotDiskConfiguration.Builder.sourceSnapshot(SnapshotId sourceSnapshot)
Sets the identity of the source snapshot used to create the disk.
|
Copyright © 2016 Google. All rights reserved.