google-apis-dlp_v2 0.75.0 → 0.77.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: 96b31b04cae469ac1412e95ede372d71797521338e9080059c9d0cff92a83ea9
4
- data.tar.gz: c1bef0e1a0bbb5b9b73cb60bf09c0fdfd8c02390391f81f95839006978fd5d64
3
+ metadata.gz: 43f64c3de4deb54cd4757aa04dc3ebb2c35fe8f809c3d5e20540698a9d8b4fb0
4
+ data.tar.gz: 8e3bc67202c90b4314796c516e9b3dd50c64b9e3dc1b271d7330e6b50aae082e
5
5
  SHA512:
6
- metadata.gz: 32d7edb1832a1f4c366e578a4aa118d770fb41029f9b4697b2168907e5c0ef368d90be8d673c2f809425fa840de15c2d0a3f71927e8b82f0e72f70ffb866e224
7
- data.tar.gz: 0b58e298858eb4c0b672f65c46816a00009746d0b6a38da24b24b2dc7da28b26a4517611c24fdad489f62ed131a748b40a240245abbc4512725f1a9df569cf83
6
+ metadata.gz: 440c8af45c166000d7ade45ad27325eb6fbd5a274a85ed6e88654fa9417fc24cc68d568ce395e7f9d226bacba44bd6d9ccd3486eaa26f331331c9ed93f67b99d
7
+ data.tar.gz: 806942d0f947e9b1a3ec0e981c84f1f63fc036bf6336101a8953b1086ce3fcc8dba536eb80c3bd3c6977826560d1dd4a4a6e3e15fe00e1874a2a9b0d4a7b232f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.77.0 (2024-10-13)
4
+
5
+ * Regenerated from discovery document revision 20241006
6
+
7
+ ### v0.76.0 (2024-09-22)
8
+
9
+ * Regenerated from discovery document revision 20240916
10
+
3
11
  ### v0.75.0 (2024-09-08)
4
12
 
5
13
  * Regenerated from discovery document revision 20240901
@@ -214,6 +214,83 @@ module Google
214
214
  end
215
215
  end
216
216
 
217
+ # Amazon S3 bucket.
218
+ class GooglePrivacyDlpV2AmazonS3Bucket
219
+ include Google::Apis::Core::Hashable
220
+
221
+ # AWS account.
222
+ # Corresponds to the JSON property `awsAccount`
223
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccount]
224
+ attr_accessor :aws_account
225
+
226
+ # Required. The bucket name.
227
+ # Corresponds to the JSON property `bucketName`
228
+ # @return [String]
229
+ attr_accessor :bucket_name
230
+
231
+ def initialize(**args)
232
+ update!(**args)
233
+ end
234
+
235
+ # Update properties of this object
236
+ def update!(**args)
237
+ @aws_account = args[:aws_account] if args.key?(:aws_account)
238
+ @bucket_name = args[:bucket_name] if args.key?(:bucket_name)
239
+ end
240
+ end
241
+
242
+ # Amazon S3 bucket conditions.
243
+ class GooglePrivacyDlpV2AmazonS3BucketConditions
244
+ include Google::Apis::Core::Hashable
245
+
246
+ # Optional. Bucket types that should be profiled. Optional. Defaults to
247
+ # TYPE_ALL_SUPPORTED if unspecified.
248
+ # Corresponds to the JSON property `bucketTypes`
249
+ # @return [Array<String>]
250
+ attr_accessor :bucket_types
251
+
252
+ # Optional. Object classes that should be profiled. Optional. Defaults to
253
+ # ALL_SUPPORTED_CLASSES if unspecified.
254
+ # Corresponds to the JSON property `objectStorageClasses`
255
+ # @return [Array<String>]
256
+ attr_accessor :object_storage_classes
257
+
258
+ def initialize(**args)
259
+ update!(**args)
260
+ end
261
+
262
+ # Update properties of this object
263
+ def update!(**args)
264
+ @bucket_types = args[:bucket_types] if args.key?(:bucket_types)
265
+ @object_storage_classes = args[:object_storage_classes] if args.key?(:object_storage_classes)
266
+ end
267
+ end
268
+
269
+ # Amazon S3 bucket regex.
270
+ class GooglePrivacyDlpV2AmazonS3BucketRegex
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # AWS account regex.
274
+ # Corresponds to the JSON property `awsAccountRegex`
275
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccountRegex]
276
+ attr_accessor :aws_account_regex
277
+
278
+ # Optional. Regex to test the bucket name against. If empty, all buckets match.
279
+ # Corresponds to the JSON property `bucketNameRegex`
280
+ # @return [String]
281
+ attr_accessor :bucket_name_regex
282
+
283
+ def initialize(**args)
284
+ update!(**args)
285
+ end
286
+
287
+ # Update properties of this object
288
+ def update!(**args)
289
+ @aws_account_regex = args[:aws_account_regex] if args.key?(:aws_account_regex)
290
+ @bucket_name_regex = args[:bucket_name_regex] if args.key?(:bucket_name_regex)
291
+ end
292
+ end
293
+
217
294
  # Result of a risk analysis operation request.
218
295
  class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
219
296
  include Google::Apis::Core::Hashable
@@ -323,6 +400,75 @@ module Google
323
400
  end
324
401
  end
325
402
 
