code: func (client *Client) UpdateResourceMatch(resourcesToMatch []Resource) ([]Resource, Warnings, error) {
  	body, err := json.Marshal(resourcesToMatch)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	request, err := client.newHTTPRequest(requestOptions{
  		RequestName: internal.PutResourceMatchRequest,
  		Body:        bytes.NewReader(body),
  	})
  	if err != nil {
  		return nil, nil, err
  	}
  
  	request.Header.Set("Content-Type", "application/json")
  
  	var matchedResources []Resource
  	response := cloudcontroller.Response{
  		DecodeJSONResponseInto: &matchedResources,
  	}
  
  	err = client.connection.Make(request, &response)
  	return matchedResources, response.Warnings, err
  }
docs: // UpdateResourceMatch returns the resources that exist on the cloud foundry instance
  // from the set of resources given.