google-apis-dlp_v2 0.68.0 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6129450312fb03d5caf6f84a14ed47db4a89f96fa147c9116b4a4a98855c5677
4
- data.tar.gz: f9e5169aaf7412e9f7581a4cde46f985480582602968d62faf4a4730cc174de1
3
+ metadata.gz: 70425493c8cbf114ac741ef2705f5b2eeca185ad6826fdb76d944e780a2a6dff
4
+ data.tar.gz: de38fa6c6a7da9e1395f635a9dc7180bab5c642f47f821eec546249e175a0011
5
5
  SHA512:
6
- metadata.gz: 42c95340d26d9d4aaf21df72d313259c8243ebe8636d1e38272a035302e6a0b1891a39308f8ec7281044e9e2b8eebe5a5953ed22b92394bd398eb3cb58e293df
7
- data.tar.gz: 3792e225fe3474e28d480b3aec5efdffb5e9598a50befbff1311f8e2a7790d0d1e9470f0360d66f29c6e81be5b7b8d4154e3148bbe2f337643c7e3162445c3d2
6
+ metadata.gz: 04dedf17a029127f1693f7134c419a5eb0606f9a82cda03e8445fbb4a71f61cb8e3bc947af6c1778d91ef62f9e242dc4f3f3c0163130a7dfd826893de1d38d6f
7
+ data.tar.gz: ec73dabe3310c6e8d0f2f9849bd42d67b1560c45c71ca4a3b7e7abc5c213dd0ee98a17d5e6ec1b1a3662941d9766417a12090829be5bf556cae0c18a40ee3c21
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.70.0 (2024-08-04)
4
+
5
+ * Regenerated from discovery document revision 20240721
6
+ * Regenerated using generator version 0.15.1
7
+
8
+ ### v0.69.0 (2024-07-25)
9
+
10
+ * Regenerated from discovery document revision 20240707
11
+
3
12
  ### v0.68.0 (2024-06-30)
4
13
 
5
14
  * Regenerated from discovery document revision 20240624
@@ -188,6 +188,19 @@ module Google
188
188
  end
189
189
  end
190
190
 
191
+ # Match discovery resources not covered by any other filter.
192
+ class GooglePrivacyDlpV2AllOtherResources
193
+ include Google::Apis::Core::Hashable
194
+
195
+ def initialize(**args)
196
+ update!(**args)
197
+ end
198
+
199
+ # Update properties of this object
200
+ def update!(**args)
201
+ end
202
+ end
203
+
191
204
  # Apply to all text.
192
205
  class GooglePrivacyDlpV2AllText
193
206
  include Google::Apis::Core::Hashable
@@ -1042,6 +1055,47 @@ module Google
1042
1055
  end
1043
1056
  end
1044
1057
 
1058
+ # Target used to match against for discovery with Cloud Storage buckets.
1059
+ class GooglePrivacyDlpV2CloudStorageDiscoveryTarget
1060
+ include Google::Apis::Core::Hashable
1061
+
1062
+ # Requirements that must be true before a file store is scanned in discovery for
1063
+ # the first time. There is an AND relationship between the top-level attributes.
1064
+ # Corresponds to the JSON property `conditions`
1065
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryFileStoreConditions]
1066
+ attr_accessor :conditions
1067
+
1068
+ # Do not profile the tables.
1069
+ # Corresponds to the JSON property `disabled`
1070
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled]
1071
+ attr_accessor :disabled
1072
+
1073
+ # Determines which buckets will have profiles generated within an organization
1074
+ # or project. Includes the ability to filter by regular expression patterns on
1075
+ # project ID and bucket name.
1076
+ # Corresponds to the JSON property `filter`
1077
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageFilter]
1078
+ attr_accessor :filter
1079
+
1080
+ # How often existing buckets should have their profiles refreshed. New buckets
1081
+ # are scanned as quickly as possible depending on system capacity.
1082
+ # Corresponds to the JSON property `generationCadence`
1083
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence]
1084
+ attr_accessor :generation_cadence
1085
+
1086
+ def initialize(**args)
1087
+ update!(**args)
1088
+ end
1089
+
1090
+ # Update properties of this object
1091
+ def update!(**args)
1092
+ @conditions = args[:conditions] if args.key?(:conditions)
1093
+ @disabled = args[:disabled] if args.key?(:disabled)
1094
+ @filter = args[:filter] if args.key?(:filter)
1095
+ @generation_cadence = args[:generation_cadence] if args.key?(:generation_cadence)
1096
+ end
1097
+ end
1098
+
1045
1099
  # Message representing a set of files in Cloud Storage.
1046
1100
  class GooglePrivacyDlpV2CloudStorageFileSet
1047
1101
  include Google::Apis::Core::Hashable
@@ -1150,6 +1204,36 @@ module Google
1150
1204
  end
1151
1205
  end
1152
1206
 
1207
+ # A pattern to match against one or more file stores. At least one pattern must
1208
+ # be specified. Regular expressions use RE2 [syntax](https://github.com/google/
1209
+ # re2/wiki/Syntax); a guide can be found under the google/re2 repository on
1210
+ # GitHub.
1211
+ class GooglePrivacyDlpV2CloudStorageRegex
1212
+ include Google::Apis::Core::Hashable
1213
+
1214
+ # Optional. Regex to test the bucket name against. If empty, all buckets match.
1215
+ # Example: "marketing2021" or "(marketing)\d`4`" will both match the bucket gs://
1216
+ # marketing2021
1217
+ # Corresponds to the JSON property `bucketNameRegex`
1218
+ # @return [String]
1219
+ attr_accessor :bucket_name_regex
1220
+
1221
+ # Optional. For organizations, if unset, will match all projects.
1222
+ # Corresponds to the JSON property `projectIdRegex`
1223
+ # @return [String]
1224
+ attr_accessor :project_id_regex
1225
+
1226
+ def initialize(**args)
1227
+ update!(**args)
1228
+ end
1229
+
1230
+ # Update properties of this object
1231
+ def update!(**args)
1232
+ @bucket_name_regex = args[:bucket_name_regex] if args.key?(:bucket_name_regex)
1233
+ @project_id_regex = args[:project_id_regex] if args.key?(:project_id_regex)
1234
+ end
1235
+ end
1236
+
1153
1237
  # Message representing a set of files in a Cloud Storage bucket. Regular
1154
1238
  # expressions are used to allow fine-grained control over which files in the
1155
1239
  # bucket to include. Included files are those that match at least one item in `
@@ -1209,6 +1293,32 @@ module Google
1209
1293
  end
1210
1294
  end
1211
1295
 