403
+ # AWS account.
404
+ class GooglePrivacyDlpV2AwsAccount
405
+ include Google::Apis::Core::Hashable
406
+
407
+ # Required. AWS account ID.
408
+ # Corresponds to the JSON property `accountId`
409
+ # @return [String]
410
+ attr_accessor :account_id
411
+
412
+ def initialize(**args)
413
+ update!(**args)
414
+ end
415
+
416
+ # Update properties of this object
417
+ def update!(**args)
418
+ @account_id = args[:account_id] if args.key?(:account_id)
419
+ end
420
+ end
421
+
422
+ # AWS account regex.
423
+ class GooglePrivacyDlpV2AwsAccountRegex
424
+ include Google::Apis::Core::Hashable
425
+
426
+ # Optional. Regex to test the AWS account ID against. If empty, all accounts
427
+ # match.
428
+ # Corresponds to the JSON property `accountIdRegex`
429
+ # @return [String]
430
+ attr_accessor :account_id_regex
431
+
432
+ def initialize(**args)
433
+ update!(**args)
434
+ end
435
+
436
+ # Update properties of this object
437
+ def update!(**args)
438
+ @account_id_regex = args[:account_id_regex] if args.key?(:account_id_regex)
439
+ end
440
+ end
441
+
442
+ # The AWS starting location for discovery.
443
+ class GooglePrivacyDlpV2AwsDiscoveryStartingLocation
444
+ include Google::Apis::Core::Hashable
445
+
446
+ # The AWS account ID that this discovery config applies to. Within an AWS
447
+ # organization, you can find the AWS account ID inside an AWS account ARN.
448
+ # Example: arn:`partition`:organizations::`management_account_id`:account/`
449
+ # org_id`/`account_id`
450
+ # Corresponds to the JSON property `accountId`
451
+ # @return [String]
452
+ attr_accessor :account_id
453
+
454
+ # All AWS assets stored in Asset Inventory that didn't match other AWS discovery
455
+ # configs.
456
+ # Corresponds to the JSON property `allAssetInventoryAssets`
457
+ # @return [Boolean]
458
+ attr_accessor :all_asset_inventory_assets
459
+ alias_method :all_asset_inventory_assets?, :all_asset_inventory_assets
460
+
461
+ def initialize(**args)
462
+ update!(**args)
463
+ end
464
+
465
+ # Update properties of this object
466
+ def update!(**args)
467
+ @account_id = args[:account_id] if args.key?(:account_id)
468
+ @all_asset_inventory_assets = args[:all_asset_inventory_assets] if args.key?(:all_asset_inventory_assets)
469
+ end
470
+ end
471
+
326
472
  # Target used to match against for discovery with BigQuery tables
327
473
  class GooglePrivacyDlpV2BigQueryDiscoveryTarget
328
474
  include Google::Apis::Core::Hashable
@@ -1375,13 +1521,13 @@ module Google
1375
1521
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
1376
1522
  attr_accessor :data_risk_level
1377
1523
 
1378
- # The BigQuery dataset ID.
1524
+ # The BigQuery dataset ID, if the resource profiled is a BigQuery table.
1379
1525
  # Corresponds to the JSON property `datasetId`
1380
1526
  # @return [String]
1381
1527
  attr_accessor :dataset_id
1382
1528
 
1383
- # The BigQuery location where the dataset's data is stored. See https://cloud.
1384
- # google.com/bigquery/docs/locations for supported locations.
1529
+ # If supported, the location where the dataset's data is stored. See https://
1530
+ # cloud.google.com/bigquery/docs/locations for supported BigQuery locations.
1385
1531
  # Corresponds to the JSON property `datasetLocation`
1386
1532
  # @return [String]
1387
1533
  attr_accessor :dataset_location
@@ -1454,7 +1600,7 @@ module Google
1454
1600
  # @return [String]
1455
1601
  attr_accessor :table_full_resource
1456
1602
 
1457
- # The BigQuery table ID.
1603
+ # The table ID.
1458
1604
  # Corresponds to the JSON property `tableId`
1459
1605
  # @return [String]
1460
1606
  attr_accessor :table_id
@@ -2325,7 +2471,8 @@ module Google
2325
2471
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile]
2326
2472
  attr_accessor :column_profile
2327
2473
 
2328
- # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket.
2474
+ # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. *
2475
+ # Amazon S3: maps 1:1 with a bucket.
2329
2476
  # Corresponds to the JSON property `fileStoreProfile`
2330
2477
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
2331
2478
  attr_accessor :file_store_profile
@@ -2431,6 +2578,11 @@ module Google
2431
2578
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation]
2432
2579
  attr_accessor :location
2433
2580
 
2581
+ # The other cloud starting location for discovery.
2582
+ # Corresponds to the JSON property `otherCloudStartingLocation`
2583
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation]
2584
+ attr_accessor :other_cloud_starting_location
2585
+
2434
2586
  # The project that will run the scan. The DLP service account that exists within
2435
2587
  # this project must have access to all resources that are profiled, and the
2436
2588
  # Cloud DLP API must be enabled.
@@ -2447,6 +2599,7 @@ module Google
2447
2599
  @data_profile_actions = args[:data_profile_actions] if args.key?(:data_profile_actions)
2448
2600
  @inspect_templates = args[:inspect_templates] if args.key?(:inspect_templates)
2449
2601
  @location = args[:location] if args.key?(:location)
2602
+ @other_cloud_starting_location = args[:other_cloud_starting_location] if args.key?(:other_cloud_starting_location)
2450
2603
  @project_id = args[:project_id] if args.key?(:project_id)
