code: func (cli *OpsGenieHeartbeatClient) Update(req heartbeat.UpdateHeartbeatRequest) (*heartbeat.UpdateHeartbeatResponse, error) {
  	var response heartbeat.HeartbeatMetaResponseV2
  	err := cli.sendPatchRequest(&req, &response)
  
  	if err != nil {
  		return nil, err
  	}
  
  	return convertUpdateToV1Response(&response), nil
  }
docs: // Update method changes configuration of an existing heartbeat at OpsGenie.