| Package | Description |
|---|---|
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
MachineType |
MachineType.clone() |
MachineType |
MachineType.set(String fieldName,
Object value) |
MachineType |
MachineType.setAccelerators(List<MachineType.Accelerators> accelerators)
[Output Only] A list of accelerator configurations assigned to this machine type.
|
MachineType |
MachineType.setArchitecture(String architecture)
[Output Only] The architecture of the machine type.
|
MachineType |
MachineType.setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
MachineType |
MachineType.setDeprecated(DeprecationStatus deprecated)
[Output Only] The deprecation status associated with this machine type.
|
MachineType |
MachineType.setDescription(String description)
[Output Only] An optional textual description of the resource.
|
MachineType |
MachineType.setGuestCpus(Integer guestCpus)
[Output Only] The number of virtual CPUs that are available to the instance.
|
MachineType |
MachineType.setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
MachineType |
MachineType.setImageSpaceGb(Integer imageSpaceGb)
[Deprecated] This property is deprecated and will never be populated with any relevant values.
|
MachineType |
MachineType.setIsSharedCpu(Boolean isSharedCpu)
[Output Only] Whether this machine type has a shared CPU.
|
MachineType |
MachineType.setKind(String kind)
[Output Only] The type of the resource.
|
MachineType |
MachineType.setMaximumPersistentDisks(Integer maximumPersistentDisks)
[Output Only] Maximum persistent disks allowed.
|
MachineType |
MachineType.setMaximumPersistentDisksSizeGb(Long maximumPersistentDisksSizeGb)
[Output Only] Maximum total persistent disks size (GB) allowed.
|
MachineType |
MachineType.setMemoryMb(Integer memoryMb)
[Output Only] The amount of physical memory available to the instance, defined in MB.
|
MachineType |
MachineType.setName(String name)
[Output Only] Name of the resource.
|
MachineType |
MachineType.setScratchDisks(List<MachineType.ScratchDisks> scratchDisks)
[Output Only] A list of extended scratch disks assigned to the instance.
|
MachineType |
MachineType.setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
MachineType |
MachineType.setZone(String zone)
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
| Modifier and Type | Method and Description |
|---|---|
List<MachineType> |
MachineTypeList.getItems()
A list of MachineType resources.
|
List<MachineType> |
MachineTypesScopedList.getMachineTypes()
[Output Only] A list of machine types contained in this scope.
|
| Modifier and Type | Method and Description |
|---|---|
MachineTypeList |
MachineTypeList.setItems(List<MachineType> items)
A list of MachineType resources.
|
MachineTypesScopedList |
MachineTypesScopedList.setMachineTypes(List<MachineType> machineTypes)
[Output Only] A list of machine types contained in this scope.
|
Copyright © 2011–2025 Google. All rights reserved.