2451
2604
  end
2452
2605
  end
@@ -2506,7 +2659,8 @@ module Google
2506
2659
  # @return [String]
2507
2660
  attr_accessor :event
2508
2661
 
2509
- # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket.
2662
+ # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. *
2663
+ # Amazon S3: maps 1:1 with a bucket.
2510
2664
  # Corresponds to the JSON property `fileStoreProfile`
2511
2665
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
2512
2666
  attr_accessor :file_store_profile
@@ -3679,6 +3833,11 @@ module Google
3679
3833
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig]
3680
3834
  attr_accessor :org_config
3681
3835
 
3836
+ # The other cloud starting location for discovery.
3837
+ # Corresponds to the JSON property `otherCloudStartingLocation`
3838
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation]
3839
+ attr_accessor :other_cloud_starting_location
3840
+
3682
3841
  # Required. A status for this configuration.
3683
3842
  # Corresponds to the JSON property `status`
3684
3843
  # @return [String]
@@ -3708,6 +3867,7 @@ module Google
3708
3867
  @last_run_time = args[:last_run_time] if args.key?(:last_run_time)
3709
3868
  @name = args[:name] if args.key?(:name)
3710
3869
  @org_config = args[:org_config] if args.key?(:org_config)
3870
+ @other_cloud_starting_location = args[:other_cloud_starting_location] if args.key?(:other_cloud_starting_location)
3711
3871
  @status = args[:status] if args.key?(:status)
3712
3872
  @targets = args[:targets] if args.key?(:targets)
3713
3873
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -3812,6 +3972,93 @@ module Google
3812
3972
  end
3813
3973
  end
3814
3974
 
3975
+ # Requirements that must be true before a resource is profiled for the first
3976
+ # time.
3977
+ class GooglePrivacyDlpV2DiscoveryOtherCloudConditions
3978
+ include Google::Apis::Core::Hashable
3979
+
3980
+ # Amazon S3 bucket conditions.
3981
+ # Corresponds to the JSON property `amazonS3BucketConditions`
3982
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketConditions]
3983
+ attr_accessor :amazon_s3_bucket_conditions
3984
+
3985
+ # Minimum age a resource must be before Cloud DLP can profile it. Value must be
3986
+ # 1 hour or greater.
3987
+ # Corresponds to the JSON property `minAge`
3988
+ # @return [String]
3989
+ attr_accessor :min_age
3990
+
3991
+ def initialize(**args)
3992
+ update!(**args)
3993
+ end
3994
+
3995
+ # Update properties of this object
3996
+ def update!(**args)
3997
+ @amazon_s3_bucket_conditions = args[:amazon_s3_bucket_conditions] if args.key?(:amazon_s3_bucket_conditions)
3998
+ @min_age = args[:min_age] if args.key?(:min_age)
3999
+ end
4000
+ end
4001
+
4002
+ # Determines which resources from the other cloud will have profiles generated.
4003
+ # Includes the ability to filter by resource names.
4004
+ class GooglePrivacyDlpV2DiscoveryOtherCloudFilter
4005
+ include Google::Apis::Core::Hashable
4006
+
4007
+ # Match resources using regex filters.
4008
+ # Corresponds to the JSON property `collection`
4009
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceCollection]
4010
+ attr_accessor :collection
4011
+
4012
+ # Match discovery resources not covered by any other filter.
4013
+ # Corresponds to the JSON property `others`
4014
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources]
4015
+ attr_accessor :others
4016
+
4017
+ # Identifies a single resource, like a single Amazon S3 bucket.
4018
+ # Corresponds to the JSON property `singleResource`
4019
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudSingleResourceReference]
4020
+ attr_accessor :single_resource
4021
+
4022
+ def initialize(**args)
4023
+ update!(**args)
4024
+ end
4025
+
4026
+ # Update properties of this object
4027
+ def update!(**args)
4028
+ @collection = args[:collection] if args.key?(:collection)
4029
+ @others = args[:others] if args.key?(:others)
4030
+ @single_resource = args[:single_resource] if args.key?(:single_resource)
4031
+ end
4032
+ end
4033
+
4034
+ # How often existing resources should have their profiles refreshed. New
4035
+ # resources are scanned as quickly as possible depending on system capacity.
4036
+ class GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence
4037
+ include Google::Apis::Core::Hashable
4038
+
4039
+ # The cadence at which to update data profiles when the inspection rules defined
4040
+ # by the `InspectTemplate` change.
4041
+ # Corresponds to the JSON property `inspectTemplateModifiedCadence`
4042
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence]
4043
+ attr_accessor :inspect_template_modified_cadence
4044
+
4045
+ # Optional. Frequency to update profiles regardless of whether the underlying
4046
+ # resource has changes. Defaults to never.
4047
+ # Corresponds to the JSON property `refreshFrequency`
4048
+ # @return [String]
4049
+ attr_accessor :refresh_frequency
4050
+
4051
+ def initialize(**args)
4052
+ update!(**args)
4053
+ end
4054
+
4055
+ # Update properties of this object
4056
+ def update!(**args)
4057
+ @inspect_template_modified_cadence = args[:inspect_template_modified_cadence] if args.key?(:inspect_template_modified_cadence)
4058
+ @refresh_frequency = args[:refresh_frequency] if args.key?(:refresh_frequency)
4059
+ end
4060
+ end
4061
+
3815
4062
  # The cadence at which to update data profiles when a schema is modified.