1296
+ # Identifies a single Cloud Storage bucket.
1297
+ class GooglePrivacyDlpV2CloudStorageResourceReference
1298
+ include Google::Apis::Core::Hashable
1299
+
1300
+ # Required. The bucket to scan.
1301
+ # Corresponds to the JSON property `bucketName`
1302
+ # @return [String]
1303
+ attr_accessor :bucket_name
1304
+
1305
+ # Required. If within a project-level config, then this must match the config's
1306
+ # project id.
1307
+ # Corresponds to the JSON property `projectId`
1308
+ # @return [String]
1309
+ attr_accessor :project_id
1310
+
1311
+ def initialize(**args)
1312
+ update!(**args)
1313
+ end
1314
+
1315
+ # Update properties of this object
1316
+ def update!(**args)
1317
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
1318
+ @project_id = args[:project_id] if args.key?(:project_id)
1319
+ end
1320
+ end
1321
+
1212
1322
  # Represents a color in the RGB color space.
1213
1323
  class GooglePrivacyDlpV2Color
1214
1324
  include Google::Apis::Core::Hashable
@@ -2193,7 +2303,7 @@ module Google
2193
2303
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile]
2194
2304
  attr_accessor :column_profile
2195
2305
 
2196
- # The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket.
2306
+ # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket.
2197
2307
  # Corresponds to the JSON property `fileStoreProfile`
2198
2308
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
2199
2309
  attr_accessor :file_store_profile
@@ -2323,7 +2433,7 @@ module Google
2323
2433
  class GooglePrivacyDlpV2DataProfileLocation
2324
2434
  include Google::Apis::Core::Hashable
2325
2435
 
2326
- # The ID of the Folder within an organization to scan.
2436
+ # The ID of the folder within an organization to scan.
2327
2437
  # Corresponds to the JSON property `folderId`
2328
2438
  # @return [Fixnum]
2329
2439
  attr_accessor :folder_id
@@ -2374,7 +2484,7 @@ module Google
2374
2484
  # @return [String]
2375
2485
  attr_accessor :event
2376
2486
 
2377
- # The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket.
2487
+ # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket.
2378
2488
  # Corresponds to the JSON property `fileStoreProfile`
2379
2489
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
2380
2490
  attr_accessor :file_store_profile
@@ -2715,7 +2825,7 @@ module Google
2715
2825
  include Google::Apis::Core::Hashable
2716
2826
 
2717
2827
  # Required. User settable Cloud Storage bucket and folders to store de-
2718
- # identified files. This field must be set for cloud storage deidentification.
2828
+ # identified files. This field must be set for Cloud Storage deidentification.
2719
2829
  # The output Cloud Storage bucket must be different from the input bucket. De-
2720
2830
  # identified files will overwrite files in the output path. Form of: gs://bucket/
2721
2831
  # folder/ or gs://bucket
@@ -2724,11 +2834,11 @@ module Google
2724
2834
  attr_accessor :cloud_storage_output
2725
2835
 
2726
2836
  # List of user-specified file type groups to transform. If specified, only the
2727
- # files with these filetypes will be transformed. If empty, all supported files
2837
+ # files with these file types will be transformed. If empty, all supported files
2728
2838
  # will be transformed. Supported types may be automatically added over time. If
2729
2839
  # a file type is set in this field that isn't supported by the Deidentify action
2730
2840
  # then the job will fail and will not be successfully created/started. Currently
2731
- # the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
2841
+ # the only file types supported are: IMAGES, TEXT_FILES, CSV, TSV.
2732
2842
  # Corresponds to the JSON property `fileTypesToTransform`
2733
2843
  # @return [Array<String>]
2734
2844
  attr_accessor :file_types_to_transform
@@ -3384,6 +3494,99 @@ module Google
3384
3494
  end
3385
3495
  end
3386
3496
 
3497
+ # Requirements that must be true before a Cloud Storage bucket or object is
3498
+ # scanned in discovery for the first time. There is an AND relationship between
3499
+ # the top-level attributes.
3500
+ class GooglePrivacyDlpV2DiscoveryCloudStorageConditions
3501
+ include Google::Apis::Core::Hashable
3502
+
3503
+ # Required. Only objects with the specified attributes will be scanned. Defaults
3504
+ # to [ALL_SUPPORTED_BUCKETS] if unset.
3505
+ # Corresponds to the JSON property `includedBucketAttributes`
3506
+ # @return [Array<String>]
3507
+ attr_accessor :included_bucket_attributes
3508
+
3509
+ # Required. Only objects with the specified attributes will be scanned. If an
3510
+ # object has one of the specified attributes but is inside an excluded bucket,
3511
+ # it will not be scanned. Defaults to [ALL_SUPPORTED_OBJECTS]. A profile will be
3512
+ # created even if no objects match the included_object_attributes.
3513
+ # Corresponds to the JSON property `includedObjectAttributes`
3514
+ # @return [Array<String>]
3515
+ attr_accessor :included_object_attributes
3516
+
3517
+ def initialize(**args)
3518
+ update!(**args)
3519
+ end
3520
+
3521
+ # Update properties of this object
3522
+ def update!(**args)
3523
+ @included_bucket_attributes = args[:included_bucket_attributes] if args.key?(:included_bucket_attributes)
3524
+ @included_object_attributes = args[:included_object_attributes] if args.key?(:included_object_attributes)
3525
+ end
3526
+ end
3527
+
3528
+ # Determines which buckets will have profiles generated within an organization
3529
+ # or project. Includes the ability to filter by regular expression patterns on
3530
+ # project ID and bucket name.
3531
+ class GooglePrivacyDlpV2DiscoveryCloudStorageFilter
3532
+ include Google::Apis::Core::Hashable
3533
+
3534
+ # Identifies a single Cloud Storage bucket.
3535
+ # Corresponds to the JSON property `cloudStorageResourceReference`
3536
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageResourceReference]
3537
+ attr_accessor :cloud_storage_resource_reference
3538
+
3539
+ # Match file stores (e.g. buckets) using regex filters.
3540
+ # Corresponds to the JSON property `collection`
3541
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreCollection]
3542
+ attr_accessor :collection
3543
+
3544
+ # Match discovery resources not covered by any other filter.
3545
+ # Corresponds to the JSON property `others`
3546
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources]
3547
+ attr_accessor :others
3548
+
3549
+ def initialize(**args)
3550
+ update!(**args)
3551
+ end
3552
+
3553
+ # Update properties of this object
3554
+ def update!(**args)
3555
+ @cloud_storage_resource_reference = args[:cloud_storage_resource_reference] if args.key?(:cloud_storage_resource_reference)
3556
+ @collection = args[:collection] if args.key?(:collection)
3557
+ @others = args[:others] if args.key?(:others)
3558
+ end
3559
+ end
3560
+
3561
+ # How often existing buckets should have their profiles refreshed. New buckets
3562
+ # are scanned as quickly as possible depending on system capacity.
3563
+ class GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence
3564
+ include Google::Apis::Core::Hashable
3565
+
3566
+ # The cadence at which to update data profiles when the inspection rules defined
3567
+ # by the `InspectTemplate` change.
3568
+ # Corresponds to the JSON property `inspectTemplateModifiedCadence`
3569
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence]
3570
+ attr_accessor :inspect_template_modified_cadence
3571
+
3572
+ # Optional. Data changes in Cloud Storage can't trigger reprofiling. If you set
3573
+ # this field, profiles are refreshed at this frequency regardless of whether the
3574
+ # underlying buckets have changed. Defaults to never.
3575
+ # Corresponds to the JSON property `refreshFrequency`
3576
+ # @return [String]
3577
+ attr_accessor :refresh_frequency
3578
+
3579
+ def initialize(**args)
3580
+ update!(**args)
3581
+ end
3582
+
3583
+ # Update properties of this object
3584
+ def update!(**args)
3585
+ @inspect_template_modified_cadence = args[:inspect_template_modified_cadence] if args.key?(:inspect_template_modified_cadence)
3586
+ @refresh_frequency = args[:refresh_frequency] if args.key?(:refresh_frequency)
3587
+ end
3588
+ end
3589
+
3387
3590
  # Configuration for discovery to scan resources for profile generation. Only one
