[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Vm Migration V1 Client - Class NetworkInterface (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-vm-migration/latest/V1.NetworkInterface)\n- [1.0.4](/php/docs/reference/cloud-vm-migration/1.0.4/V1.NetworkInterface)\n- [0.6.5](/php/docs/reference/cloud-vm-migration/0.6.5/V1.NetworkInterface)\n- [0.5.2](/php/docs/reference/cloud-vm-migration/0.5.2/V1.NetworkInterface)\n- [0.4.2](/php/docs/reference/cloud-vm-migration/0.4.2/V1.NetworkInterface)\n- [0.3.2](/php/docs/reference/cloud-vm-migration/0.3.2/V1.NetworkInterface)\n- [0.2.3](/php/docs/reference/cloud-vm-migration/0.2.3/V1.NetworkInterface) \nReference documentation and code samples for the Google Cloud Vm Migration V1 Client class NetworkInterface.\n\nNetworkInterface represents a NIC of a VM.\n\nGenerated from protobuf message `google.cloud.vmmigration.v1.NetworkInterface`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VMMigration \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNetwork\n\nThe network to connect the NIC to.\n\n### setNetwork\n\nThe network to connect the NIC to.\n\n### getSubnetwork\n\nThe subnetwork to connect the NIC to.\n\n### setSubnetwork\n\nThe subnetwork to connect the NIC to.\n\n### getInternalIp\n\nThe internal IP to define in the NIC.\n\nThe formats accepted are: `ephemeral` \\\\ ipv4 address \\\\ a named address\nresource full path.\n\n### setInternalIp\n\nThe internal IP to define in the NIC.\n\nThe formats accepted are: `ephemeral` \\\\ ipv4 address \\\\ a named address\nresource full path.\n\n### getExternalIp\n\nThe external IP to define in the NIC.\n\n### setExternalIp\n\nThe external IP to define in the NIC."]]