3816
4063
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
3817
4064
  include Google::Apis::Core::Hashable
@@ -3911,6 +4158,14 @@ module Google
3911
4158
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget]
3912
4159
  attr_accessor :cloud_storage_target
3913
4160
 
4161
+ # Target used to match against for discovery of resources from other clouds. An [
4162
+ # AWS connector in Security Command Center (Enterprise](https://cloud.google.com/
4163
+ # security-command-center/docs/connect-scc-to-aws) is required to use this
4164
+ # feature.
4165
+ # Corresponds to the JSON property `otherCloudTarget`
4166
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryTarget]
4167
+ attr_accessor :other_cloud_target
4168
+
3914
4169
  # Discovery target for credentials and secrets in cloud resource metadata. This
3915
4170
  # target does not include any filtering or frequency controls. Cloud DLP will
3916
4171
  # scan cloud resource metadata for secrets daily. No inspect template should be
@@ -3932,6 +4187,7 @@ module Google
3932
4187
  @big_query_target = args[:big_query_target] if args.key?(:big_query_target)
3933
4188
  @cloud_sql_target = args[:cloud_sql_target] if args.key?(:cloud_sql_target)
3934
4189
  @cloud_storage_target = args[:cloud_storage_target] if args.key?(:cloud_storage_target)
4190
+ @other_cloud_target = args[:other_cloud_target] if args.key?(:other_cloud_target)
3935
4191
  @secrets_target = args[:secrets_target] if args.key?(:secrets_target)
3936
4192
  end
3937
4193
  end
@@ -4504,7 +4760,8 @@ module Google
4504
4760
  end
4505
4761
  end
4506
4762
 
4507
- # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket.
4763
+ # The profile for a file store. * Cloud Storage: maps 1:1 with a bucket. *
4764
+ # Amazon S3: maps 1:1 with a bucket.
4508
4765
  class GooglePrivacyDlpV2FileStoreDataProfile
4509
4766
  include Google::Apis::Core::Hashable
4510
4767
 
@@ -4555,18 +4812,22 @@ module Google
4555
4812
  alias_method :file_store_is_empty?, :file_store_is_empty
4556
4813
 
4557
4814
  # The location of the file store. * Cloud Storage: https://cloud.google.com/
4558
- # storage/docs/locations#available-locations
4815
+ # storage/docs/locations#available-locations * Amazon S3: https://docs.aws.
4816
+ # amazon.com/general/latest/gr/rande.html#regional-endpoints
4559
4817
  # Corresponds to the JSON property `fileStoreLocation`
4560
4818
  # @return [String]
4561
4819
  attr_accessor :file_store_location
4562
4820
 
4563
- # The file store path. * Cloud Storage: `gs://`bucket``
4821
+ # The file store path. * Cloud Storage: `gs://`bucket`` * Amazon S3: `s3://`
4822
+ # bucket``
4564
4823
  # Corresponds to the JSON property `fileStorePath`
4565
4824
  # @return [String]
4566
4825
  attr_accessor :file_store_path
4567
4826
 
4568
4827
  # The resource name of the resource profiled. https://cloud.google.com/apis/
4569
- # design/resource_names#full_resource_name
4828
+ # design/resource_names#full_resource_name Example format of an S3 bucket full
4829
+ # resource name: `//cloudasset.googleapis.com/organizations/`org_id`/
4830
+ # otherCloudConnections/aws/arn:aws:s3:::`bucket_name``
4570
4831
  # Corresponds to the JSON property `fullResource`
4571
4832
  # @return [String]
4572
4833
  attr_accessor :full_resource
@@ -4602,7 +4863,8 @@ module Google
4602
4863
  # @return [String]
4603
4864
  attr_accessor :project_data_profile
4604
4865
 
4605
- # The Google Cloud project ID that owns the resource.
4866
+ # The Google Cloud project ID that owns the resource. For Amazon S3 buckets,
4867
+ # this is the AWS Account Id.
4606
4868
  # Corresponds to the JSON property `projectId`
4607
4869
  # @return [String]
4608
4870
  attr_accessor :project_id
@@ -7109,6 +7371,156 @@ module Google
7109
7371
  end
7110
7372
  end
7111
7373
 
