- [HTTP request](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.compilationResults/createLongRunning.md.txt#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.compilationResults/createLongRunning.md.txt#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.compilationResults/createLongRunning.md.txt#body.request_body)
- [Response body](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.compilationResults/createLongRunning.md.txt#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.compilationResults/createLongRunning.md.txt#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.compilationResults/createLongRunning.md.txt#body.aspect_1)
- [Try it!](https://docs.cloud.google.com/dataform/reference/rest/v1/projects.locations.repositories.compilationResults/createLongRunning.md.txt#try-it)

Creates a new CompilationResult in a given project and location asynchronously.

### HTTP request

Choose an endpoint:
global africa-south1 asia-east1 asia-east2 asia-northeast1 asia-northeast2 asia-northeast3 asia-south1 asia-south2 asia-southeast1 asia-southeast2 australia-southeast1 australia-southeast2 europe-central2 europe-north1 europe-southwest1 europe-west1 europe-west10 europe-west12 europe-west2 europe-west3 europe-west4 europe-west6 europe-west8 europe-west9 me-central1 me-central2 me-west1 northamerica-northeast1 northamerica-northeast2 southamerica-east1 southamerica-west1 us-central1 us-east1 us-east4 us-east5 us-south1 us-west1 us-west2 us-west3 us-west4   
`POST https://dataform.googleapis.com/v1/{parent=projects/*/locations/*/repositories/*}/compilationResults:createLongRunning`

<br />

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The repository in which to create the compilation result. Must be in the format `projects/*/locations/*/repositories/*`. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `dataform.compilationResults.create` |

### Request body

The request body contains an instance of `CompilationResult`.

### Response body

If successful, the response body contains an instance of `Operation`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `
  https://www.googleapis.com/auth/bigquery`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication.md.txt#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `dataform.compilationResults.create`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).