# Method: projects.locations.spaces.generateTerraformPlanAssessmentReport

- [HTTP request](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces/generateTerraformPlanAssessmentReport#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces/generateTerraformPlanAssessmentReport#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces/generateTerraformPlanAssessmentReport#body.request_body)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces/generateTerraformPlanAssessmentReport#body.request_body.SCHEMA_REPRESENTATION)
- [Response body](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces/generateTerraformPlanAssessmentReport#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces/generateTerraformPlanAssessmentReport#body.aspect)
- [Try it!](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces/generateTerraformPlanAssessmentReport#try-it)

Generate a Terraform plan assessment report for a given Terraform plan.

### HTTP request

`POST https://designcenter.googleapis.com/v1/{name=projects/*/locations/*/spaces/*}:generateTerraformPlanAssessmentReport`

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

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The parent resource in which to generate the assessment report. Format: projects/$project/locations/$location/spaces/$space |

### Request body

The request body contains data with the following structure:

| JSON representation |
|---|
| ``` { "terraformPlan": string, "additionalFrameworks": [ string ] } ``` |

| Fields ||
|---|---|
| `terraformPlan` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. The raw JSON representation of the generated Terraform plan, provided as bytes. A base64-encoded string. |
| `additionalFrameworks[]` | `string` Optional. Additional frameworks to run assessment against. If empty, run against default frameworks. Frameworks refers to the policies. |

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Operation`.

### Authorization scopes

Requires the following OAuth scope:

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

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