7374
+ # The other cloud starting location for discovery.
7375
+ class GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
7376
+ include Google::Apis::Core::Hashable
7377
+
7378
+ # The AWS starting location for discovery.
7379
+ # Corresponds to the JSON property `awsLocation`
7380
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AwsDiscoveryStartingLocation]
7381
+ attr_accessor :aws_location
7382
+
7383
+ def initialize(**args)
7384
+ update!(**args)
7385
+ end
7386
+
7387
+ # Update properties of this object
7388
+ def update!(**args)
7389
+ @aws_location = args[:aws_location] if args.key?(:aws_location)
7390
+ end
7391
+ end
7392
+
7393
+ # Target used to match against for discovery of resources from other clouds. An [
7394
+ # AWS connector in Security Command Center (Enterprise](https://cloud.google.com/
7395
+ # security-command-center/docs/connect-scc-to-aws) is required to use this
7396
+ # feature.
7397
+ class GooglePrivacyDlpV2OtherCloudDiscoveryTarget
7398
+ include Google::Apis::Core::Hashable
7399
+
7400
+ # Requirements that must be true before a resource is profiled for the first
7401
+ # time.
7402
+ # Corresponds to the JSON property `conditions`
7403
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudConditions]
7404
+ attr_accessor :conditions
7405
+
7406
+ # Message used to identify the type of resource being profiled.
7407
+ # Corresponds to the JSON property `dataSourceType`
7408
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType]
7409
+ attr_accessor :data_source_type
7410
+
7411
+ # Do not profile the tables.
7412
+ # Corresponds to the JSON property `disabled`
7413
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled]
7414
+ attr_accessor :disabled
7415
+
7416
+ # Determines which resources from the other cloud will have profiles generated.
7417
+ # Includes the ability to filter by resource names.
7418
+ # Corresponds to the JSON property `filter`
7419
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudFilter]
7420
+ attr_accessor :filter
7421
+
7422
+ # How often existing resources should have their profiles refreshed. New
7423
+ # resources are scanned as quickly as possible depending on system capacity.
7424
+ # Corresponds to the JSON property `generationCadence`
7425
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence]
7426
+ attr_accessor :generation_cadence
7427
+
7428
+ def initialize(**args)
7429
+ update!(**args)
7430
+ end
7431
+
7432
+ # Update properties of this object
7433
+ def update!(**args)
7434
+ @conditions = args[:conditions] if args.key?(:conditions)
7435
+ @data_source_type = args[:data_source_type] if args.key?(:data_source_type)
7436
+ @disabled = args[:disabled] if args.key?(:disabled)
7437
+ @filter = args[:filter] if args.key?(:filter)
7438
+ @generation_cadence = args[:generation_cadence] if args.key?(:generation_cadence)
7439
+ end
7440
+ end
7441
+
7442
+ # Match resources using regex filters.
7443
+ class GooglePrivacyDlpV2OtherCloudResourceCollection
7444
+ include Google::Apis::Core::Hashable
7445
+
7446
+ # A collection of regular expressions to determine what resources to match
7447
+ # against.
7448
+ # Corresponds to the JSON property `includeRegexes`
7449
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegexes]
7450
+ attr_accessor :include_regexes
7451
+
7452
+ def initialize(**args)
7453
+ update!(**args)
7454
+ end
7455
+
7456
+ # Update properties of this object
7457
+ def update!(**args)
7458
+ @include_regexes = args[:include_regexes] if args.key?(:include_regexes)
7459
+ end
7460
+ end
7461
+
7462
+ # A pattern to match against one or more resources. At least one pattern must be
7463
+ # specified. Regular expressions use RE2 [syntax](https://github.com/google/re2/
7464
+ # wiki/Syntax); a guide can be found under the google/re2 repository on GitHub.
7465
+ class GooglePrivacyDlpV2OtherCloudResourceRegex
7466
+ include Google::Apis::Core::Hashable
7467
+
7468
+ # Amazon S3 bucket regex.
7469
+ # Corresponds to the JSON property `amazonS3BucketRegex`
7470
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketRegex]
7471
+ attr_accessor :amazon_s3_bucket_regex
7472
+
7473
+ def initialize(**args)
7474
+ update!(**args)
7475
+ end
7476
+
7477
+ # Update properties of this object
7478
+ def update!(**args)
7479
+ @amazon_s3_bucket_regex = args[:amazon_s3_bucket_regex] if args.key?(:amazon_s3_bucket_regex)
7480
+ end
7481
+ end
7482
+
7483
+ # A collection of regular expressions to determine what resources to match
7484
+ # against.
7485
+ class GooglePrivacyDlpV2OtherCloudResourceRegexes
7486
+ include Google::Apis::Core::Hashable
7487
+
7488
+ # A group of regular expression patterns to match against one or more resources.
7489
+ # Maximum of 100 entries. The sum of all regular expression's length can't
7490
+ # exceed 10 KiB.
7491
+ # Corresponds to the JSON property `patterns`
7492
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegex>]
7493
+ attr_accessor :patterns
7494
+
7495
+ def initialize(**args)
7496
+ update!(**args)
7497
+ end
7498
+
7499
+ # Update properties of this object
7500
+ def update!(**args)
7501
+ @patterns = args[:patterns] if args.key?(:patterns)
7502
+ end
7503
+ end
7504
+
7505
+ # Identifies a single resource, like a single Amazon S3 bucket.
7506
+ class GooglePrivacyDlpV2OtherCloudSingleResourceReference
7507
+ include Google::Apis::Core::Hashable
7508
+
7509
+ # Amazon S3 bucket.
7510
+ # Corresponds to the JSON property `amazonS3Bucket`
7511
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket]
7512
+ attr_accessor :amazon_s3_bucket
7513
+
7514
+ def initialize(**args)
7515
+ update!(**args)
7516
+ end
7517
+
7518
+ # Update properties of this object
7519
+ def update!(**args)
7520
+ @amazon_s3_bucket = args[:amazon_s3_bucket] if args.key?(:amazon_s3_bucket)
7521
+ end
7522
+ end
7523
+
7112
7524
  # Infotype details for other infoTypes found within a column.
7113
7525
  class GooglePrivacyDlpV2OtherInfoTypeSummary
7114
7526
  include Google::Apis::Core::Hashable
@@ -9127,8 +9539,9 @@ module Google
9127
9539
  # @return [Fixnum]
9128
9540
  attr_accessor :failed_column_count
