code: func Update(rp *object.ResourcePool, name string, spec *types.ResourceConfigSpec) error {
  	log.Printf("[DEBUG] Updating resource pool %q", fmt.Sprintf("%s", rp.InventoryPath))
  	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
  	defer cancel()
  	return rp.UpdateConfig(ctx, name, spec)
  }
docs: // Update updates a ResourcePool.