code: func (vm *VM) getNetworkInterfaces() []*compute.NetworkInterface {
  	if len(vm.Attributes.GetNetworkInterface()) == 0 {
  		return nil
  	}
  	nics := make([]*compute.NetworkInterface, len(vm.Attributes.NetworkInterface))
  	for i, nic := range vm.Attributes.NetworkInterface {
  		nics[i] = &compute.NetworkInterface{
  			Network: nic.Network,
  		}
  		if len(nic.GetAccessConfig()) > 0 {
  			nics[i].AccessConfigs = make([]*compute.AccessConfig, len(nic.AccessConfig))
  			for j, cfg := range nic.AccessConfig {
  				nics[i].AccessConfigs[j] = &compute.AccessConfig{
  					Type: cfg.Type.String(),
  				}
  			}
  		}
  	}
  	return nics
  }
docs: // getNetworkInterfaces returns a []*compute.NetworkInterface representation of this VM's network interfaces.