9129
9541
 
9130
- # The resource name of the resource profiled. https://cloud.google.com/apis/
9131
- # design/resource_names#full_resource_name
9542
+ # The Cloud Asset Inventory resource that was profiled in order to generate this
9543
+ # TableDataProfile. https://cloud.google.com/apis/design/resource_names#
9544
+ # full_resource_name
9132
9545
  # Corresponds to the JSON property `fullResource`
9133
9546
  # @return [String]
9134
9547
  attr_accessor :full_resource
@@ -9200,7 +9613,7 @@ module Google
9200
9613
  # @return [String]
9201
9614
  attr_accessor :state
9202
9615
 
9203
- # If the resource is BigQuery, the BigQuery table ID.
9616
+ # The table ID.
9204
9617
  # Corresponds to the JSON property `tableId`
9205
9618
  # @return [String]
9206
9619
  attr_accessor :table_id
@@ -10394,24 +10807,28 @@ module Google
10394
10807
  class GoogleTypeTimeOfDay
10395
10808
  include Google::Apis::Core::Hashable
10396
10809
 
10397
- # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
10398
- # allow the value "24:00:00" for scenarios like business closing time.
10810
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
10811
+ # typically must be less than or equal to 23. An API may choose to allow the
10812
+ # value "24:00:00" for scenarios like business closing time.
10399
10813
  # Corresponds to the JSON property `hours`
10400
10814
  # @return [Fixnum]
10401
10815
  attr_accessor :hours
10402
10816
 
10403
- # Minutes of hour of day. Must be from 0 to 59.
10817
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
10818
+ # to 59.
10404
10819
  # Corresponds to the JSON property `minutes`
10405
10820
  # @return [Fixnum]
10406
10821
  attr_accessor :minutes
10407
10822
 
10408
- # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
10823
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
10824
+ # less than or equal to 999,999,999.
10409
10825
  # Corresponds to the JSON property `nanos`
10410
10826
  # @return [Fixnum]
10411
10827
  attr_accessor :nanos
10412
10828
 
10413
- # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
10414
- # allow the value 60 if it allows leap-seconds.
10829
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must be
10830
+ # less than or equal to 59. An API may allow the value 60 if it allows leap-
10831
+ # seconds.
10415
10832
  # Corresponds to the JSON property `seconds`
10416
10833
  # @return [Fixnum]
10417
10834
  attr_accessor :seconds
@@ -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.75.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240901"
25
+ REVISION = "20241006"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,24 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GooglePrivacyDlpV2AmazonS3Bucket
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GooglePrivacyDlpV2AmazonS3BucketConditions
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GooglePrivacyDlpV2AmazonS3BucketRegex
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -82,6 +100,24 @@ module Google
82
100
  include Google::Apis::Core::JsonObjectSupport
83
101
  end
84
102
 
103
+ class GooglePrivacyDlpV2AwsAccount
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GooglePrivacyDlpV2AwsAccountRegex
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GooglePrivacyDlpV2AwsDiscoveryStartingLocation
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
85
121
  class GooglePrivacyDlpV2BigQueryDiscoveryTarget
86
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
123
 
@@ -634,6 +670,24 @@ module Google
634
670
  include Google::Apis::Core::JsonObjectSupport
635
671
  end
636
672
 
673
+ class GooglePrivacyDlpV2DiscoveryOtherCloudConditions
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class GooglePrivacyDlpV2DiscoveryOtherCloudFilter
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
637
691
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
638
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
693
 
@@ -1222,6 +1276,42 @@ module Google
1222
1276
  include Google::Apis::Core::JsonObjectSupport
1223
1277
  end
1224
1278
 
1279
+ class GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
1280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1281
+
1282
+ include Google::Apis::Core::JsonObjectSupport
1283
+ end
1284
+
1285
+ class GooglePrivacyDlpV2OtherCloudDiscoveryTarget
1286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1287
+
1288
+ include Google::Apis::Core::JsonObjectSupport
1289
+ end
1290
+
1291
+ class GooglePrivacyDlpV2OtherCloudResourceCollection
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1297
+ class GooglePrivacyDlpV2OtherCloudResourceRegex
1298
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1299
+
1300
+ include Google::Apis::Core::JsonObjectSupport
1301
+ end
1302
+
1303
+ class GooglePrivacyDlpV2OtherCloudResourceRegexes
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1309
+ class GooglePrivacyDlpV2OtherCloudSingleResourceReference
1310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1311
+
1312
+ include Google::Apis::Core::JsonObjectSupport
1313
+ end
1314
+
1225
1315
  class GooglePrivacyDlpV2OtherInfoTypeSummary
1226
1316
  class Representation < Google::Apis::Core::JsonRepresentation; end
1227
1317
 
@@ -1892,6 +1982,32 @@ module Google
1892
1982
  end
1893
1983
  end
1894
1984
 
