SourceInstancePropertiesResponse

data class SourceInstancePropertiesResponse(val canIpForward: Boolean, val deletionProtection: Boolean, val description: String, val disks: List<SavedAttachedDiskResponse>, 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 postKeyRevocationActionType: String, val scheduling: SchedulingResponse, val serviceAccounts: List<ServiceAccountResponse>, val tags: TagsResponse)

DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.

Constructors

Link copied to clipboard
fun SourceInstancePropertiesResponse(canIpForward: Boolean, deletionProtection: Boolean, description: String, disks: List<SavedAttachedDiskResponse>, guestAccelerators: List<AcceleratorConfigResponse>, keyRevocationActionType: String, labels: Map<String, String>, machineType: String, metadata: MetadataResponse, minCpuPlatform: String, networkInterfaces: List<NetworkInterfaceResponse>, postKeyRevocationActionType: String, scheduling: SchedulingResponse, serviceAccounts: List<ServiceAccountResponse>, tags: TagsResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Enables instances created based on this machine image 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

Whether the instance created from this machine image should be protected against deletion.

Link copied to clipboard

An optional text description for the instances that are created from this machine image.

Link copied to clipboard

An array of disks that are associated with the instances that are created from this machine image.

Link copied to clipboard

A list of guest accelerator cards' type and count to use for instances created from this machine image.

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 this machine image.

Link copied to clipboard

The machine type to use for instances that are created from this machine image.

Link copied to clipboard

The metadata key/value pairs to assign to instances that are created from this machine image. 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 created from this machine image. 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

PostKeyRevocationActionType of the instance.

Link copied to clipboard

Specifies the scheduling options for the instances that are created from this machine image.

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 this machine image. Use metadata queries to obtain the access tokens for these instances.

Link copied to clipboard

A list of tags to apply to the instances that are created from this machine image. 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.