3388
3591
  # discovery configuration may exist per organization, folder, or project. The
3389
3592
  # generated data profiles are retained according to the [data retention policy] (
@@ -3481,12 +3684,60 @@ module Google
3481
3684
  end
3482
3685
  end
3483
3686
 
3687
+ # Requirements that must be true before a file store is scanned in discovery for
3688
+ # the first time. There is an AND relationship between the top-level attributes.
3689
+ class GooglePrivacyDlpV2DiscoveryFileStoreConditions
3690
+ include Google::Apis::Core::Hashable
3691
+
3692
+ # Requirements that must be true before a Cloud Storage bucket or object is
3693
+ # scanned in discovery for the first time. There is an AND relationship between
3694
+ # the top-level attributes.
3695
+ # Corresponds to the JSON property `cloudStorageConditions`
3696
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageConditions]
3697
+ attr_accessor :cloud_storage_conditions
3698
+
3699
+ # Optional. File store must have been created after this date. Used to avoid
3700
+ # backfilling.
3701
+ # Corresponds to the JSON property `createdAfter`
3702
+ # @return [String]
3703
+ attr_accessor :created_after
3704
+
3705
+ # Optional. Minimum age a file store must have. If set, the value must be 1 hour
3706
+ # or greater.
3707
+ # Corresponds to the JSON property `minAge`
3708
+ # @return [String]
3709
+ attr_accessor :min_age
3710
+
3711
+ def initialize(**args)
3712
+ update!(**args)
3713
+ end
3714
+
3715
+ # Update properties of this object
3716
+ def update!(**args)
3717
+ @cloud_storage_conditions = args[:cloud_storage_conditions] if args.key?(:cloud_storage_conditions)
3718
+ @created_after = args[:created_after] if args.key?(:created_after)
3719
+ @min_age = args[:min_age] if args.key?(:min_age)
3720
+ end
3721
+ end
3722
+
3484
3723
  # What must take place for a profile to be updated and how frequently it should
3485
3724
  # occur. New tables are scanned as quickly as possible depending on system
3486
3725
  # capacity.
3487
3726
  class GooglePrivacyDlpV2DiscoveryGenerationCadence
3488
3727
  include Google::Apis::Core::Hashable
3489
3728
 
3729
+ # The cadence at which to update data profiles when the inspection rules defined
3730
+ # by the `InspectTemplate` change.
3731
+ # Corresponds to the JSON property `inspectTemplateModifiedCadence`
3732
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence]
3733
+ attr_accessor :inspect_template_modified_cadence
3734
+
3735
+ # Frequency to update profiles regardless of whether the underlying resource has
3736
+ # changed. Defaults to never.
3737
+ # Corresponds to the JSON property `refreshFrequency`
3738
+ # @return [String]
3739
+ attr_accessor :refresh_frequency
3740
+
3490
3741
  # The cadence at which to update data profiles when a schema is modified.
3491
3742
  # Corresponds to the JSON property `schemaModifiedCadence`
3492
3743
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence]
@@ -3503,11 +3754,34 @@ module Google
3503
3754
 
3504
3755
  # Update properties of this object
3505
3756
  def update!(**args)
3757
+ @inspect_template_modified_cadence = args[:inspect_template_modified_cadence] if args.key?(:inspect_template_modified_cadence)
3758
+ @refresh_frequency = args[:refresh_frequency] if args.key?(:refresh_frequency)
3506
3759
  @schema_modified_cadence = args[:schema_modified_cadence] if args.key?(:schema_modified_cadence)
3507
3760
  @table_modified_cadence = args[:table_modified_cadence] if args.key?(:table_modified_cadence)
3508
3761
  end
3509
3762
  end
3510
3763
 
3764
+ # The cadence at which to update data profiles when the inspection rules defined
3765
+ # by the `InspectTemplate` change.
3766
+ class GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence
3767
+ include Google::Apis::Core::Hashable
3768
+
3769
+ # How frequently data profiles can be updated when the template is modified.
3770
+ # Defaults to never.
3771
+ # Corresponds to the JSON property `frequency`
3772
+ # @return [String]
3773
+ attr_accessor :frequency
3774
+
3775
+ def initialize(**args)
3776
+ update!(**args)
3777
+ end
3778
+
3779
+ # Update properties of this object
3780
+ def update!(**args)
3781
+ @frequency = args[:frequency] if args.key?(:frequency)
3782
+ end
3783
+ end
3784
+
3511
3785
  # The cadence at which to update data profiles when a schema is modified.
3512
3786
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
3513
3787
  include Google::Apis::Core::Hashable
@@ -3540,7 +3814,7 @@ module Google
3540
3814
  class GooglePrivacyDlpV2DiscoveryStartingLocation
3541
3815
  include Google::Apis::Core::Hashable
3542
3816
 
3543
- # The ID of the Folder within an organization to scan.
3817
+ # The ID of the folder within an organization to scan.
3544
3818
  # Corresponds to the JSON property `folderId`
3545
3819
  # @return [Fixnum]
3546
3820
  attr_accessor :folder_id
@@ -3602,6 +3876,11 @@ module Google
3602
3876
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget]
3603
3877
  attr_accessor :cloud_sql_target
3604
3878
 
3879
+ # Target used to match against for discovery with Cloud Storage buckets.
3880
+ # Corresponds to the JSON property `cloudStorageTarget`
3881
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget]
3882
+ attr_accessor :cloud_storage_target
3883
+
3605
3884
  # Discovery target for credentials and secrets in cloud resource metadata. This
3606
3885
  # target does not include any filtering or frequency controls. Cloud DLP will
3607
3886
  # scan cloud resource metadata for secrets daily. No inspect template should be
@@ -3622,6 +3901,7 @@ module Google
3622
3901
  def update!(**args)
3623
3902
  @big_query_target = args[:big_query_target] if args.key?(:big_query_target)
3624
3903
  @cloud_sql_target = args[:cloud_sql_target] if args.key?(:cloud_sql_target)
3904
+ @cloud_storage_target = args[:cloud_storage_target] if args.key?(:cloud_storage_target)
3625
3905
  @secrets_target = args[:secrets_target] if args.key?(:secrets_target)
3626
3906
  end
3627
3907
  end
