| _key | core | string | |
| ancestors | core | array<string> | |
| annotations | core | hstore | Optional. Arbitrary key-value metadata storage e.g. to help client tools identify preview during automation. See https://google.aip.dev/148#annotations for details on format and size limitations. |
| artifacts_gcs_bucket | core | string | Optional. User-defined location of Cloud Build logs, artifacts, and in Google Cloud Storage. Format: `gs://{bucket}/{folder}` A default bucket will be bootstrapped if the field is not set or empty Default Bucket Format: `gs://--blueprint-config` Constraints: - The bucket needs to be in the same project as the deployment - The path cannot be within the path of `gcs_source` If omitted and deployment resource ref provided has artifacts_gcs_bucket defined, that artifact bucket is used. |
| build | core | string | Output only. Cloud Build instance UUID associated with this preview. |
| create_time | core | timestamp | Output only. Time the preview was created. |
| datadog_display_name | core | string | |
| deployment | core | string | Optional. Optional deployment reference. If specified, the preview will be performed using the provided deployment's current state and use any relevant fields from the deployment unless explicitly specified in the preview create request. |
| error_code | core | string | Output only. Code describing any errors that may have occurred. |
| error_logs | core | string | Output only. Link to tf-error.ndjson file, which contains the full list of the errors encountered during a Terraform preview. Format: `gs://{bucket}/{object}`. |
| error_status | core | json | Output only. Additional information regarding the current state. |
| labels | core | array<string> | Optional. User-defined labels for the preview. |
| logs | core | string | Output only. Location of preview logs in `gs://{bucket}/{object}` format. |
| name | core | string | Identifier. Resource name of the preview. Resource name can be user provided or server generated ID if unspecified. Format: `projects/{project}/locations/{location}/previews/{preview}` |
| organization_id | core | string | |
| parent | core | string | |
| preview_artifacts | core | json | Output only. Artifacts from preview. |
| preview_mode | core | string | Optional. Current mode of preview. |
| project_id | core | string | |
| project_number | core | string | |
| region_id | core | string | |
| resource_name | core | string | |
| service_account | core | string | Required. User-specified Service Account (SA) credentials to be used when previewing resources. Format: `projects/{projectID}/serviceAccounts/{serviceAccount}` |
| state | core | string | Output only. Current state of the preview. |
| tags | core | hstore_csv | |
| terraform_blueprint | core | json | The terraform blueprint to preview. |
| tf_errors | core | json | Output only. Summary of errors encountered during Terraform preview. It has a size limit of 10, i.e. only top 10 errors will be summarized here. |
| tf_version | core | string | Output only. The current Terraform version set on the preview. It is in the format of "Major.Minor.Patch", for example, "1.3.10". |
| tf_version_constraint | core | string | Optional. The user-specified Terraform version constraint. Example: "=1.3.10". |
| worker_pool | core | string | Optional. The user-specified Worker Pool resource in which the Cloud Build job will execute. Format projects/{project}/locations/{location}/workerPools/{workerPoolId} If this field is unspecified, the default Cloud Build worker pool will be used. If omitted and deployment resource ref provided has worker_pool defined, that worker pool is used. |
| zone_id | core | string | |