| Package | Description |
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
Compute.MachineImages.Insert |
Compute.MachineImages.insert(String project,
MachineImage content)
Creates a machine image in the specified project using the data that is included in the request.
|
| Constructor and Description |
|---|
Insert(String project,
MachineImage content)
Creates a machine image in the specified project using the data that is included in the
request.
|
| Modifier and Type | Method and Description |
|---|---|
MachineImage |
MachineImage.clone() |
MachineImage |
MachineImage.encodeLabelFingerprint(byte[] labelFingerprint)
A fingerprint for the labels being applied to this machine image, which is essentially a hash
of the labels set used for optimistic locking.
|
MachineImage |
MachineImage.set(String fieldName,
Object value) |
MachineImage |
MachineImage.setCreationTimestamp(String creationTimestamp)
Output only.
|
MachineImage |
MachineImage.setDescription(String description)
An optional description of this resource.
|
MachineImage |
MachineImage.setGuestFlush(Boolean guestFlush)
[Input Only] Whether to attempt an application consistent machine image by informing the OS to
prepare for the snapshot process.
|
MachineImage |
MachineImage.setId(BigInteger id)
Output only.
|
MachineImage |
MachineImage.setInstanceProperties(InstanceProperties instanceProperties)
[Output Only] Properties of source instance
|
MachineImage |
MachineImage.setKind(String kind)
Output only.
|
MachineImage |
MachineImage.setLabelFingerprint(String labelFingerprint)
A fingerprint for the labels being applied to this machine image, which is essentially a hash
of the labels set used for optimistic locking.
|
MachineImage |
MachineImage.setLabels(Map<String,String> labels)
Labels to apply to this machine image.
|
MachineImage |
MachineImage.setMachineImageEncryptionKey(CustomerEncryptionKey machineImageEncryptionKey)
Encrypts the machine image using acustomer-supplied encryption key.
|
MachineImage |
MachineImage.setName(String name)
Name of the resource; provided by the client when the resource is created.
|
MachineImage |
MachineImage.setParams(MachineImageParams params)
Input only.
|
MachineImage |
MachineImage.setSatisfiesPzi(Boolean satisfiesPzi)
Output only.
|
MachineImage |
MachineImage.setSatisfiesPzs(Boolean satisfiesPzs)
Output only.
|
MachineImage |
MachineImage.setSavedDisks(List<SavedDisk> savedDisks)
Output only.
|
MachineImage |
MachineImage.setSelfLink(String selfLink)
Output only.
|
MachineImage |
MachineImage.setSourceDiskEncryptionKeys(List<SourceDiskEncryptionKey> sourceDiskEncryptionKeys)
[Input Only] Thecustomer-supplied encryption key of the disks attached to the source instance.
|
MachineImage |
MachineImage.setSourceInstance(String sourceInstance)
The source instance used to create the machine image.
|
MachineImage |
MachineImage.setSourceInstanceProperties(SourceInstanceProperties sourceInstanceProperties)
Output only.
|
MachineImage |
MachineImage.setStatus(String status)
Output only.
|
MachineImage |
MachineImage.setStorageLocations(List<String> storageLocations)
The regional or multi-regional Cloud Storage bucket location where themachine image is stored.
|
MachineImage |
MachineImage.setTotalStorageBytes(Long totalStorageBytes)
Output only.
|
| Modifier and Type | Method and Description |
|---|---|
List<MachineImage> |
MachineImageList.getItems()
A list of MachineImage resources.
|
| Modifier and Type | Method and Description |
|---|---|
MachineImageList |
MachineImageList.setItems(List<MachineImage> items)
A list of MachineImage resources.
|
Copyright © 2011–2026 Google. All rights reserved.