1985
+ class GooglePrivacyDlpV2AmazonS3Bucket
1986
+ # @private
1987
+ class Representation < Google::Apis::Core::JsonRepresentation
1988
+ property :aws_account, as: 'awsAccount', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccount, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccount::Representation
1989
+
1990
+ property :bucket_name, as: 'bucketName'
1991
+ end
1992
+ end
1993
+
1994
+ class GooglePrivacyDlpV2AmazonS3BucketConditions
1995
+ # @private
1996
+ class Representation < Google::Apis::Core::JsonRepresentation
1997
+ collection :bucket_types, as: 'bucketTypes'
1998
+ collection :object_storage_classes, as: 'objectStorageClasses'
1999
+ end
2000
+ end
2001
+
2002
+ class GooglePrivacyDlpV2AmazonS3BucketRegex
2003
+ # @private
2004
+ class Representation < Google::Apis::Core::JsonRepresentation
2005
+ property :aws_account_regex, as: 'awsAccountRegex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccountRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsAccountRegex::Representation
2006
+
2007
+ property :bucket_name_regex, as: 'bucketNameRegex'
2008
+ end
2009
+ end
2010
+
1895
2011
  class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
1896
2012
  # @private
1897
2013
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1928,6 +2044,28 @@ module Google
1928
2044
  end
1929
2045
  end
1930
2046
 
2047
+ class GooglePrivacyDlpV2AwsAccount
2048
+ # @private
2049
+ class Representation < Google::Apis::Core::JsonRepresentation
2050
+ property :account_id, as: 'accountId'
2051
+ end
2052
+ end
2053
+
2054
+ class GooglePrivacyDlpV2AwsAccountRegex
2055
+ # @private
2056
+ class Representation < Google::Apis::Core::JsonRepresentation
2057
+ property :account_id_regex, as: 'accountIdRegex'
2058
+ end
2059
+ end
2060
+
2061
+ class GooglePrivacyDlpV2AwsDiscoveryStartingLocation
2062
+ # @private
2063
+ class Representation < Google::Apis::Core::JsonRepresentation
2064
+ property :account_id, as: 'accountId'
2065
+ property :all_asset_inventory_assets, as: 'allAssetInventoryAssets'
2066
+ end
2067
+ end
2068
+
1931
2069
  class GooglePrivacyDlpV2BigQueryDiscoveryTarget
1932
2070
  # @private
1933
2071
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2509,6 +2647,8 @@ module Google
2509
2647
  collection :inspect_templates, as: 'inspectTemplates'
2510
2648
  property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation::Representation
2511
2649
 
2650
+ property :other_cloud_starting_location, as: 'otherCloudStartingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::Representation
2651
+
2512
2652
  property :project_id, as: 'projectId'
2513
2653
  end
2514
2654
  end
@@ -2878,6 +3018,8 @@ module Google
2878
3018
  property :name, as: 'name'
2879
3019
  property :org_config, as: 'orgConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig::Representation
2880
3020
 
3021
+ property :other_cloud_starting_location, as: 'otherCloudStartingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::Representation
3022
+
2881
3023
  property :status, as: 'status'
2882
3024
  collection :targets, as: 'targets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget::Representation
2883
3025
 
@@ -2915,6 +3057,36 @@ module Google
2915
3057
  end
2916
3058
  end
2917
3059
 
3060
+ class GooglePrivacyDlpV2DiscoveryOtherCloudConditions
3061
+ # @private
3062
+ class Representation < Google::Apis::Core::JsonRepresentation
3063
+ property :amazon_s3_bucket_conditions, as: 'amazonS3BucketConditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketConditions::Representation
3064
+
3065
+ property :min_age, as: 'minAge'
3066
+ end
3067
+ end
3068
+
3069
+ class GooglePrivacyDlpV2DiscoveryOtherCloudFilter
3070
+ # @private
3071
+ class Representation < Google::Apis::Core::JsonRepresentation
3072
+ property :collection, as: 'collection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceCollection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceCollection::Representation
3073
+
3074
+ property :others, as: 'others', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources::Representation
3075
+
3076
+ property :single_resource, as: 'singleResource', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudSingleResourceReference, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudSingleResourceReference::Representation
3077
+
3078
+ end
3079
+ end
3080
+
3081
+ class GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence
3082
+ # @private
3083
+ class Representation < Google::Apis::Core::JsonRepresentation
3084
+ property :inspect_template_modified_cadence, as: 'inspectTemplateModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence::Representation
3085
+
3086
+ property :refresh_frequency, as: 'refreshFrequency'
3087
+ end
3088
+ end
3089
+
2918
3090
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
2919
3091
  # @private
2920
3092
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2948,6 +3120,8 @@ module Google
2948
3120
 
2949
3121
  property :cloud_storage_target, as: 'cloudStorageTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget::Representation
2950
3122
 
3123
+ property :other_cloud_target, as: 'otherCloudTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryTarget::Representation
3124
+
2951
3125
  property :secrets_target, as: 'secretsTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget::Representation
2952
3126
 
2953
3127
  end
@@ -3922,6 +4096,62 @@ module Google
3922
4096
  end
3923
4097
  end
3924
4098
 
