code: func ReferenceProperties(client *govmomi.Client, net object.NetworkReference) (*mo.Network, error) {
  	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
  	defer cancel()
  	var props mo.Network
  	nc := object.NewCommon(client.Client, net.Reference())
  	if err := nc.Properties(ctx, nc.Reference(), nil, &props); err != nil {
  		return nil, err
  	}
  	return &props, nil
  }
docs: // ReferenceProperties is a convenience method that wraps fetching the Network
  // MO from a NetworkReference.
  //
  // Note that regardless of the network type, this only fetches the Network MO
  // and not any of the extended properties of that network.