@@ -4028,7 +4308,7 @@ module Google
4028
4308
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
4029
4309
  attr_accessor :data_risk_level
4030
4310
 
4031
- # A list of Errors detected while scanning this cluster. The list is truncated
4311
+ # A list of errors detected while scanning this cluster. The list is truncated
4032
4312
  # to 10 per cluster.
4033
4313
  # Corresponds to the JSON property `errors`
4034
4314
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
@@ -4172,7 +4452,27 @@ module Google
4172
4452
  end
4173
4453
  end
4174
4454
 
4175
- # The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket.
4455
+ # Match file stores (e.g. buckets) using regex filters.
4456
+ class GooglePrivacyDlpV2FileStoreCollection
4457
+ include Google::Apis::Core::Hashable
4458
+
4459
+ # A collection of regular expressions to determine what file store to match
4460
+ # against.
4461
+ # Corresponds to the JSON property `includeRegexes`
4462
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes]
4463
+ attr_accessor :include_regexes
4464
+
4465
+ def initialize(**args)
4466
+ update!(**args)
4467
+ end
4468
+
4469
+ # Update properties of this object
4470
+ def update!(**args)
4471
+ @include_regexes = args[:include_regexes] if args.key?(:include_regexes)
4472
+ end
4473
+ end
4474
+
4475
+ # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket.
4176
4476
  class GooglePrivacyDlpV2FileStoreDataProfile
4177
4477
  include Google::Apis::Core::Hashable
4178
4478
 
@@ -4198,9 +4498,9 @@ module Google
4198
4498
  attr_accessor :data_source_type
4199
4499
 
4200
4500
  # For resources that have multiple storage locations, these are those regions.
4201
- # For Google Cloud Storage this is the list of regions chosen for dual-region
4202
- # storage. `file_store_location` will normally be the corresponding multi-region
4203
- # for the list of individual locations. The first region is always picked as the
4501
+ # For Cloud Storage this is the list of regions chosen for dual-region storage. `
4502
+ # file_store_location` will normally be the corresponding multi-region for the
4503
+ # list of individual locations. The first region is always picked as the
4204
4504
  # processing and storage location for the data profile.
4205
4505
  # Corresponds to the JSON property `dataStorageLocations`
4206
4506
  # @return [Array<String>]
@@ -4222,13 +4522,13 @@ module Google
4222
4522
  attr_accessor :file_store_is_empty
4223
4523
  alias_method :file_store_is_empty?, :file_store_is_empty
4224
4524
 
4225
- # The location of the file store. * Google Cloud Storage: https://cloud.google.
4226
- # com/storage/docs/locations#available-locations
4525
+ # The location of the file store. * Cloud Storage: https://cloud.google.com/
4526
+ # storage/docs/locations#available-locations
4227
4527
  # Corresponds to the JSON property `fileStoreLocation`
4228
4528
  # @return [String]
4229
4529
  attr_accessor :file_store_location
4230
4530
 
4231
- # The file store path. * Google Cloud Storage: `gs://`bucket``
4531
+ # The file store path. * Cloud Storage: `gs://`bucket``
4232
4532
  # Corresponds to the JSON property `fileStorePath`
4233
4533
  # @return [String]
4234
4534
  attr_accessor :file_store_path
@@ -4265,7 +4565,7 @@ module Google
4265
4565
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus]
4266
4566
  attr_accessor :profile_status
4267
4567
 
4268
- # The resource name to the project data profile for this file store.
4568
+ # The resource name of the project data profile for this file store.
4269
4569
  # Corresponds to the JSON property `projectDataProfile`
4270
4570
  # @return [String]
4271
4571
  attr_accessor :project_data_profile
@@ -4275,10 +4575,10 @@ module Google
4275
4575
  # @return [String]
4276
4576
  attr_accessor :project_id
4277
4577
 
4278
- # Attributes of the resource being profiled. Currently used attributes: -
4279
- # customer_managed_encryption: boolean true: the resource is encrypted with a
4280
- # customer-managed key. false: the resource is encrypted with a provider-managed
4281
- # key.
4578
+ # Attributes of the resource being profiled. Currently used attributes: *
4579
+ # customer_managed_encryption: boolean - true: the resource is encrypted with a
4580
+ # customer-managed key. - false: the resource is encrypted with a provider-
4581
+ # managed key.
4282
4582
  # Corresponds to the JSON property `resourceAttributes`
4283
4583
  # @return [Hash<String,Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
4284
4584
  attr_accessor :resource_attributes
@@ -4355,6 +4655,50 @@ module Google
4355
4655
  end
4356
4656
  end
4357
4657
 
4658
+ # A pattern to match against one or more file stores.
4659
+ class GooglePrivacyDlpV2FileStoreRegex
4660
+ include Google::Apis::Core::Hashable
4661
+
4662
+ # A pattern to match against one or more file stores. At least one pattern must
4663
+ # be specified. Regular expressions use RE2 [syntax](https://github.com/google/
4664
+ # re2/wiki/Syntax); a guide can be found under the google/re2 repository on
4665
+ # GitHub.
4666
+ # Corresponds to the JSON property `cloudStorageRegex`
4667
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegex]
4668
+ attr_accessor :cloud_storage_regex
4669
+
4670
+ def initialize(**args)
4671
+ update!(**args)
4672
+ end
4673
+
4674
+ # Update properties of this object
4675
+ def update!(**args)
4676
+ @cloud_storage_regex = args[:cloud_storage_regex] if args.key?(:cloud_storage_regex)
4677
+ end
4678
+ end
4679
+
4680
+ # A collection of regular expressions to determine what file store to match
4681
+ # against.
4682
+ class GooglePrivacyDlpV2FileStoreRegexes
4683
+ include Google::Apis::Core::Hashable
4684
+
4685
+ # Required. The group of regular expression patterns to match against one or
4686
+ # more file stores. Maximum of 100 entries. The sum of all regular expression's
4687
+ # length can't exceed 10 KiB.
4688
+ # Corresponds to the JSON property `patterns`
4689
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegex>]
4690
+ attr_accessor :patterns
4691
+
4692
+ def initialize(**args)
4693
+ update!(**args)
4694
+ end
4695
+
4696
+ # Update properties of this object
4697
+ def update!(**args)
4698
+ @patterns = args[:patterns] if args.key?(:patterns)
4699
+ end
4700
+ end
4701
+
4358
4702
  # Represents a piece of potentially sensitive content.
4359
4703
  class GooglePrivacyDlpV2Finding
4360
4704
  include Google::Apis::Core::Hashable
@@ -8761,7 +9105,7 @@ module Google
8761
9105
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus]
8762
9106
  attr_accessor :profile_status
8763
9107
 
8764
- # The resource name to the project data profile for this table.
9108
+ # The resource name of the project data profile for this table.
8765
9109
  # Corresponds to the JSON property `projectDataProfile`
8766
9110
  # @return [String]
8767
9111
  attr_accessor :project_data_profile
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DlpV2
18
18
  # Version of the google-apis-dlp_v2 gem
