Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
Snapshot.Builder |
Snapshot.Builder.addAllLicenseCodes(List<String> licenseCodes)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
Snapshot.Builder |
Snapshot.Builder.addAllLicenses(List<String> licenses)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot.Builder |
Snapshot.Builder.addAllStorageLocations(List<String> storageLocations)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
Snapshot.Builder |
Snapshot.Builder.addLicenseCodes(String licenseCodes)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
Snapshot.Builder |
Snapshot.Builder.addLicenses(String licenses)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot.Builder |
Snapshot.Builder.addStorageLocations(String storageLocations)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
Snapshot.Builder |
Snapshot.Builder.clone() |
Snapshot.Builder |
Snapshot.Builder.mergeFrom(Snapshot other) |
static Snapshot.Builder |
Snapshot.newBuilder() |
static Snapshot.Builder |
Snapshot.newBuilder(Snapshot prototype) |
Snapshot.Builder |
Snapshot.Builder.putAllLabels(Map<String,String> labels)
Labels to apply to this snapshot.
|
Snapshot.Builder |
Snapshot.Builder.setAutoCreated(Boolean autoCreated)
[Output Only] Set to true if snapshots are automatically by applying resource policy on the
target disk.
|
Snapshot.Builder |
Snapshot.Builder.setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Snapshot.Builder |
Snapshot.Builder.setDescription(String description)
An optional description of this resource.
|
Snapshot.Builder |
Snapshot.Builder.setDiskSizeGb(String diskSizeGb)
[Output Only] Size of the snapshot, specified in GB.
|
Snapshot.Builder |
Snapshot.Builder.setId(String id)
[Output Only] The unique identifier for the resource.
|
Snapshot.Builder |
Snapshot.Builder.setKind(String kind)
[Output Only] Type of the resource.
|
Snapshot.Builder |
Snapshot.Builder.setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of
the labels set used for optimistic locking.
|
Snapshot.Builder |
Snapshot.Builder.setName(String name)
Name of the resource; provided by the client when the resource is created.
|
Snapshot.Builder |
Snapshot.Builder.setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
Snapshot.Builder |
Snapshot.Builder.setSnapshotEncryptionKey(CustomerEncryptionKey snapshotEncryptionKey)
Encrypts the snapshot using a customer-supplied encryption key.
|
Snapshot.Builder |
Snapshot.Builder.setSourceDisk(String sourceDisk)
[Output Only] The source disk used to create this snapshot.
|
Snapshot.Builder |
Snapshot.Builder.setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey)
The customer-supplied encryption key of the source disk.
|
Snapshot.Builder |
Snapshot.Builder.setSourceDiskId(String sourceDiskId)
[Output Only] The ID value of the disk used to create this snapshot.
|
Snapshot.Builder |
Snapshot.Builder.setStatus(String status)
[Output Only] The status of the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.setStorageBytes(String storageBytes)
[Output Only] A size of the storage used by the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.setStorageBytesStatus(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.
|
Snapshot.Builder |
Snapshot.toBuilder() |
Copyright © 2019 Google LLC. All rights reserved.