google-apis-dlp_v2 0.74.0 → 0.76.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58946e8eb7924848dc61d3a686164f8f966aae01b3ae9cb3897e569822008459
4
- data.tar.gz: 1eb05f959abf8e25dee9f302d0b89fc928681a3f809c8f6c5e3a0e51d8cde2de
3
+ metadata.gz: 3a9276e3cc72ee15d6bc85ab260c8d59a949d3a07f59e1e3c5e067af646709d4
4
+ data.tar.gz: fc930baa9b02b209c6ca028a262cc83625a16b81fc04a8d128a0d147b0f2b072
5
5
  SHA512:
6
- metadata.gz: c6dd95276a0d26697374f797839a8b216f4141a6584ceeb9e3f440fb97a1eefcdee8abe68e3130daa7e7637fffaedfdfeab1ba30dc4f5701511048f1876fbf64
7
- data.tar.gz: 5da10ea261327535c39d3d972bfa83f7ffc457cf0db6ddf74ad3331990f65f6246cd6c2f2d9a5c5acaf561748fded6ac3bd628be4d6ce8534d5eebe99b35dff3
6
+ metadata.gz: 6dfaed159722c5e02c57cd66f62f3e554c8a033075c5bbed7629e157913390dfa6fcbffd81cdd056f791eaf060d4b396d1c3e76505cd47249eb8943e5b0cd078
7
+ data.tar.gz: b365a3875024a0519ccc3e4f85c843cba204fdc7e54be3a3cb1de11265d5e192850b3e1275ad91cc6ee4ffd1eac2117f86d2df5169ef59947384889583516574
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.76.0 (2024-09-22)
4
+
5
+ * Regenerated from discovery document revision 20240916
6
+
7
+ ### v0.75.0 (2024-09-08)
8
+
9
+ * Regenerated from discovery document revision 20240901
10
+
3
11
  ### v0.74.0 (2024-09-01)
4
12
 
5
13
  * Regenerated from discovery document revision 20240825
@@ -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
@@ -2282,6 +2428,16 @@ module Google
2282
2428
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification]
2283
2429
  attr_accessor :pub_sub_notification
2284
2430
 
2431
+ # Message expressing intention to publish to Google Security Operations.
2432
+ # Corresponds to the JSON property `publishToChronicle`
2433
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle]
2434
+ attr_accessor :publish_to_chronicle
2435
+
2436
+ # If set, a summary finding will be created/updated in SCC for each profile.
2437
+ # Corresponds to the JSON property `publishToScc`
2438
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter]
2439
+ attr_accessor :publish_to_scc
2440
+
2285
2441
  # If set, attaches the [tags] (https://cloud.google.com/resource-manager/docs/
2286
2442
  # tags/tags-overview) provided to profiled resources. Tags support [access
2287
2443
  # control](https://cloud.google.com/iam/docs/tags-access-control). You can
@@ -2299,6 +2455,8 @@ module Google
2299
2455
  def update!(**args)
2300
2456
  @export_data = args[:export_data] if args.key?(:export_data)
2301
2457
  @pub_sub_notification = args[:pub_sub_notification] if args.key?(:pub_sub_notification)
2458
+ @publish_to_chronicle = args[:publish_to_chronicle] if args.key?(:publish_to_chronicle)
2459
+ @publish_to_scc = args[:publish_to_scc] if args.key?(:publish_to_scc)
2302
2460
  @tag_resources = args[:tag_resources] if args.key?(:tag_resources)
2303
2461
  end
2304
2462
  end
@@ -2313,7 +2471,8 @@ module Google
2313
2471
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile]
2314
2472
  attr_accessor :column_profile
2315
2473
 
2316
- # 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.
2317
2476
  # Corresponds to the JSON property `fileStoreProfile`
2318
2477
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
2319
2478
  attr_accessor :file_store_profile
@@ -2419,6 +2578,11 @@ module Google
2419
2578
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation]
2420
2579
  attr_accessor :location
2421
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
+
2422
2586
  # The project that will run the scan. The DLP service account that exists within
2423
2587
  # this project must have access to all resources that are profiled, and the
2424
2588
  # Cloud DLP API must be enabled.
@@ -2435,6 +2599,7 @@ module Google
2435
2599
  @data_profile_actions = args[:data_profile_actions] if args.key?(:data_profile_actions)
2436
2600
  @inspect_templates = args[:inspect_templates] if args.key?(:inspect_templates)
2437
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)
2438
2603
  @project_id = args[:project_id] if args.key?(:project_id)
2439
2604
  end
2440
2605
  end
@@ -2494,7 +2659,8 @@ module Google
2494
2659
  # @return [String]
2495
2660
  attr_accessor :event
2496
2661
 
2497
- # 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.
2498
2664
  # Corresponds to the JSON property `fileStoreProfile`
2499
2665
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
2500
2666
  attr_accessor :file_store_profile
@@ -3667,6 +3833,11 @@ module Google
3667
3833
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig]
3668
3834
  attr_accessor :org_config
