code: func (actor Actor) SetApplicationProcessHealthCheckTypeByNameAndSpace(
  	appName string,
  	spaceGUID string,
  	healthCheckType constant.HealthCheckType,
  	httpEndpoint string,
  	processType string,
  	invocationTimeout int64,
  ) (Application, Warnings, error) {
  
  	app, getWarnings, err := actor.GetApplicationByNameAndSpace(appName, spaceGUID)
  	if err != nil {
  		return Application{}, getWarnings, err
  	}
  
  	setWarnings, err := actor.UpdateProcessByTypeAndApplication(
  		processType,
  		app.GUID,
  		Process{
  			HealthCheckType:              healthCheckType,
  			HealthCheckEndpoint:          httpEndpoint,
  			HealthCheckInvocationTimeout: invocationTimeout,
  		})
  	return app, append(getWarnings, setWarnings...), err
  }
docs: // SetApplicationProcessHealthCheckTypeByNameAndSpace sets the health check
  // information of the provided processType for an application with the given
  // name and space GUID.