19
- GEM_VERSION = "0.68.0"
19
+ GEM_VERSION = "0.70.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240624"
25
+ REVISION = "20240721"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GooglePrivacyDlpV2AllOtherResources
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GooglePrivacyDlpV2AllText
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -208,6 +214,12 @@ module Google
208
214
  include Google::Apis::Core::JsonObjectSupport
209
215
  end
210
216
 
217
+ class GooglePrivacyDlpV2CloudStorageDiscoveryTarget
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
211
223
  class GooglePrivacyDlpV2CloudStorageFileSet
212
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
225
 
@@ -226,12 +238,24 @@ module Google
226
238
  include Google::Apis::Core::JsonObjectSupport
227
239
  end
228
240
 
241
+ class GooglePrivacyDlpV2CloudStorageRegex
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
229
247
  class GooglePrivacyDlpV2CloudStorageRegexFileSet
230
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
249
 
232
250
  include Google::Apis::Core::JsonObjectSupport
233
251
  end
234
252
 
253
+ class GooglePrivacyDlpV2CloudStorageResourceReference
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
235
259
  class GooglePrivacyDlpV2Color
236
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
261
 
@@ -568,18 +592,48 @@ module Google
568
592
  include Google::Apis::Core::JsonObjectSupport
569
593
  end
570
594
 
595
+ class GooglePrivacyDlpV2DiscoveryCloudStorageConditions
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
601
+ class GooglePrivacyDlpV2DiscoveryCloudStorageFilter
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
571
613
  class GooglePrivacyDlpV2DiscoveryConfig
572
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
615
 
574
616
  include Google::Apis::Core::JsonObjectSupport
575
617
  end
576
618
 
619
+ class GooglePrivacyDlpV2DiscoveryFileStoreConditions
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
577
625
  class GooglePrivacyDlpV2DiscoveryGenerationCadence
578
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
627
 
580
628
  include Google::Apis::Core::JsonObjectSupport
581
629
  end
582
630
 
631
+ class GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
583
637
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
584
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
639
 
@@ -694,6 +748,12 @@ module Google
694
748
  include Google::Apis::Core::JsonObjectSupport
695
749
  end
696
750
 
751
+ class GooglePrivacyDlpV2FileStoreCollection
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
697
757
  class GooglePrivacyDlpV2FileStoreDataProfile
698
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
759
 
@@ -706,6 +766,18 @@ module Google
706
766
  include Google::Apis::Core::JsonObjectSupport
707
767
  end
708
768
 
769
+ class GooglePrivacyDlpV2FileStoreRegex
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
775
+ class GooglePrivacyDlpV2FileStoreRegexes
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
709
781
  class GooglePrivacyDlpV2Finding
710
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
711
783
 
@@ -1778,6 +1850,12 @@ module Google
1778
1850
  end
1779
1851
  end
1780
1852
 
1853
+ class GooglePrivacyDlpV2AllOtherResources
1854
+ # @private
1855
+ class Representation < Google::Apis::Core::JsonRepresentation
1856
+ end
1857
+ end
1858
+
1781
1859
  class GooglePrivacyDlpV2AllText
1782
1860
  # @private
1783
1861
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2035,6 +2113,20 @@ module Google
2035
2113
  end
2036
2114
  end
2037
2115
 
2116
+ class GooglePrivacyDlpV2CloudStorageDiscoveryTarget
2117
+ # @private
2118
+ class Representation < Google::Apis::Core::JsonRepresentation
2119
+ property :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryFileStoreConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryFileStoreConditions::Representation
2120
+
2121
+ property :disabled, as: 'disabled', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled::Representation
2122
+
2123
+ property :filter, as: 'filter', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageFilter::Representation
2124
+
2125
+ property :generation_cadence, as: 'generationCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence::Representation
2126
+
2127
+ end
2128
+ end
2129
+
2038
2130
  class GooglePrivacyDlpV2CloudStorageFileSet
2039
2131
  # @private
2040
2132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2062,6 +2154,14 @@ module Google
2062
2154
  end
2063
2155
  end
2064
2156
 
2157
+ class GooglePrivacyDlpV2CloudStorageRegex
2158
+ # @private
2159
+ class Representation < Google::Apis::Core::JsonRepresentation
2160
+ property :bucket_name_regex, as: 'bucketNameRegex'
2161
+ property :project_id_regex, as: 'projectIdRegex'
2162
+ end
2163
+ end
2164
+
2065
2165
  class GooglePrivacyDlpV2CloudStorageRegexFileSet
2066
2166
  # @private
2067
2167
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2071,6 +2171,14 @@ module Google
2071
2171
  end
2072
2172
  end
2073
2173
 
2174
+ class GooglePrivacyDlpV2CloudStorageResourceReference
2175
+ # @private
2176
+ class Representation < Google::Apis::Core::JsonRepresentation
2177
+ property :bucket_name, as: 'bucketName'
2178
+ property :project_id, as: 'projectId'
2179
+ end
2180
+ end
2181
+
2074
2182
  class GooglePrivacyDlpV2Color
2075
2183
  # @private
2076
2184
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2689,6 +2797,35 @@ module Google
2689
2797
  end
2690
2798
  end
2691
2799
 
2800
+ class GooglePrivacyDlpV2DiscoveryCloudStorageConditions
2801
+ # @private
2802
+ class Representation < Google::Apis::Core::JsonRepresentation
2803
+ collection :included_bucket_attributes, as: 'includedBucketAttributes'
2804
+ collection :included_object_attributes, as: 'includedObjectAttributes'
2805
+ end
2806
+ end
2807
+
2808
+ class GooglePrivacyDlpV2DiscoveryCloudStorageFilter
2809
+ # @private
2810
+ class Representation < Google::Apis::Core::JsonRepresentation
2811
+ property :cloud_storage_resource_reference, as: 'cloudStorageResourceReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageResourceReference, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageResourceReference::Representation
2812
+
2813
+ property :collection, as: 'collection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreCollection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreCollection::Representation
2814
+
2815
+ property :others, as: 'others', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources::Representation
2816
+
2817
+ end
2818
+ end
2819
+
2820
+ class GooglePrivacyDlpV2DiscoveryCloudStorageGenerationCadence
2821
+ # @private
2822
+ class Representation < Google::Apis::Core::JsonRepresentation
2823
+ property :inspect_template_modified_cadence, as: 'inspectTemplateModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence::Representation
2824
+
2825
+ property :refresh_frequency, as: 'refreshFrequency'
2826
+ end
2827
+ end
2828
+
2692
2829
  class GooglePrivacyDlpV2DiscoveryConfig
2693
2830
  # @private
2694
2831
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2710,9 +2847,22 @@ module Google
2710
2847
  end
2711
2848
  end
2712
2849
 
2850
+ class GooglePrivacyDlpV2DiscoveryFileStoreConditions
2851
+ # @private
2852
+ class Representation < Google::Apis::Core::JsonRepresentation
2853
+ property :cloud_storage_conditions, as: 'cloudStorageConditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryCloudStorageConditions::Representation
2854
+
2855
+ property :created_after, as: 'createdAfter'
2856
+ property :min_age, as: 'minAge'
2857
+ end
2858
+ end
2859
+
2713
2860
  class GooglePrivacyDlpV2DiscoveryGenerationCadence