3669
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
+
3670
3841
  # Required. A status for this configuration.
3671
3842
  # Corresponds to the JSON property `status`
3672
3843
  # @return [String]
@@ -3696,6 +3867,7 @@ module Google
3696
3867
  @last_run_time = args[:last_run_time] if args.key?(:last_run_time)
3697
3868
  @name = args[:name] if args.key?(:name)
3698
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)
3699
3871
  @status = args[:status] if args.key?(:status)
3700
3872
  @targets = args[:targets] if args.key?(:targets)
3701
3873
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -3800,6 +3972,93 @@ module Google
3800
3972
  end
3801
3973
  end
3802
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
+
3803
4062
  # The cadence at which to update data profiles when a schema is modified.
3804
4063
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
3805
4064
  include Google::Apis::Core::Hashable
@@ -3899,6 +4158,14 @@ module Google
3899
4158
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget]
3900
4159
  attr_accessor :cloud_storage_target
3901
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
+
3902
4169
  # Discovery target for credentials and secrets in cloud resource metadata. This
3903
4170
  # target does not include any filtering or frequency controls. Cloud DLP will
3904
4171
  # scan cloud resource metadata for secrets daily. No inspect template should be
@@ -3920,6 +4187,7 @@ module Google
3920
4187
  @big_query_target = args[:big_query_target] if args.key?(:big_query_target)
3921
4188
  @cloud_sql_target = args[:cloud_sql_target] if args.key?(:cloud_sql_target)
3922
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)
3923
4191
  @secrets_target = args[:secrets_target] if args.key?(:secrets_target)
3924
4192
  end
3925
4193
  end
@@ -4492,7 +4760,8 @@ module Google
4492
4760
  end
4493
4761
  end
4494
4762
 
4495
- # 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.
4496
4765
  class GooglePrivacyDlpV2FileStoreDataProfile
4497
4766
  include Google::Apis::Core::Hashable
4498
4767
 
@@ -4543,18 +4812,22 @@ module Google
4543
4812
  alias_method :file_store_is_empty?, :file_store_is_empty
4544
4813
 
4545
4814
  # The location of the file store. * Cloud Storage: https://cloud.google.com/
4546
- # 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
4547
4817
  # Corresponds to the JSON property `fileStoreLocation`
4548
4818
  # @return [String]
4549
4819
  attr_accessor :file_store_location
4550
4820
 
4551
- # The file store path. * Cloud Storage: `gs://`bucket``
4821
+ # The file store path. * Cloud Storage: `gs://`bucket`` * Amazon S3: `s3://`
4822
+ # bucket``
4552
4823
  # Corresponds to the JSON property `fileStorePath`
4553
4824
  # @return [String]
4554
4825
  attr_accessor :file_store_path
4555
4826
 
4556
4827
  # The resource name of the resource profiled. https://cloud.google.com/apis/
4557
- # 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``
4558
4831
  # Corresponds to the JSON property `fullResource`
4559
4832
  # @return [String]
4560
4833
  attr_accessor :full_resource
@@ -4590,7 +4863,8 @@ module Google
4590
4863
  # @return [String]
4591
4864
  attr_accessor :project_data_profile
4592
4865
 
4593
- # 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.
4594
4868
  # Corresponds to the JSON property `projectId`
4595
4869
  # @return [String]
4596
4870
  attr_accessor :project_id
@@ -7097,6 +7371,156 @@ module Google
7097
7371
  end
7098
7372
  end
7099
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
+
7100
7524
  # Infotype details for other infoTypes found within a column.
7101
7525
  class GooglePrivacyDlpV2OtherInfoTypeSummary
7102
7526
  include Google::Apis::Core::Hashable
@@ -7675,6 +8099,19 @@ module Google
7675
8099
  end
7676
8100
  end
7677
8101
 
8102
+ # Message expressing intention to publish to Google Security Operations.
8103
+ class GooglePrivacyDlpV2PublishToChronicle
8104
+ include Google::Apis::Core::Hashable
8105
+
8106
+ def initialize(**args)
8107
+ update!(**args)
8108
+ end
8109
+
8110
+ # Update properties of this object
8111
+ def update!(**args)
8112
+ end
8113
+ end
8114
+
7678
8115
  # Publish a message into a given Pub/Sub topic when DlpJob has completed. The
7679
8116
  # message contains a single field, `DlpJobName`, which is equal to the finished
7680
8117
  # job's [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/
@@ -7700,6 +8137,19 @@ module Google
7700
8137
  end
7701
8138
  end
7702
8139
 
8140
+ # If set, a summary finding will be created/updated in SCC for each profile.
8141
+ class GooglePrivacyDlpV2PublishToSecurityCommandCenter
8142
+ include Google::Apis::Core::Hashable
8143
+
8144
+ def initialize(**args)
8145
+ update!(**args)
8146
+ end
8147
+
8148
+ # Update properties of this object
8149
+ def update!(**args)
8150
+ end
8151
+ end
8152
+
7703
8153
  # Enable Stackdriver metric dlp.googleapis.com/finding_count. This will publish
