def __init__(__self__, *, ip_address: Optional[pulumi.Input[str]]=None, ip_allocation_mode: Optional[pulumi.Input['NetworkInterfaceSubInterfaceIpAllocationMode']]=None, subnetwork: Optional[pulumi.Input[str]]=None, vlan: Optional[pulumi.Input[int]]=None):
    '\n        :param pulumi.Input[str] ip_address: An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP.\n        :param pulumi.Input[str] subnetwork: 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 \n        :param pulumi.Input[int] vlan: VLAN tag. Should match the VLAN(s) supported by the subnetwork to which this subinterface is connecting.\n        '
    if (ip_address is not None):
        pulumi.set(__self__, 'ip_address', ip_address)
    if (ip_allocation_mode is not None):
        pulumi.set(__self__, 'ip_allocation_mode', ip_allocation_mode)
    if (subnetwork is not None):
        pulumi.set(__self__, 'subnetwork', subnetwork)
    if (vlan is not None):
        pulumi.set(__self__, 'vlan', vlan)
:param pulumi.Input[str] ip_address: An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP.
:param pulumi.Input[str] subnetwork: 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 
:param pulumi.Input[int] vlan: VLAN tag. Should match the VLAN(s) supported by the subnetwork to which this subinterface is connecting.
def __init__(__self__, *, ip_address: Optional[pulumi.Input[str]]=None, ip_allocation_mode: Optional[pulumi.Input['NetworkInterfaceSubInterfaceIpAllocationMode']]=None, subnetwork: Optional[pulumi.Input[str]]=None, vlan: Optional[pulumi.Input[int]]=None):
    '\n        :param pulumi.Input[str] ip_address: An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP.\n        :param pulumi.Input[str] subnetwork: 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 \n        :param pulumi.Input[int] vlan: VLAN tag. Should match the VLAN(s) supported by the subnetwork to which this subinterface is connecting.\n        '
    if (ip_address is not None):
        pulumi.set(__self__, 'ip_address', ip_address)
    if (ip_allocation_mode is not None):
        pulumi.set(__self__, 'ip_allocation_mode', ip_allocation_mode)
    if (subnetwork is not None):
        pulumi.set(__self__, 'subnetwork', subnetwork)
    if (vlan is not None):
        pulumi.set(__self__, 'vlan', vlan)