File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
templates/terraform/examples Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -127,3 +127,15 @@ properties:
127127 - ' TRANSFER_STATUS_UNSPECIFIED'
128128 - ' TRANSFER_STATUS_MIGRATED'
129129 - ' TRANSFER_STATUS_TRANSFERRED'
130+ - name : ' dataClassification'
131+ type : Enum
132+ description : |
133+ Classifies the data stored by the aspect.
134+ `DATA_CLASSIFICATION_UNSPECIFIED` denotes that the aspect contains only metadata
135+ while `METADATA_AND_DATA` indicates data derived content.
136+ <br><br>
137+ enum_values :
138+ - ' DATA_CLASSIFICATION_UNSPECIFIED'
139+ - ' METADATA_AND_DATA'
140+ immutable : true
141+ diff_suppress_func : ' tpgresource.EmptyOrDefaultStringSuppress("DATA_CLASSIFICATION_UNSPECIFIED")'
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ resource "google_dataplex_aspect_type" "{{$.PrimaryResourceId}}" {
33 project = "{{index $.TestEnvVars "project_name"}}"
44 location = "us-central1"
55
6+ data_classification = "DATA_CLASSIFICATION_UNSPECIFIED"
67 metadata_template = <<EOF
78{
89 "name": "tf-test-template",
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ resource "google_dataplex_aspect_type" "{{$.PrimaryResourceId}}" {
55
66 labels = { "tag": "test-tf" }
77 display_name = "terraform aspect type"
8- description = "aspect type created by Terraform"
8+ description = "data aspect type created by Terraform"
9+ data_classification = "METADATA_AND_DATA"
910 metadata_template = <<EOF
1011{
1112 "type": "record",
You can’t perform that action at this time.
0 commit comments