2714
2861
  # @private
2715
2862
  class Representation < Google::Apis::Core::JsonRepresentation
2863
+ property :inspect_template_modified_cadence, as: 'inspectTemplateModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence::Representation
2864
+
2865
+ property :refresh_frequency, as: 'refreshFrequency'
2716
2866
  property :schema_modified_cadence, as: 'schemaModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoverySchemaModifiedCadence::Representation
2717
2867
 
2718
2868
  property :table_modified_cadence, as: 'tableModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence::Representation
@@ -2720,6 +2870,13 @@ module Google
2720
2870
  end
2721
2871
  end
2722
2872
 
2873
+ class GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence
2874
+ # @private
2875
+ class Representation < Google::Apis::Core::JsonRepresentation
2876
+ property :frequency, as: 'frequency'
2877
+ end
2878
+ end
2879
+
2723
2880
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
2724
2881
  # @private
2725
2882
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2751,6 +2908,8 @@ module Google
2751
2908
 
2752
2909
  property :cloud_sql_target, as: 'cloudSqlTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget::Representation
2753
2910
 
2911
+ property :cloud_storage_target, as: 'cloudStorageTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget::Representation
2912
+
2754
2913
  property :secrets_target, as: 'secretsTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget::Representation
2755
2914
 
2756
2915
  end
@@ -2918,6 +3077,14 @@ module Google
2918
3077
  end
2919
3078
  end
2920
3079
 
3080
+ class GooglePrivacyDlpV2FileStoreCollection
3081
+ # @private
3082
+ class Representation < Google::Apis::Core::JsonRepresentation
3083
+ property :include_regexes, as: 'includeRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes::Representation
3084
+
3085
+ end
3086
+ end
3087
+
2921
3088
  class GooglePrivacyDlpV2FileStoreDataProfile
2922
3089
  # @private
2923
3090
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2963,6 +3130,22 @@ module Google
2963
3130
  end
2964
3131
  end
2965
3132
 
3133
+ class GooglePrivacyDlpV2FileStoreRegex
3134
+ # @private
3135
+ class Representation < Google::Apis::Core::JsonRepresentation
3136
+ property :cloud_storage_regex, as: 'cloudStorageRegex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageRegex::Representation
3137
+
3138
+ end
3139
+ end
3140
+
3141
+ class GooglePrivacyDlpV2FileStoreRegexes
3142
+ # @private
3143
+ class Representation < Google::Apis::Core::JsonRepresentation
3144
+ collection :patterns, as: 'patterns', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegex::Representation
3145
+
3146
+ end
3147
+ end
3148
+
2966
3149
  class GooglePrivacyDlpV2Finding
2967
3150
  # @private
2968
3151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -270,7 +270,7 @@ module Google
270
270
  # @param [String] location_id
271
271
  # Deprecated. This field has no effect.
272
272
  # @param [String] order_by
273
- # Comma separated list of fields to order by, followed by `asc` or `desc`
273
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
274
274
  # postfix. This list is case insensitive. The default sorting order is ascending.
275
275
  # Redundant space characters are insignificant. Example: `name asc,update_time,
276
276
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -480,7 +480,7 @@ module Google
480
480
  # @param [String] location_id
481
481
  # Deprecated. This field has no effect.
482
482
  # @param [String] order_by
483
- # Comma separated list of fields to order by, followed by `asc` or `desc`
483
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
484
484
  # postfix. This list is case insensitive. The default sorting order is ascending.
485
485
  # Redundant space characters are insignificant. Example: `name asc,update_time,
486
486
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -614,7 +614,7 @@ module Google
614
614
  # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS
615
615
  # The length of this field should be no more than 500 characters.
616
616
  # @param [String] order_by
617
- # Comma separated list of fields to order by, followed by `asc` or `desc`
617
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
618
618
  # postfix. This list is case insensitive. The default sorting order is ascending.
619
619
  # Redundant space characters are insignificant. Only one order field at a time
620
620
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -757,6 +757,49 @@ module Google
757
757
  execute_or_queue_command(command, &block)
758
758
  end
759
759
 
