| Package | Description |
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
Compute.Disks.CreateSnapshot |
Compute.Disks.createSnapshot(java.lang.String project,
java.lang.String zone,
java.lang.String disk,
Snapshot content)
Creates a snapshot of a specified persistent disk.
|
| Constructor and Description |
|---|
Compute.Disks.CreateSnapshot(java.lang.String project,
java.lang.String zone,
java.lang.String disk,
Snapshot content)
Creates a snapshot of a specified persistent disk.
|
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
Snapshot.clone() |
Snapshot |
Snapshot.set(java.lang.String fieldName,
java.lang.Object value) |
Snapshot |
Snapshot.setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Snapshot |
Snapshot.setDescription(java.lang.String description)
An optional description of this resource.
|
Snapshot |
Snapshot.setDiskSizeGb(java.lang.Long diskSizeGb)
[Output Only] Size of the snapshot, specified in GB.
|
Snapshot |
Snapshot.setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Snapshot |
Snapshot.setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Snapshot |
Snapshot.setLicenses(java.util.List<java.lang.String> licenses)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot |
Snapshot.setName(java.lang.String name)
Name of the resource; provided by the client when the resource is created.
|
Snapshot |
Snapshot.setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
Snapshot |
Snapshot.setSourceDisk(java.lang.String sourceDisk)
[Output Only] The source disk used to create this snapshot.
|
Snapshot |
Snapshot.setSourceDiskId(java.lang.String sourceDiskId)
[Output Only] The ID value of the disk used to create this snapshot.
|
Snapshot |
Snapshot.setStatus(java.lang.String status)
[Output Only] The status of the snapshot.
|
Snapshot |
Snapshot.setStorageBytes(java.lang.Long storageBytes)
[Output Only] A size of the the storage used by the snapshot.
|
Snapshot |
Snapshot.setStorageBytesStatus(java.lang.String storageBytesStatus)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as
a result of shared storage reallocation.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Snapshot> |
SnapshotList.getItems()
[Output Only] A list of Snapshot resources.
|
| Modifier and Type | Method and Description |
|---|---|
SnapshotList |
SnapshotList.setItems(java.util.List<Snapshot> items)
[Output Only] A list of Snapshot resources.
|