code: func (o HostNetworkSystem) UpdatePortGroup(ctx context.Context, pgName string, portgrp types.HostPortGroupSpec) error {
  	req := types.UpdatePortGroup{
  		This:    o.Reference(),
  		PgName:  pgName,
  		Portgrp: portgrp,
  	}
  
  	_, err := methods.UpdatePortGroup(ctx, o.c, &req)
  	if err != nil {
  		return err
  	}
  
  	return nil
  }
docs: // UpdatePortGroup wraps methods.UpdatePortGroup