| Package | Description |
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
Compute.Disks.Insert |
Compute.Disks.insert(java.lang.String project,
java.lang.String zone,
Disk content)
Creates a persistent disk in the specified project using the data in the request.
|
| Constructor and Description |
|---|
Compute.Disks.Insert(java.lang.String project,
java.lang.String zone,
Disk content)
Creates a persistent disk in the specified project using the data in the request.
|
| Modifier and Type | Method and Description |
|---|---|
Disk |
Disk.clone() |
Disk |
Disk.set(java.lang.String fieldName,
java.lang.Object value) |
Disk |
Disk.setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Disk |
Disk.setDescription(java.lang.String description)
An optional description of this resource.
|
Disk |
Disk.setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Disk |
Disk.setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Disk |
Disk.setLastAttachTimestamp(java.lang.String lastAttachTimestamp)
[Output Only] Last attach timestamp in RFC3339 text format.
|
Disk |
Disk.setLastDetachTimestamp(java.lang.String lastDetachTimestamp)
[Output Only] Last detach timestamp in RFC3339 text format.
|
Disk |
Disk.setLicenses(java.util.List<java.lang.String> licenses)
[Output Only] Any applicable publicly visible licenses.
|
Disk |
Disk.setName(java.lang.String name)
Name of the resource.
|
Disk |
Disk.setOptions(java.lang.String options)
Internal use only.
|
Disk |
Disk.setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Disk |
Disk.setSizeGb(java.lang.Long sizeGb)
Size of the persistent disk, specified in GB.
|
Disk |
Disk.setSourceImage(java.lang.String sourceImage)
The source image used to create this disk.
|
Disk |
Disk.setSourceImageId(java.lang.String sourceImageId)
[Output Only] The ID value of the image used to create this disk.
|
Disk |
Disk.setSourceSnapshot(java.lang.String sourceSnapshot)
The source snapshot used to create this disk.
|
Disk |
Disk.setSourceSnapshotId(java.lang.String sourceSnapshotId)
[Output Only] The unique ID of the snapshot used to create this disk.
|
Disk |
Disk.setStatus(java.lang.String status)
[Output Only] The status of disk creation.
|
Disk |
Disk.setType(java.lang.String type)
URL of the disk type resource describing which disk type to use to create the disk.
|
Disk |
Disk.setUsers(java.util.List<java.lang.String> users)
[Output Only] Links to the users of the disk (attached instances) in form:
project/zones/zone/instances/instance
|
Disk |
Disk.setZone(java.lang.String zone)
[Output Only] URL of the zone where the disk resides.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Disk> |
DisksScopedList.getDisks()
[Output Only] List of disks contained in this scope.
|
java.util.List<Disk> |
DiskList.getItems()
[Output Only] A list of persistent disks.
|
| Modifier and Type | Method and Description |
|---|---|
DisksScopedList |
DisksScopedList.setDisks(java.util.List<Disk> disks)
[Output Only] List of disks contained in this scope.
|
DiskList |
DiskList.setItems(java.util.List<Disk> items)
[Output Only] A list of persistent disks.
|