7704
8154
  # a metric to stack driver on each infotype requested and how many findings were
7705
8155
  # found for it. CustomDetectors will be bucketed as 'Custom' under the
@@ -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.74.0"
19
+ GEM_VERSION = "0.76.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 = "20240825"
25
+ REVISION = "20240916"
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
 
@@ -1306,12 +1396,24 @@ module Google
1306
1396
  include Google::Apis::Core::JsonObjectSupport
1307
1397
  end
1308
1398
 
1399
+ class GooglePrivacyDlpV2PublishToChronicle
1400
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1401
+
1402
+ include Google::Apis::Core::JsonObjectSupport
1403
+ end
1404
+
1309
1405
  class GooglePrivacyDlpV2PublishToPubSub
1310
1406
  class Representation < Google::Apis::Core::JsonRepresentation; end
1311
1407
 
1312
1408
  include Google::Apis::Core::JsonObjectSupport
1313
1409
  end
1314
1410
 
1411
+ class GooglePrivacyDlpV2PublishToSecurityCommandCenter
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1315
1417
  class GooglePrivacyDlpV2PublishToStackdriver
1316
1418
  class Representation < Google::Apis::Core::JsonRepresentation; end
1317
1419
 
@@ -1880,6 +1982,32 @@ module Google
1880
1982
  end
1881
1983
  end
1882
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
+
1883
2011
  class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
1884
2012
  # @private
1885
2013
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1916,6 +2044,28 @@ module Google
1916
2044
  end
1917
2045
  end
1918
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
+
1919
2069
  class GooglePrivacyDlpV2BigQueryDiscoveryTarget
1920
2070
  # @private
1921
2071
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2454,6 +2604,10 @@ module Google
2454
2604
 
2455
2605
  property :pub_sub_notification, as: 'pubSubNotification', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification::Representation
2456
2606
 
2607
+ property :publish_to_chronicle, as: 'publishToChronicle', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToChronicle::Representation
2608
+
2609
+ property :publish_to_scc, as: 'publishToScc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToSecurityCommandCenter::Representation
2610
+
2457
2611
  property :tag_resources, as: 'tagResources', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TagResources::Representation
2458
2612
 
2459
2613
  end
@@ -2493,6 +2647,8 @@ module Google
2493
2647
  collection :inspect_templates, as: 'inspectTemplates'
2494
2648
  property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileLocation::Representation
2495
2649
 
2650
+ property :other_cloud_starting_location, as: 'otherCloudStartingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::Representation
2651
+
2496
2652
  property :project_id, as: 'projectId'
2497
2653
  end
2498
2654
  end
@@ -2862,6 +3018,8 @@ module Google
2862
3018
  property :name, as: 'name'
2863
3019
  property :org_config, as: 'orgConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OrgConfig::Representation
2864
3020
 
3021
+ property :other_cloud_starting_location, as: 'otherCloudStartingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::Representation
3022
+
2865
3023
  property :status, as: 'status'
2866
3024
  collection :targets, as: 'targets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget::Representation
2867
3025
 
@@ -2899,6 +3057,36 @@ module Google
2899
3057
  end
2900
3058
  end
2901
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
+
2902
3090
  class GooglePrivacyDlpV2DiscoverySchemaModifiedCadence
2903
3091
  # @private
2904
3092
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2932,6 +3120,8 @@ module Google
2932
3120
 
2933
3121
  property :cloud_storage_target, as: 'cloudStorageTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageDiscoveryTarget::Representation
2934
3122
 
3123
+ property :other_cloud_target, as: 'otherCloudTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryTarget::Representation
3124
+
2935
3125
  property :secrets_target, as: 'secretsTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget::Representation
2936
3126
 
2937
3127
  end
@@ -3906,6 +4096,62 @@ module Google
3906
4096
  end
3907
4097
  end
3908
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
+
3909
4155
  class GooglePrivacyDlpV2OtherInfoTypeSummary
3910
4156
  # @private
3911
4157
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4064,6 +4310,12 @@ module Google
4064
4310
  end
4065
4311
  end
4066
4312
 
4313
+ class GooglePrivacyDlpV2PublishToChronicle
4314
+ # @private
4315
+ class Representation < Google::Apis::Core::JsonRepresentation
4316
+ end
4317
+ end
4318
+
4067
4319
  class GooglePrivacyDlpV2PublishToPubSub
4068
4320
  # @private
4069
4321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4071,6 +4323,12 @@ module Google
4071
4323
  end
4072
4324
  end
4073
4325
 
4326
+ class GooglePrivacyDlpV2PublishToSecurityCommandCenter
4327
+ # @private
4328
+ class Representation < Google::Apis::Core::JsonRepresentation
4329
+ end
4330
+ end
4331
+
4074
4332
  class GooglePrivacyDlpV2PublishToStackdriver
4075
4333
  # @private
4076
4334
  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.74.0
4
+ version: 0.76.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-01 00:00:00.000000000 Z
11
+ date: 2024-09-22 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.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.76.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: []