Skip to content

Commit 4c29c61

Browse files
Revert "Add activity journal feature for google_storage_insights_dataset_config" (#15279)
1 parent 606f5f2 commit 4c29c61

File tree

4 files changed

+0
-11
lines changed

4 files changed

+0
-11
lines changed

mmv1/products/storageinsights/DatasetConfig.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,6 @@ properties:
119119
description: |
120120
Number of days of history that must be retained.
121121
required: true
122-
- name: 'activityDataRetentionPeriodDays'
123-
type: Integer
124-
description: |
125-
Number of days of activity data that must be retained. If not specified, retentionPeriodDays will be used. Set to 0 to turn off the activity data.
126122
- name: 'link'
127123
type: NestedObject
128124
description: |

mmv1/templates/terraform/examples/storage_insights_dataset_config_excludes.tf.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ resource "google_storage_insights_dataset_config" "{{$.PrimaryResourceId}}" {
22
location = "us-central1"
33
dataset_config_id = "{{$.Vars.dataset_config_id}}"
44
retention_period_days = 1
5-
activity_data_retention_period_days = 2
65
organization_scope = true
76
identity {
87
type = "IDENTITY_TYPE_PER_PROJECT"

mmv1/templates/terraform/pre_update/storage_insights_dataset_config.go.tmpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ if d.HasChange("retention_period_days") {
88
updateMask = append(updateMask, "retentionPeriodDays")
99
}
1010

11-
if d.HasChange("activity_data_retention_period_days") {
12-
updateMask = append(updateMask, "activityDataRetentionPeriodDays")
13-
}
14-
1511
if d.HasChange("description") {
1612
updateMask = append(updateMask, "description")
1713
}

mmv1/third_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ resource "google_storage_insights_dataset_config" "config" {
220220
location = "us-central1"
221221
dataset_config_id = "tf_test_my_config%{random_suffix}"
222222
retention_period_days = 1
223-
activity_data_retention_period_days = 2
224223
source_folders {
225224
folder_numbers = ["123", "456"]
226225
}
@@ -237,7 +236,6 @@ resource "google_storage_insights_dataset_config" "config" {
237236
location = "us-central1"
238237
dataset_config_id = "tf_test_my_config%{random_suffix}"
239238
retention_period_days = 1
240-
activity_data_retention_period_days = 0
241239
organization_scope = true
242240
identity {
243241
type = "IDENTITY_TYPE_PER_CONFIG"

0 commit comments

Comments
 (0)