}
private List<NetworkInterface> getNetworkInterface(String projectId, String name) {
NetworkInterface iface = new NetworkInterface();
iface.setName(name);
AccessConfig accessConfig = new AccessConfig();
accessConfig.setName(name);
accessConfig.setType("ONE_TO_ONE_NAT");
iface.setAccessConfigs(ImmutableList.of(accessConfig));
iface.setNetwork(String.format("https://www.googleapis.com/compute/v1/projects/%s/global/networks/%s", projectId, name));
return Arrays.asList(iface);
}