760
+ # Lists Connections in a parent. Use SearchConnections to see all connections
761
+ # within an organization.
762
+ # @param [String] parent
763
+ # Required. Resource name of the organization or project, for example `
764
+ # organizations/433245324/locations/europe` or `projects/project-id/locations/
765
+ # asia`.
766
+ # @param [String] filter
767
+ # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
768
+ # @param [Fixnum] page_size
769
+ # Optional. Number of results per page, max 1000.
770
+ # @param [String] page_token
771
+ # Optional. Page token from a previous page to return the next set of results.
772
+ # If set, all other request fields must match the original request.
773
+ # @param [String] fields
774
+ # Selector specifying which fields to include in a partial response.
775
+ # @param [String] quota_user
776
+ # Available to use for quota purposes for server-side applications. Can be any
777
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
778
+ # @param [Google::Apis::RequestOptions] options
779
+ # Request-specific options
780
+ #
781
+ # @yield [result, err] Result & error if block supplied
782
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse] parsed result object
783
+ # @yieldparam err [StandardError] error object if request failed
784
+ #
785
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse]
786
+ #
787
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
788
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
789
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
790
+ def list_organization_location_connections(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
791
+ command = make_simple_command(:get, 'v2/{+parent}/connections', options)
792
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse::Representation
793
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListConnectionsResponse
794
+ command.params['parent'] = parent unless parent.nil?
795
+ command.query['filter'] = filter unless filter.nil?
796
+ command.query['pageSize'] = page_size unless page_size.nil?
797
+ command.query['pageToken'] = page_token unless page_token.nil?
798
+ command.query['fields'] = fields unless fields.nil?
799
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
800
+ execute_or_queue_command(command, &block)
801
+ end
802
+
760
803
  # Update a Connection.
761
804
  # @param [String] name
762
805
  # Required. Resource name in the format: `projects/`project`/locations/`location`
@@ -793,8 +836,9 @@ module Google
793
836
 
794
837
  # Searches for Connections in a parent.
795
838
  # @param [String] parent
796
- # Required. Parent name, typically an organization, without location. For
797
- # example: `organizations/12345678`.
839
+ # Required. Resource name of the organization or project with a wildcard
840
+ # location, for example `organizations/433245324/locations/-` or `projects/
841
+ # project-id/locations/-`.
798
842
  # @param [String] filter
799
843
  # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
800
844
  # @param [Fixnum] page_size
@@ -962,7 +1006,7 @@ module Google
962
1006
  # @param [String] location_id
963
1007
  # Deprecated. This field has no effect.
964
1008
  # @param [String] order_by
965
- # Comma separated list of fields to order by, followed by `asc` or `desc`
1009
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
966
1010
  # postfix. This list is case insensitive. The default sorting order is ascending.
967
1011
  # Redundant space characters are insignificant. Example: `name asc,update_time,
968
1012
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -1151,7 +1195,7 @@ module Google
1151
1195
  # specifies the `europe-west3` location for processing data: parent=projects/
1152
1196
  # example-project/locations/europe-west3
1153
1197
  # @param [String] order_by
1154
- # Comma separated list of config fields to order by, followed by `asc` or `desc`
1198
+ # Comma-separated list of config fields to order by, followed by `asc` or `desc`
1155
1199
  # postfix. This list is case insensitive. The default sorting order is ascending.
1156
1200
  # Redundant space characters are insignificant. Example: `name asc,update_time,
1157
1201
  # create_time desc` Supported fields are: - `last_run_time`: corresponds to the
@@ -1259,7 +1303,7 @@ module Google
1259
1303
  # @param [String] location_id
1260
1304
  # Deprecated. This field has no effect.
1261
1305
  # @param [String] order_by
1262
- # Comma separated list of fields to order by, followed by `asc` or `desc`
1306
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
1263
1307
  # postfix. This list is case insensitive. The default sorting order is ascending.
1264
1308
  # Redundant space characters are insignificant. Example: `name asc, end_time
1265
1309
  # asc, create_time desc` Supported fields are: - `create_time`: corresponds to
@@ -1384,10 +1428,10 @@ module Google
1384
1428
  # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator
1385
1429
  # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `
1386
1430
  # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
1387
- # resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The
1388
- # length of this field should be no more than 500 characters.
1431
+ # resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length
1432
+ # of this field should be no more than 500 characters.
1389
1433
  # @param [String] order_by
1390
- # Optional. Comma separated list of fields to order by, followed by `asc` or `
1434
+ # Optional. Comma-separated list of fields to order by, followed by `asc` or `
1391
1435
  # desc` postfix. This list is case insensitive. The default sorting order is
1392
1436
  # ascending. Redundant space characters are insignificant. Only one order field
1393
1437
  # at a time is allowed. Examples: * `project_id asc` * `name` * `
@@ -1565,7 +1609,7 @@ module Google
1565
1609
  # @param [String] location_id
1566
1610
  # Deprecated. This field has no effect.
1567
1611
  # @param [String] order_by
1568
- # Comma separated list of fields to order by, followed by `asc` or `desc`
1612
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
1569
1613
  # postfix. This list is case insensitive. The default sorting order is ascending.
1570
1614
  # Redundant space characters are insignificant. Example: `name asc,update_time,
1571
1615
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -1780,7 +1824,7 @@ module Google
1780
1824
  # @param [String] location_id
1781
1825
  # Deprecated. This field has no effect.
1782
1826
  # @param [String] order_by
1783
- # Comma separated list of triggeredJob fields to order by, followed by `asc` or `
1827
+ # Comma-separated list of triggeredJob fields to order by, followed by `asc` or `
1784
1828
  # desc` postfix. This list is case insensitive. The default sorting order is
1785
1829
  # ascending. Redundant space characters are insignificant. Example: `name asc,
1786
1830
  # update_time, create_time desc` Supported fields are: - `create_time`:
@@ -1910,7 +1954,7 @@ module Google
1910
1954
  # project_id = 12345 AND sensitivity_level = HIGH` The length of this field
1911
1955
  # should be no more than 500 characters.
1912
1956
  # @param [String] order_by
1913
- # Comma separated list of fields to order by, followed by `asc` or `desc`
1957
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
1914
1958
  # postfix. This list is case insensitive. The default sorting order is ascending.
1915
1959
  # Redundant space characters are insignificant. Only one order field at a time
1916
1960
  # is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported
@@ -2081,7 +2125,7 @@ module Google
2081
2125
  # @param [String] location_id
2082
2126
  # Deprecated. This field has no effect.
2083
2127
  # @param [String] order_by
2084
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2128
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2085
2129
  # postfix. This list is case insensitive. The default sorting order is ascending.
2086
2130
  # Redundant space characters are insignificant. Example: `name asc,
2087
2131
  # display_name, create_time desc` Supported fields are: - `create_time`:
@@ -2245,7 +2289,7 @@ module Google
2245
2289
  # project_id = 12345 AND resource_visibility = PUBLIC` The length of this field
2246
2290
  # should be no more than 500 characters.
2247
2291
  # @param [String] order_by
2248
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2292
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2249
2293
  # postfix. This list is case insensitive. The default sorting order is ascending.
2250
2294
  # Redundant space characters are insignificant. Only one order field at a time
2251
2295
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -2420,7 +2464,7 @@ module Google
2420
2464
  # @param [String] location_id
2421
2465
  # Deprecated. This field has no effect.
2422
2466
  # @param [String] order_by
2423
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2467
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2424
2468
  # postfix. This list is case insensitive. The default sorting order is ascending.
2425
2469
  # Redundant space characters are insignificant. Example: `name asc,
2426
2470
  # display_name, create_time desc` Supported fields are: - `create_time`:
@@ -2765,7 +2809,7 @@ module Google
2765
2809
  # @param [String] location_id
2766
2810
  # Deprecated. This field has no effect.
2767
2811
  # @param [String] order_by
2768
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2812
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2769
2813
  # postfix. This list is case insensitive. The default sorting order is ascending.
2770
2814
  # Redundant space characters are insignificant. Example: `name asc,update_time,
2771
2815
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -3026,7 +3070,7 @@ module Google
3026
3070
  # @param [String] location_id
3027
3071
  # Deprecated. This field has no effect.
3028
3072
  # @param [String] order_by
3029
- # Comma separated list of fields to order by, followed by `asc` or `desc`
3073
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
3030
3074
  # postfix. This list is case insensitive. The default sorting order is ascending.
3031
3075
  # Redundant space characters are insignificant. Example: `name asc, end_time
3032
3076
  # asc, create_time desc` Supported fields are: - `create_time`: corresponds to
@@ -3247,7 +3291,7 @@ module Google
3247
3291
  # @param [String] location_id
3248
3292
  # Deprecated. This field has no effect.
3249
3293
  # @param [String] order_by
3250
- # Comma separated list of fields to order by, followed by `asc` or `desc`
3294
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
3251
3295
  # postfix. This list is case insensitive. The default sorting order is ascending.
3252
3296
  # Redundant space characters are insignificant. Example: `name asc,update_time,
3253
3297
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -3497,7 +3541,7 @@ module Google
3497
3541
  # @param [String] location_id
3498
3542
  # Deprecated. This field has no effect.
3499
3543
  # @param [String] order_by
3500
- # Comma separated list of triggeredJob fields to order by, followed by `asc` or `
3544
+ # Comma-separated list of triggeredJob fields to order by, followed by `asc` or `
3501
3545
  # desc` postfix. This list is case insensitive. The default sorting order is
3502
3546
  # ascending. Redundant space characters are insignificant. Example: `name asc,
3503
3547
  # update_time, create_time desc` Supported fields are: - `create_time`:
@@ -3635,7 +3679,7 @@ module Google
3635
3679
  # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS
3636
3680
  # The length of this field should be no more than 500 characters.
3637
3681
  # @param [String] order_by
3638
- # Comma separated list of fields to order by, followed by `asc` or `desc`
3682
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
3639
3683
  # postfix. This list is case insensitive. The default sorting order is ascending.
3640
3684
  # Redundant space characters are insignificant. Only one order field at a time
3641
3685
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -3778,9 +3822,12 @@ module Google
3778
3822
  execute_or_queue_command(command, &block)
3779
3823
  end
3780
3824
 
3781
- # Lists Connections in a parent.
3825
+ # Lists Connections in a parent. Use SearchConnections to see all connections
3826
+ # within an organization.
3782
3827
  # @param [String] parent
3783
- # Required. Parent name, for example: `projects/project-id/locations/global`.
3828
+ # Required. Resource name of the organization or project, for example `
3829
+ # organizations/433245324/locations/europe` or `projects/project-id/locations/
3830
+ # asia`.
3784
3831
  # @param [String] filter
3785
3832
  # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
3786
3833
  # @param [Fixnum] page_size
@@ -3854,8 +3901,9 @@ module Google
3854
3901
 
3855
3902
  # Searches for Connections in a parent.
3856
3903
  # @param [String] parent
3857
- # Required. Parent name, typically an organization, without location. For
3858
- # example: `organizations/12345678`.
3904
+ # Required. Resource name of the organization or project with a wildcard
3905
+ # location, for example `organizations/433245324/locations/-` or `projects/
3906
+ # project-id/locations/-`.
3859
3907
  # @param [String] filter
3860
3908
  # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3861
3909
  # @param [Fixnum] page_size
@@ -4156,7 +4204,7 @@ module Google
4156
4204
  # @param [String] location_id
4157
4205
  # Deprecated. This field has no effect.
4158
4206
  # @param [String] order_by
4159
- # Comma separated list of fields to order by, followed by `asc` or `desc`
4207
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
4160
4208
  # postfix. This list is case insensitive. The default sorting order is ascending.
4161
4209
  # Redundant space characters are insignificant. Example: `name asc,update_time,
4162
4210
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -4345,7 +4393,7 @@ module Google
4345
4393
  # specifies the `europe-west3` location for processing data: parent=projects/
4346
4394
  # example-project/locations/europe-west3
4347
4395
  # @param [String] order_by
4348
- # Comma separated list of config fields to order by, followed by `asc` or `desc`
4396
+ # Comma-separated list of config fields to order by, followed by `asc` or `desc`
4349
4397
  # postfix. This list is case insensitive. The default sorting order is ascending.
4350
4398
  # Redundant space characters are insignificant. Example: `name asc,update_time,
4351
4399
  # create_time desc` Supported fields are: - `last_run_time`: corresponds to the
@@ -4670,7 +4718,7 @@ module Google
4670
4718
  # @param [String] location_id
4671
4719
  # Deprecated. This field has no effect.
4672
4720
  # @param [String] order_by
4673
- # Comma separated list of fields to order by, followed by `asc` or `desc`
4721
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
4674
4722
  # postfix. This list is case insensitive. The default sorting order is ascending.
4675
4723
  # Redundant space characters are insignificant. Example: `name asc, end_time
4676
4724
  # asc, create_time desc` Supported fields are: - `create_time`: corresponds to
@@ -4795,10 +4843,10 @@ module Google
4795
4843
  # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator
4796
4844
  # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `
4797
4845
  # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
4798
- # resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The
4799
- # length of this field should be no more than 500 characters.
4846
+ # resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length
4847
+ # of this field should be no more than 500 characters.
4800
4848
  # @param [String] order_by
4801
- # Optional. Comma separated list of fields to order by, followed by `asc` or `
4849
+ # Optional. Comma-separated list of fields to order by, followed by `asc` or `
4802
4850
  # desc` postfix. This list is case insensitive. The default sorting order is
4803
4851
  # ascending. Redundant space characters are insignificant. Only one order field
4804
4852
  # at a time is allowed. Examples: * `project_id asc` * `name` * `
@@ -5021,7 +5069,7 @@ module Google
5021
5069
  # @param [String] location_id
5022
5070
  # Deprecated. This field has no effect.
5023
5071
  # @param [String] order_by
5024
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5072
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5025
5073
  # postfix. This list is case insensitive. The default sorting order is ascending.
5026
5074
  # Redundant space characters are insignificant. Example: `name asc,update_time,
5027
5075
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -5307,7 +5355,7 @@ module Google
5307
5355
  # @param [String] location_id
5308
5356
  # Deprecated. This field has no effect.
5309
5357
  # @param [String] order_by
5310
- # Comma separated list of triggeredJob fields to order by, followed by `asc` or `
5358
+ # Comma-separated list of triggeredJob fields to order by, followed by `asc` or `
5311
5359
  # desc` postfix. This list is case insensitive. The default sorting order is
5312
5360
  # ascending. Redundant space characters are insignificant. Example: `name asc,
5313
5361
  # update_time, create_time desc` Supported fields are: - `create_time`:
@@ -5437,7 +5485,7 @@ module Google
5437
5485
  # project_id = 12345 AND sensitivity_level = HIGH` The length of this field
5438
5486
  # should be no more than 500 characters.
5439
5487
  # @param [String] order_by
5440
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5488
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5441
5489
  # postfix. This list is case insensitive. The default sorting order is ascending.
5442
5490
  # Redundant space characters are insignificant. Only one order field at a time
5443
5491
  # is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported
@@ -5608,7 +5656,7 @@ module Google
5608
5656
  # @param [String] location_id
5609
5657
  # Deprecated. This field has no effect.
5610
5658
  # @param [String] order_by
5611
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5659
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5612
5660
  # postfix. This list is case insensitive. The default sorting order is ascending.
5613
5661
  # Redundant space characters are insignificant. Example: `name asc,
5614
5662
  # display_name, create_time desc` Supported fields are: - `create_time`:
@@ -5772,7 +5820,7 @@ module Google
5772
5820
  # project_id = 12345 AND resource_visibility = PUBLIC` The length of this field
5773
5821
  # should be no more than 500 characters.
5774
5822
  # @param [String] order_by
5775
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5823
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5776
5824
  # postfix. This list is case insensitive. The default sorting order is ascending.
5777
5825
  # Redundant space characters are insignificant. Only one order field at a time
5778
5826
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -5947,7 +5995,7 @@ module Google
5947
5995
  # @param [String] location_id
5948
5996
  # Deprecated. This field has no effect.
5949
5997
  # @param [String] order_by
5950
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5998
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5951
5999
  # postfix. This list is case insensitive. The default sorting order is ascending.
5952
6000
  # Redundant space characters are insignificant. Example: `name asc,
5953
6001
  # display_name, create_time desc` Supported fields are: - `create_time`:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.68.0
4
+ version: 0.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-30 00:00:00.000000000 Z
11
+ date: 2024-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.68.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.70.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
63
63
  post_install_message:
64
64
  rdoc_options: []