| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Images.Insert | Compute.Images. insert(String project,
      Image content)Creates an image in the specified project using the data included in the request. | 
| Compute.Images.Patch | Compute.Images. patch(String project,
     String image,
     Image content)Patches the specified image with the data included in the request. | 
| Constructor and Description | 
|---|
| Insert(String project,
      Image content)Creates an image in the specified project using the data included in the request. | 
| Patch(String project,
     String image,
     Image content)Patches the specified image with the data included in the request. | 
| Modifier and Type | Method and Description | 
|---|---|
| Image | Image. clone() | 
| Image | Image. encodeLabelFingerprint(byte[] labelFingerprint)A fingerprint for the labels being applied to this image, which is essentially a hash of the
 labels used for optimistic locking. | 
| Image | Image. set(String fieldName,
   Object value) | 
| Image | Image. setArchiveSizeBytes(Long archiveSizeBytes)Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). | 
| Image | Image. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| Image | Image. setDeprecated(DeprecationStatus deprecated)The deprecation status associated with this image. | 
| Image | Image. setDescription(String description)An optional description of this resource. | 
| Image | Image. setDiskSizeGb(Long diskSizeGb)Size of the image when restored onto a persistent disk (in GB). | 
| Image | Image. setFamily(String family)The name of the image family to which this image belongs. | 
| Image | Image. setGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)A list of features to enable on the guest operating system. | 
| Image | Image. setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| Image | Image. setImageEncryptionKey(CustomerEncryptionKey imageEncryptionKey)Encrypts the image using a customer-supplied encryption key. | 
| Image | Image. setKind(String kind)[Output Only] Type of the resource. | 
| Image | Image. setLabelFingerprint(String labelFingerprint)A fingerprint for the labels being applied to this image, which is essentially a hash of the
 labels used for optimistic locking. | 
| Image | Image. setLabels(Map<String,String> labels)Labels to apply to this image. | 
| Image | Image. setLicenseCodes(List<Long> licenseCodes)Integer license codes indicating which licenses are attached to this image. | 
| Image | Image. setLicenses(List<String> licenses)Any applicable license URI. | 
| Image | Image. setName(String name)Name of the resource; provided by the client when the resource is created. | 
| Image | Image. setRawDisk(Image.RawDisk rawDisk)The parameters of the raw disk image. | 
| Image | Image. setSatisfiesPzs(Boolean satisfiesPzs)[Output Only] Reserved for future use. | 
| Image | Image. setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| Image | Image. setShieldedInstanceInitialState(InitialStateConfig shieldedInstanceInitialState)Set the secure boot keys of shielded instance. | 
| Image | Image. setSourceDisk(String sourceDisk)URL of the source disk used to create this image. | 
| Image | Image. setSourceDiskEncryptionKey(CustomerEncryptionKey sourceDiskEncryptionKey)The customer-supplied encryption key of the source disk. | 
| Image | Image. setSourceDiskId(String sourceDiskId)[Output Only] The ID value of the disk used to create this image. | 
| Image | Image. setSourceImage(String sourceImage)URL of the source image used to create this image. | 
| Image | Image. setSourceImageEncryptionKey(CustomerEncryptionKey sourceImageEncryptionKey)The customer-supplied encryption key of the source image. | 
| Image | Image. setSourceImageId(String sourceImageId)[Output Only] The ID value of the image used to create this image. | 
| Image | Image. setSourceSnapshot(String sourceSnapshot)URL of the source snapshot used to create this image. | 
| Image | Image. setSourceSnapshotEncryptionKey(CustomerEncryptionKey sourceSnapshotEncryptionKey)The customer-supplied encryption key of the source snapshot. | 
| Image | Image. setSourceSnapshotId(String sourceSnapshotId)[Output Only] The ID value of the snapshot used to create this image. | 
| Image | Image. setSourceType(String sourceType)The type of the image used to create this disk. | 
| Image | Image. setStatus(String status)[Output Only] The status of the image. | 
| Image | Image. setStorageLocations(List<String> storageLocations)Cloud Storage bucket storage location of the image (regional or multi-regional). | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Image> | ImageList. getItems()A list of Image resources. | 
| Modifier and Type | Method and Description | 
|---|---|
| ImageList | ImageList. setItems(List<Image> items)A list of Image resources. | 
Copyright © 2011–2021 Google. All rights reserved.