NetworkInterfaceSubInterfaceResponse

data class NetworkInterfaceSubInterfaceResponse(val ipAddress: String, val ipAllocationMode: String, val subnetwork: String, val vlan: Int)

Constructors

Link copied to clipboard
fun NetworkInterfaceSubInterfaceResponse(ipAddress: String, ipAllocationMode: String, subnetwork: String, vlan: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP.

Link copied to clipboard
Link copied to clipboard

If specified, this subnetwork must belong to the same network as that of the network interface. If not specified the subnet of network interface will be used. If you specify this property, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork

Link copied to clipboard
val vlan: Int

VLAN tag. Should match the VLAN(s) supported by the subnetwork to which this subinterface is connecting.