@Generated(value="by GAPIC") @BetaApi public final class InstanceProperties extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
InstanceProperties.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
Boolean |
getCanIpForward()
Enables instances created based on this template to send packets with source IP addresses other
than their own and receive packets with destination IP addresses other than their own.
|
static InstanceProperties |
getDefaultInstance() |
String |
getDescription()
An optional text description for the instances that are created from this instance template.
|
List<AttachedDisk> |
getDisksList()
An array of disks that are associated with the instances that are created from this template.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
List<AcceleratorConfig> |
getGuestAcceleratorsList()
A list of guest accelerator cards' type and count to use for instances created from the
instance template.
|
Map<String,String> |
getLabelsMap()
Labels to apply to instances that are created from this template.
|
String |
getMachineType()
The machine type to use for instances that are created from this template.
|
Metadata |
getMetadata()
The metadata key/value pairs to assign to instances that are created from this template.
|
String |
getMinCpuPlatform()
Minimum cpu/platform to be used by this instance.
|
List<NetworkInterface> |
getNetworkInterfacesList()
An array of network access configurations for this interface.
|
ReservationAffinity |
getReservationAffinity()
Specifies the reservations that this instance can consume from.
|
Scheduling |
getScheduling()
Specifies the scheduling options for the instances that are created from this template.
|
List<ServiceAccount> |
getServiceAccountsList()
A list of service accounts with specified scopes.
|
ShieldedInstanceConfig |
getShieldedInstanceConfig() |
Tags |
getTags()
A list of tags to apply to the instances that are created from this template.
|
int |
hashCode() |
static InstanceProperties.Builder |
newBuilder() |
static InstanceProperties.Builder |
newBuilder(InstanceProperties prototype) |
InstanceProperties.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 Boolean getCanIpForward()
public String getDescription()
public List<AttachedDisk> getDisksList()
public List<AcceleratorConfig> getGuestAcceleratorsList()
public Map<String,String> getLabelsMap()
public String getMachineType()
public Metadata getMetadata()
public String getMinCpuPlatform()
public List<NetworkInterface> getNetworkInterfacesList()
public ReservationAffinity getReservationAffinity()
public Scheduling getScheduling()
public List<ServiceAccount> getServiceAccountsList()
public ShieldedInstanceConfig getShieldedInstanceConfig()
public Tags getTags()
public static InstanceProperties.Builder newBuilder()
public static InstanceProperties.Builder newBuilder(InstanceProperties prototype)
public InstanceProperties.Builder toBuilder()
public static InstanceProperties getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.