| Package | Description | 
|---|---|
| com.google.cloud.compute.v1 | A client to Compute Engine API. | 
| Modifier and Type | Method and Description | 
|---|---|
| Disk.Builder | Disk.Builder. addAllGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)A list of features to enable on the guest operating system. | 
| Disk.Builder | Disk.Builder. addAllLicenseCodes(List<String> licenseCodes)Integer license codes indicating which licenses are attached to this disk. | 
| Disk.Builder | Disk.Builder. addAllLicenses(List<String> licenses)A list of publicly visible licenses. | 
| Disk.Builder | Disk.Builder. addAllReplicaZones(List<String> replicaZones)URLs of the zones where the disk should be replicated to. | 
| Disk.Builder | Disk.Builder. addAllUsers(List<String> users)[Output Only] Links to the users of the disk (attached instances) in form:
 project/zones/zone/instances/instance | 
| Disk.Builder | Disk.Builder. addGuestOsFeatures(GuestOsFeature guestOsFeatures)A list of features to enable on the guest operating system. | 
| Disk.Builder | Disk.Builder. addLicenseCodes(String licenseCodes)Integer license codes indicating which licenses are attached to this disk. | 
| Disk.Builder | Disk.Builder. addLicenses(String licenses)A list of publicly visible licenses. | 
| Disk.Builder | Disk.Builder. addReplicaZones(String replicaZones)URLs of the zones where the disk should be replicated to. | 
| Disk.Builder | Disk.Builder. addUsers(String users)[Output Only] Links to the users of the disk (attached instances) in form:
 project/zones/zone/instances/instance | 
| Disk.Builder | Disk.Builder. clone() | 
| Disk.Builder | Disk.Builder. mergeFrom(Disk other) | 
| static Disk.Builder | Disk. newBuilder() | 
| static Disk.Builder | Disk. newBuilder(Disk prototype) | 
| Disk.Builder | Disk.Builder. putAllLabels(Map<String,String> labels)Labels to apply to this disk. | 
| Disk.Builder | Disk.Builder. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| Disk.Builder | Disk.Builder. setDescription(String description)An optional description of this resource. | 
| Disk.Builder | Disk.Builder. setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey)Encrypts the disk using a customer-supplied encryption key. | 
| Disk.Builder | Disk.Builder. setId(String id)[Output Only] The unique identifier for the resource. | 
| Disk.Builder | Disk.Builder. setKind(String kind)[Output Only] Type of the resource. | 
| Disk.Builder | Disk.Builder. setLabelFingerprint(String labelFingerprint)A fingerprint for the labels being applied to this disk, which is essentially a hash of the
 labels set used for optimistic locking. | 
| Disk.Builder | Disk.Builder. setLastAttachTimestamp(String lastAttachTimestamp)[Output Only] Last attach timestamp in RFC3339 text format. | 
| Disk.Builder | Disk.Builder. setLastDetachTimestamp(String lastDetachTimestamp)[Output Only] Last detach timestamp in RFC3339 text format. | 
| Disk.Builder | Disk.Builder. setName(String name)Name of the resource. | 
| Disk.Builder | Disk.Builder. setOptions(String options)Internal use only. | 
| Disk.Builder | Disk.Builder. setPhysicalBlockSizeBytes(String physicalBlockSizeBytes)Physical block size of the persistent disk, in bytes. | 
| Disk.Builder | Disk.Builder. setRegion(String region)[Output Only] URL of the region where the disk resides. | 
| Disk.Builder | Disk.Builder. setSelfLink(String selfLink)[Output Only] Server-defined fully-qualified URL for this resource. | 
| Disk.Builder | Disk.Builder. setSizeGb(String sizeGb)Size of the persistent disk, specified in GB. | 
| Disk.Builder | Disk.Builder. setSourceImage(String sourceImage)The source image used to create this disk. | 
| Disk.Builder | Disk.Builder. setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey)The customer-supplied encryption key of the source image. | 
| Disk.Builder | Disk.Builder. setSourceImageId(String sourceImageId)[Output Only] The ID value of the image used to create this disk. | 
| Disk.Builder | Disk.Builder. setSourceSnapshot(String sourceSnapshot)The source snapshot used to create this disk. | 
| Disk.Builder | Disk.Builder. setSourceSnapshotEncryptionKey(CustomerEncryptionKey sourceSnapshotEncryptionKey)The customer-supplied encryption key of the source snapshot. | 
| Disk.Builder | Disk.Builder. setSourceSnapshotId(String sourceSnapshotId)[Output Only] The unique ID of the snapshot used to create this disk. | 
| Disk.Builder | Disk.Builder. setStatus(String status)[Output Only] The status of disk creation. | 
| Disk.Builder | Disk.Builder. setType(String type)URL of the disk type resource describing which disk type to use to create the disk. | 
| Disk.Builder | Disk.Builder. setZone(String zone)[Output Only] URL of the zone where the disk resides. | 
| Disk.Builder | Disk. toBuilder() | 
Copyright © 2019 Google LLC. All rights reserved.