Package | Description |
---|---|
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
InstanceProperties |
InstanceProperties.clone() |
InstanceProperties |
BulkInsertInstanceResource.getInstanceProperties()
The instance properties defining the VM instances to be created.
|
InstanceProperties |
MachineImage.getInstanceProperties()
[Output Only] Properties of source instance
|
InstanceProperties |
InstanceTemplate.getProperties()
The instance properties for this instance template.
|
InstanceProperties |
InstanceProperties.set(String fieldName,
Object value) |
InstanceProperties |
InstanceProperties.setAdvancedMachineFeatures(AdvancedMachineFeatures advancedMachineFeatures)
Controls for advanced machine-related behavior features.
|
InstanceProperties |
InstanceProperties.setCanIpForward(Boolean canIpForward)
Enables instances created based on these properties to send packets with source IP addresses
other than their own and receive packets with destination IP addresses other than their own.
|
InstanceProperties |
InstanceProperties.setConfidentialInstanceConfig(ConfidentialInstanceConfig confidentialInstanceConfig)
Specifies the Confidential Instance options.
|
InstanceProperties |
InstanceProperties.setDescription(String description)
An optional text description for the instances that are created from these properties.
|
InstanceProperties |
InstanceProperties.setDisks(List<AttachedDisk> disks)
An array of disks that are associated with the instances that are created from these
properties.
|
InstanceProperties |
InstanceProperties.setGuestAccelerators(List<AcceleratorConfig> guestAccelerators)
A list of guest accelerator cards' type and count to use for instances created from these
properties.
|
InstanceProperties |
InstanceProperties.setKeyRevocationActionType(String keyRevocationActionType)
KeyRevocationActionType of the instance.
|
InstanceProperties |
InstanceProperties.setLabels(Map<String,String> labels)
Labels to apply to instances that are created from these properties.
|
InstanceProperties |
InstanceProperties.setMachineType(String machineType)
The machine type to use for instances that are created from these properties.
|
InstanceProperties |
InstanceProperties.setMetadata(Metadata metadata)
The metadata key/value pairs to assign to instances that are created from these properties.
|
InstanceProperties |
InstanceProperties.setMinCpuPlatform(String minCpuPlatform)
Minimum cpu/platform to be used by instances.
|
InstanceProperties |
InstanceProperties.setNetworkInterfaces(List<NetworkInterface> networkInterfaces)
An array of network access configurations for this interface.
|
InstanceProperties |
InstanceProperties.setNetworkPerformanceConfig(NetworkPerformanceConfig networkPerformanceConfig)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties |
InstanceProperties.setPrivateIpv6GoogleAccess(String privateIpv6GoogleAccess)
The private IPv6 google access type for VMs.
|
InstanceProperties |
InstanceProperties.setReservationAffinity(ReservationAffinity reservationAffinity)
Specifies the reservations that instances can consume from.
|
InstanceProperties |
InstanceProperties.setResourceManagerTags(Map<String,String> resourceManagerTags)
Resource manager tags to be bound to the instance.
|
InstanceProperties |
InstanceProperties.setResourcePolicies(List<String> resourcePolicies)
Resource policies (names, not URLs) applied to instances created from these properties.
|
InstanceProperties |
InstanceProperties.setScheduling(Scheduling scheduling)
Specifies the scheduling options for the instances that are created from these properties.
|
InstanceProperties |
InstanceProperties.setServiceAccounts(List<ServiceAccount> serviceAccounts)
A list of service accounts with specified scopes.
|
InstanceProperties |
InstanceProperties.setShieldedInstanceConfig(ShieldedInstanceConfig shieldedInstanceConfig)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties |
InstanceProperties.setTags(Tags tags)
A list of tags to apply to the instances that are created from these properties.
|
Modifier and Type | Method and Description |
---|---|
BulkInsertInstanceResource |
BulkInsertInstanceResource.setInstanceProperties(InstanceProperties instanceProperties)
The instance properties defining the VM instances to be created.
|
MachineImage |
MachineImage.setInstanceProperties(InstanceProperties instanceProperties)
[Output Only] Properties of source instance
|
InstanceTemplate |
InstanceTemplate.setProperties(InstanceProperties properties)
The instance properties for this instance template.
|
Copyright © 2011–2025 Google. All rights reserved.