4099
+ class GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation
4100
+ # @private
4101
+ class Representation < Google::Apis::Core::JsonRepresentation
4102
+ property :aws_location, as: 'awsLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsDiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AwsDiscoveryStartingLocation::Representation
4103
+
4104
+ end
4105
+ end
4106
+
4107
+ class GooglePrivacyDlpV2OtherCloudDiscoveryTarget
4108
+ # @private
4109
+ class Representation < Google::Apis::Core::JsonRepresentation
4110
+ property :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudConditions::Representation
4111
+
4112
+ property :data_source_type, as: 'dataSourceType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType::Representation
4113
+
4114
+ property :disabled, as: 'disabled', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled::Representation
4115
+
4116
+ property :filter, as: 'filter', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudFilter::Representation
4117
+
4118
+ property :generation_cadence, as: 'generationCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryOtherCloudGenerationCadence::Representation
4119
+
4120
+ end
4121
+ end
4122
+
4123
+ class GooglePrivacyDlpV2OtherCloudResourceCollection
4124
+ # @private
4125
+ class Representation < Google::Apis::Core::JsonRepresentation
4126
+ property :include_regexes, as: 'includeRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegexes::Representation
4127
+
4128
+ end
4129
+ end
4130
+
4131
+ class GooglePrivacyDlpV2OtherCloudResourceRegex
4132
+ # @private
4133
+ class Representation < Google::Apis::Core::JsonRepresentation
4134
+ property :amazon_s3_bucket_regex, as: 'amazonS3BucketRegex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3BucketRegex::Representation
4135
+
4136
+ end
4137
+ end
4138
+
4139
+ class GooglePrivacyDlpV2OtherCloudResourceRegexes
4140
+ # @private
4141
+ class Representation < Google::Apis::Core::JsonRepresentation
4142
+ collection :patterns, as: 'patterns', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudResourceRegex::Representation
4143
+
4144
+ end
4145
+ end
4146
+
4147
+ class GooglePrivacyDlpV2OtherCloudSingleResourceReference
4148
+ # @private
4149
+ class Representation < Google::Apis::Core::JsonRepresentation
4150
+ property :amazon_s3_bucket, as: 'amazonS3Bucket', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AmazonS3Bucket::Representation
4151
+
4152
+ end
4153
+ end
4154
+
3925
4155
  class GooglePrivacyDlpV2OtherInfoTypeSummary
3926
4156
  # @private
3927
4157
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1421,17 +1421,18 @@ module Google
1421
1421
  # of one or more restrictions. * Restrictions can be combined by `AND` or `OR`
1422
1422
  # logical operators. A sequence of restrictions implicitly uses `AND`. * A
1423
1423
  # restriction has the form of ``field` `operator` `value``. * Supported fields/
1424
- # values: - `project_id` - The Google Cloud project ID. - `file_store_path` -
1425
- # The path like "gs://bucket". - `data_source_type` - The profile's data source
1426
- # type, like "google/storage/bucket". - `data_storage_location` - The location
1427
- # where the file store's data is stored, like "us-central1". - `
1428
- # sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW
1429
- # - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status
1430
- # code as defined in https://github.com/googleapis/googleapis/blob/master/google/
1431
- # rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id =
1432
- # 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH`
1433
- # * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "
1434
- # gs://mybucket"` The length of this field should be no more than 500 characters.
1424
+ # values: - `project_id` - The Google Cloud project ID. - `account_id` - The AWS
1425
+ # account ID. - `file_store_path` - The path like "gs://bucket". - `
1426
+ # data_source_type` - The profile's data source type, like "google/storage/
1427
+ # bucket". - `data_storage_location` - The location where the file store's data
1428
+ # is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `
1429
+ # data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|
1430
+ # RESTRICTED - `status_code` - an RPC status code as defined in https://github.
1431
+ # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator
1432
+ # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `
1433
+ # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
1434
+ # resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length
1435
+ # of this field should be no more than 500 characters.
1435
1436
  # @param [String] order_by
1436
1437
  # Optional. Comma-separated list of fields to order by, followed by `asc` or `
1437
1438
  # desc` postfix. This list is case insensitive. The default sorting order is
@@ -4838,17 +4839,18 @@ module Google
4838
4839
  # of one or more restrictions. * Restrictions can be combined by `AND` or `OR`
4839
4840
  # logical operators. A sequence of restrictions implicitly uses `AND`. * A
4840
4841
  # restriction has the form of ``field` `operator` `value``. * Supported fields/
4841
- # values: - `project_id` - The Google Cloud project ID. - `file_store_path` -
4842
- # The path like "gs://bucket". - `data_source_type` - The profile's data source
4843
- # type, like "google/storage/bucket". - `data_storage_location` - The location
4844
- # where the file store's data is stored, like "us-central1". - `
4845
- # sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW
4846
- # - `resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status
4847
- # code as defined in https://github.com/googleapis/googleapis/blob/master/google/
4848
- # rpc/code.proto * The operator must be `=` or `!=`. Examples: * `project_id =
4849
- # 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH`
4850
- # * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "
4851
- # gs://mybucket"` The length of this field should be no more than 500 characters.
4842
+ # values: - `project_id` - The Google Cloud project ID. - `account_id` - The AWS
4843
+ # account ID. - `file_store_path` - The path like "gs://bucket". - `
4844
+ # data_source_type` - The profile's data source type, like "google/storage/
4845
+ # bucket". - `data_storage_location` - The location where the file store's data
4846
+ # is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - `
4847
+ # data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|
4848
+ # RESTRICTED - `status_code` - an RPC status code as defined in https://github.
4849
+ # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator
4850
+ # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `
4851
+ # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
4852
+ # resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length
4853
+ # of this field should be no more than 500 characters.
4852
4854
  # @param [String] order_by
4853
4855
  # Optional. Comma-separated list of fields to order by, followed by `asc` or `
4854
4856
  # desc` postfix. This list is case insensitive. The default sorting order is
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.75.0
4
+ version: 0.77.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-09-15 00:00:00.000000000 Z
11
+ date: 2024-10-13 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.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.77.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Sensitive Data Protection (DLP) V2