InstancePropertiesResponse

data class InstancePropertiesResponse(val advancedMachineFeatures: AdvancedMachineFeaturesResponse, val canIpForward: Boolean, val confidentialInstanceConfig: ConfidentialInstanceConfigResponse, val description: String, val disks: List<AttachedDiskResponse>, val displayDevice: DisplayDeviceResponse, val guestAccelerators: List<AcceleratorConfigResponse>, val keyRevocationActionType: String, val labels: Map<String, String>, val machineType: String, val metadata: MetadataResponse, val minCpuPlatform: String, val networkInterfaces: List<NetworkInterfaceResponse>, val networkPerformanceConfig: NetworkPerformanceConfigResponse, val postKeyRevocationActionType: String, val privateIpv6GoogleAccess: String, val reservationAffinity: ReservationAffinityResponse, val resourceManagerTags: Map<String, String>, val resourcePolicies: List<String>, val scheduling: SchedulingResponse, val serviceAccounts: List<ServiceAccountResponse>, val shieldedInstanceConfig: ShieldedInstanceConfigResponse, val shieldedVmConfig: ShieldedVmConfigResponse, val tags: TagsResponse)

Constructors

Link copied to clipboard
fun InstancePropertiesResponse(advancedMachineFeatures: AdvancedMachineFeaturesResponse, canIpForward: Boolean, confidentialInstanceConfig: ConfidentialInstanceConfigResponse, description: String, disks: List<AttachedDiskResponse>, displayDevice: DisplayDeviceResponse, guestAccelerators: List<AcceleratorConfigResponse>, keyRevocationActionType: String, labels: Map<String, String>, machineType: String, metadata: MetadataResponse, minCpuPlatform: String, networkInterfaces: List<NetworkInterfaceResponse>, networkPerformanceConfig: NetworkPerformanceConfigResponse, postKeyRevocationActionType: String, privateIpv6GoogleAccess: String, reservationAffinity: ReservationAffinityResponse, resourceManagerTags: Map<String, String>, resourcePolicies: List<String>, scheduling: SchedulingResponse, serviceAccounts: List<ServiceAccountResponse>, shieldedInstanceConfig: ShieldedInstanceConfigResponse, shieldedVmConfig: ShieldedVmConfigResponse, tags: TagsResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.

Link copied to clipboard

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. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information.

Link copied to clipboard

Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.

Link copied to clipboard

An optional text description for the instances that are created from these properties.

Link copied to clipboard

An array of disks that are associated with the instances that are created from these properties.

Link copied to clipboard

Display Device properties to enable support for remote display products like: Teradici, VNC and TeamViewer Note that for MachineImage, this is not supported yet.

Link copied to clipboard

A list of guest accelerator cards' type and count to use for instances created from these properties.

Link copied to clipboard

KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.

Link copied to clipboard

Labels to apply to instances that are created from these properties.

Link copied to clipboard

The machine type to use for instances that are created from these properties.

Link copied to clipboard

The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information.

Link copied to clipboard

Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.

Link copied to clipboard

An array of network access configurations for this interface.

Link copied to clipboard

Note that for MachineImage, this is not supported yet.

Link copied to clipboard

PostKeyRevocationActionType of the instance.

Link copied to clipboard

The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet.

Link copied to clipboard

Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.

Link copied to clipboard

Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty.

Link copied to clipboard

Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.

Link copied to clipboard

Specifies the scheduling options for the instances that are created from these properties.

Link copied to clipboard

A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.

Link copied to clipboard

Note that for MachineImage, this is not supported yet.

Link copied to clipboard

Specifies the Shielded VM options for the instances that are created from these properties.

Link copied to clipboard

A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.