code: func (v VirtualMachine) QueryConfigTarget(ctx context.Context) (*types.ConfigTarget, error) {
  	var vm mo.VirtualMachine
  
  	err := v.Properties(ctx, v.Reference(), []string{"environmentBrowser"}, &vm)
  	if err != nil {
  		return nil, err
  	}
  
  	req := types.QueryConfigTarget{
  		This: vm.EnvironmentBrowser,
  	}
  
  	res, err := methods.QueryConfigTarget(ctx, v.Client(), &req)
  	if err != nil {
  		return nil, err
  	}
  
  	return res.Returnval, nil
  }
docs: // QueryEnvironmentBrowser is a helper to get the environmentBrowser property.