@Generated(value="by GAPIC") @BetaApi public final class MachineType extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
MachineType.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static MachineType |
getDefaultInstance() |
DeprecationStatus |
getDeprecated()
[Output Only] The deprecation status associated with this machine type.
|
String |
getDescription()
[Output Only] An optional textual description of the resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
Integer |
getGuestCpus()
[Output Only] The number of virtual CPUs that are available to the instance.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
Integer |
getImageSpaceGb()
[Deprecated] This property is deprecated and will never be populated with any relevant values.
|
Boolean |
getIsSharedCpu()
[Output Only] Whether this machine type has a shared CPU.
|
String |
getKind()
[Output Only] The type of the resource.
|
Integer |
getMaximumPersistentDisks()
[Output Only] Maximum persistent disks allowed.
|
String |
getMaximumPersistentDisksSizeGb()
[Output Only] Maximum total persistent disks size (GB) allowed.
|
Integer |
getMemoryMb()
[Output Only] The amount of physical memory available to the instance, defined in MB.
|
String |
getName()
[Output Only] Name of the resource.
|
List<ScratchDisks> |
getScratchDisksList()
[Output Only] A list of extended scratch disks assigned to the instance.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
String |
getZone()
[Output Only] The name of the zone where the machine type resides, such as us-central1-a.
|
int |
hashCode() |
static MachineType.Builder |
newBuilder() |
static MachineType.Builder |
newBuilder(MachineType prototype) |
MachineType.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getCreationTimestamp()
public DeprecationStatus getDeprecated()
public String getDescription()
public Integer getGuestCpus()
public String getId()
public Integer getImageSpaceGb()
public Boolean getIsSharedCpu()
public String getKind()
public Integer getMaximumPersistentDisks()
public String getMaximumPersistentDisksSizeGb()
public Integer getMemoryMb()
public String getName()
public List<ScratchDisks> getScratchDisksList()
public String getSelfLink()
public String getZone()
public static MachineType.Builder newBuilder()
public static MachineType.Builder newBuilder(MachineType prototype)
public MachineType.Builder toBuilder()
public static MachineType getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.