google-apis-dlp_v2 0.82.0 → 0.84.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: f11eed20d2e69c47814a281205df6fc16410a4f96bbe85a2fa5e1ce061e8a8d7
4
- data.tar.gz: 24540b712c6bb199d93c3d8531496d59ca9da2b057ecbb6e7ac03a27bd49e3d0
3
+ metadata.gz: d2664ab31912fb0a9efc74b5000cf647ed2b8745822288c754c5effa8b88f820
4
+ data.tar.gz: d3dc70d8fe1235b64f830b65ba543e45e7eb0df5313be416aceb18b72a9eb22f
5
5
  SHA512:
6
- metadata.gz: 027ce2a2ec7b552460fc7135e6d20934632a7991bb9ba1df4aac1619bfb02e1bead483bc2f121cecc78b9f1df6fd2c8ca07a55eaa6f9b019112271e606d39010
7
- data.tar.gz: 0da80c82e5378718ae9840600128889e76e51f225056d4a6d11602bbff1337b340cac598825e8d30d6a80a3289ba849585ae107349150d61328444aa39d472a9
6
+ metadata.gz: 7ec8abd9f3b075bcaa9ec2a341e6d349321ce681811c6d5c98bebf804b178763588b4d9df27058a47c709589c0582288aef070b7a040442c9af05d8bf8df3886
7
+ data.tar.gz: f4cb788e275a3d0f950f3900f797b18b4923eb62a9d0e3760a8f27918677035036ed982de8e0dc6dc79388b098f070a4fd98e18debc6fe8ddd44f9fa5e0fb668
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.84.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250305
6
+
7
+ ### v0.83.0 (2025-03-02)
8
+
9
+ * Regenerated from discovery document revision 20250226
10
+
3
11
  ### v0.82.0 (2025-01-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20250105
@@ -2548,6 +2548,117 @@ module Google
2548
2548
  end
2549
2549
  end
2550
2550
 
2551
+ # Details about a piece of potentially sensitive information that was detected
2552
+ # when the data resource was profiled.
2553
+ class GooglePrivacyDlpV2DataProfileFinding
2554
+ include Google::Apis::Core::Hashable
2555
+
2556
+ # Resource name of the data profile associated with the finding.
2557
+ # Corresponds to the JSON property `dataProfileResourceName`
2558
+ # @return [String]
2559
+ attr_accessor :data_profile_resource_name
2560
+
2561
+ # A unique identifier for the finding.
2562
+ # Corresponds to the JSON property `findingId`
2563
+ # @return [String]
2564
+ attr_accessor :finding_id
2565
+
2566
+ # Type of information detected by the API.
2567
+ # Corresponds to the JSON property `infotype`
2568
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
2569
+ attr_accessor :infotype
2570
+
2571
+ # Location of a data profile finding within a resource.
2572
+ # Corresponds to the JSON property `location`
2573
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingLocation]
2574
+ attr_accessor :location
2575
+
2576
+ # The content that was found. Even if the content is not textual, it may be
2577
+ # converted to a textual representation here. If the finding exceeds 4096 bytes
2578
+ # in length, the quote may be omitted.
2579
+ # Corresponds to the JSON property `quote`
2580
+ # @return [String]
2581
+ attr_accessor :quote
2582
+
2583
+ # Message for infoType-dependent details parsed from quote.
2584
+ # Corresponds to the JSON property `quoteInfo`
2585
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo]
2586
+ attr_accessor :quote_info
2587
+
2588
+ # How broadly a resource has been shared.
2589
+ # Corresponds to the JSON property `resourceVisibility`
2590
+ # @return [String]
2591
+ attr_accessor :resource_visibility
2592
+
2593
+ # Timestamp when the finding was detected.
2594
+ # Corresponds to the JSON property `timestamp`
2595
+ # @return [String]
2596
+ attr_accessor :timestamp
2597
+
2598
+ def initialize(**args)
2599
+ update!(**args)
2600
+ end
2601
+
2602
+ # Update properties of this object
2603
+ def update!(**args)
2604
+ @data_profile_resource_name = args[:data_profile_resource_name] if args.key?(:data_profile_resource_name)
2605
+ @finding_id = args[:finding_id] if args.key?(:finding_id)
2606
+ @infotype = args[:infotype] if args.key?(:infotype)
2607
+ @location = args[:location] if args.key?(:location)
2608
+ @quote = args[:quote] if args.key?(:quote)
2609
+ @quote_info = args[:quote_info] if args.key?(:quote_info)
2610
+ @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
2611
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
2612
+ end
2613
+ end
2614
+
2615
+ # Location of a data profile finding within a resource.
2616
+ class GooglePrivacyDlpV2DataProfileFindingLocation
2617
+ include Google::Apis::Core::Hashable
2618
+
2619
+ # Name of the container where the finding is located. The top-level name is the
2620
+ # source file name or table name. Names of some common storage containers are
2621
+ # formatted as follows: * BigQuery tables: ``project_id`:`dataset_id`.`table_id``
2622
+ # * Cloud Storage files: `gs://`bucket`/`path``
2623
+ # Corresponds to the JSON property `containerName`
2624
+ # @return [String]
2625
+ attr_accessor :container_name
2626
+
2627
+ # Location of a finding within a resource that produces a table data profile.
2628
+ # Corresponds to the JSON property `dataProfileFindingRecordLocation`
2629
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingRecordLocation]
2630
+ attr_accessor :data_profile_finding_record_location
2631
+
2632
+ def initialize(**args)
2633
+ update!(**args)
2634
+ end
2635
+
2636
+ # Update properties of this object
2637
+ def update!(**args)
2638
+ @container_name = args[:container_name] if args.key?(:container_name)
2639
+ @data_profile_finding_record_location = args[:data_profile_finding_record_location] if args.key?(:data_profile_finding_record_location)
2640
+ end
2641
+ end
2642
+
2643
+ # Location of a finding within a resource that produces a table data profile.
2644
+ class GooglePrivacyDlpV2DataProfileFindingRecordLocation
2645
+ include Google::Apis::Core::Hashable
2646
+
2647
+ # General identifier of a data field in a storage service.
2648
+ # Corresponds to the JSON property `field`
2649
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
2650
+ attr_accessor :field
2651
+
2652
+ def initialize(**args)
2653
+ update!(**args)
2654
+ end
2655
+
2656
+ # Update properties of this object
2657
+ def update!(**args)
2658
+ @field = args[:field] if args.key?(:field)
2659
+ end
2660
+ end
2661
+
2551
2662
  # Configuration for setting up a job to scan resources for profile generation.
2552
2663
  # Only one data profile configuration may exist per organization, folder, or
2553
2664
  # project. The generated data profiles are retained according to the [data
@@ -3840,6 +3951,13 @@ module Google
3840
3951
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation]
3841
3952
  attr_accessor :other_cloud_starting_location
3842
3953
 
3954
+ # Configure processing location for discovery and inspection. For example, image
3955
+ # OCR is only provided in limited regions but configuring ProcessingLocation
3956
+ # will redirect OCR to a location where OCR is provided.
3957
+ # Corresponds to the JSON property `processingLocation`
3958
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProcessingLocation]
3959
+ attr_accessor :processing_location
3960
+
3843
3961
  # Required. A status for this configuration.
3844
3962
  # Corresponds to the JSON property `status`
3845
3963
  # @return [String]
@@ -3870,6 +3988,7 @@ module Google
3870
3988
  @name = args[:name] if args.key?(:name)
3871
3989
  @org_config = args[:org_config] if args.key?(:org_config)
3872
3990
  @other_cloud_starting_location = args[:other_cloud_starting_location] if args.key?(:other_cloud_starting_location)
3991
+ @processing_location = args[:processing_location] if args.key?(:processing_location)
3873
3992
  @status = args[:status] if args.key?(:status)
3874
3993
  @targets = args[:targets] if args.key?(:targets)
3875
3994
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -4180,6 +4299,11 @@ module Google
4180
4299
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget]
4181
4300
  attr_accessor :secrets_target
4182
4301
 
4302
+ # Target used to match against for discovery with Vertex AI datasets.
4303
+ # Corresponds to the JSON property `vertexDatasetTarget`
4304
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetDiscoveryTarget]
4305
+ attr_accessor :vertex_dataset_target
4306
+
4183
4307
  def initialize(**args)
4184
4308
  update!(**args)
4185
4309
  end
@@ -4191,6 +4315,95 @@ module Google
4191
4315
  @cloud_storage_target = args[:cloud_storage_target] if args.key?(:cloud_storage_target)
4192
4316
  @other_cloud_target = args[:other_cloud_target] if args.key?(:other_cloud_target)
4193
4317
  @secrets_target = args[:secrets_target] if args.key?(:secrets_target)
4318
+ @vertex_dataset_target = args[:vertex_dataset_target] if args.key?(:vertex_dataset_target)
4319
+ end
4320
+ end
4321
+
4322
+ # Requirements that must be true before a dataset is profiled for the first time.
4323
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions
4324
+ include Google::Apis::Core::Hashable
4325
+
4326
+ # Vertex AI dataset must have been created after this date. Used to avoid
4327
+ # backfilling.
4328
+ # Corresponds to the JSON property `createdAfter`
4329
+ # @return [String]
4330
+ attr_accessor :created_after
4331
+
4332
+ # Minimum age a Vertex AI dataset must have. If set, the value must be 1 hour or
4333
+ # greater.
4334
+ # Corresponds to the JSON property `minAge`
4335
+ # @return [String]
4336
+ attr_accessor :min_age
4337
+
4338
+ def initialize(**args)
4339
+ update!(**args)
4340
+ end
4341
+
4342
+ # Update properties of this object
4343
+ def update!(**args)
4344
+ @created_after = args[:created_after] if args.key?(:created_after)
4345
+ @min_age = args[:min_age] if args.key?(:min_age)
4346
+ end
4347
+ end
4348
+
4349
+ # Determines what datasets will have profiles generated within an organization
4350
+ # or project. Includes the ability to filter by regular expression patterns on
4351
+ # project ID or dataset regex.
4352
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter
4353
+ include Google::Apis::Core::Hashable
4354
+
4355
+ # Match dataset resources using regex filters.
4356
+ # Corresponds to the JSON property `collection`
4357
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetCollection]
4358
+ attr_accessor :collection
4359
+
4360
+ # Match discovery resources not covered by any other filter.
4361
+ # Corresponds to the JSON property `others`
4362
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources]
4363
+ attr_accessor :others
4364
+
4365
+ # Identifies a single Vertex AI dataset.
4366
+ # Corresponds to the JSON property `vertexDatasetResourceReference`
4367
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetResourceReference]
4368
+ attr_accessor :vertex_dataset_resource_reference
4369
+
4370
+ def initialize(**args)
4371
+ update!(**args)
4372
+ end
4373
+
4374
+ # Update properties of this object
4375
+ def update!(**args)
4376
+ @collection = args[:collection] if args.key?(:collection)
4377
+ @others = args[:others] if args.key?(:others)
4378
+ @vertex_dataset_resource_reference = args[:vertex_dataset_resource_reference] if args.key?(:vertex_dataset_resource_reference)
4379
+ end
4380
+ end
4381
+
4382
+ # How often existing datasets should have their profiles refreshed. New datasets
4383
+ # are scanned as quickly as possible depending on system capacity.
4384
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence
4385
+ include Google::Apis::Core::Hashable
4386
+
4387
+ # The cadence at which to update data profiles when the inspection rules defined
4388
+ # by the `InspectTemplate` change.
4389
+ # Corresponds to the JSON property `inspectTemplateModifiedCadence`
4390
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence]
4391
+ attr_accessor :inspect_template_modified_cadence
4392
+
4393
+ # If you set this field, profiles are refreshed at this frequency regardless of
4394
+ # whether the underlying datasets have changed. Defaults to never.
4395
+ # Corresponds to the JSON property `refreshFrequency`
4396
+ # @return [String]
4397
+ attr_accessor :refresh_frequency
4398
+
4399
+ def initialize(**args)
4400
+ update!(**args)
4401
+ end
4402
+
4403
+ # Update properties of this object
4404
+ def update!(**args)
4405
+ @inspect_template_modified_cadence = args[:inspect_template_modified_cadence] if args.key?(:inspect_template_modified_cadence)
4406
+ @refresh_frequency = args[:refresh_frequency] if args.key?(:refresh_frequency)
4194
4407
  end
4195
4408
  end
4196
4409
 
@@ -4488,6 +4701,13 @@ module Google
4488
4701
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
4489
4702
  attr_accessor :profile_table
4490
4703
 
4704
+ # Message defining the location of a BigQuery table. A table is uniquely
4705
+ # identified by its project_id, dataset_id, and table_name. Within a query a
4706
+ # table is often referenced with a string in the format of: `:.` or `..`.
4707
+ # Corresponds to the JSON property `sampleFindingsTable`
4708
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
4709
+ attr_accessor :sample_findings_table
4710
+
4491
4711
  def initialize(**args)
4492
4712
  update!(**args)
4493
4713
  end
@@ -4495,6 +4715,7 @@ module Google
4495
4715
  # Update properties of this object
4496
4716
  def update!(**args)
4497
4717
  @profile_table = args[:profile_table] if args.key?(:profile_table)
4718
+ @sample_findings_table = args[:sample_findings_table] if args.key?(:sample_findings_table)
4498
4719
  end
4499
4720
  end
4500
4721
 
@@ -4821,7 +5042,8 @@ module Google
4821
5042
  attr_accessor :file_store_location
4822
5043
 
4823
5044
  # The file store path. * Cloud Storage: `gs://`bucket`` * Amazon S3: `s3://`
4824
- # bucket``
5045
+ # bucket`` * Vertex AI dataset: `projects/`project_number`/locations/`location`/
5046
+ # datasets/`dataset_id``
4825
5047
  # Corresponds to the JSON property `fileStorePath`
4826
5048
  # @return [String]
4827
5049
  attr_accessor :file_store_path
@@ -4871,6 +5093,11 @@ module Google
4871
5093
  # @return [String]
4872
5094
  attr_accessor :project_id
4873
5095
 
5096
+ # Resources related to this profile.
5097
+ # Corresponds to the JSON property `relatedResources`
5098
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource>]
5099
+ attr_accessor :related_resources
5100
+
4874
5101
  # Attributes of the resource being profiled. Currently used attributes: *
4875
5102
  # customer_managed_encryption: boolean - true: the resource is encrypted with a
4876
5103
  # customer-managed key. - false: the resource is encrypted with a provider-
@@ -4889,6 +5116,13 @@ module Google
4889
5116
  # @return [String]
4890
5117
  attr_accessor :resource_visibility
4891
5118
 
5119
+ # Message defining the location of a BigQuery table. A table is uniquely
5120
+ # identified by its project_id, dataset_id, and table_name. Within a query a
5121
+ # table is often referenced with a string in the format of: `:.` or `..`.
5122
+ # Corresponds to the JSON property `sampleFindingsTable`
5123
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
5124
+ attr_accessor :sample_findings_table
5125
+
4892
5126
  # Score is calculated from of all elements in the data profile. A higher level
4893
5127
  # means the data is more sensitive.
4894
5128
  # Corresponds to the JSON property `sensitivityScore`
@@ -4924,9 +5158,11 @@ module Google
4924
5158
  @profile_status = args[:profile_status] if args.key?(:profile_status)
4925
5159
  @project_data_profile = args[:project_data_profile] if args.key?(:project_data_profile)
4926
5160
  @project_id = args[:project_id] if args.key?(:project_id)
5161
+ @related_resources = args[:related_resources] if args.key?(:related_resources)
4927
5162
  @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4928
5163
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
4929
5164
  @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
5165
+ @sample_findings_table = args[:sample_findings_table] if args.key?(:sample_findings_table)
4930
5166
  @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
4931
5167
  @state = args[:state] if args.key?(:state)
4932
5168
  end
@@ -5205,6 +5441,19 @@ module Google
5205
5441
  end
5206
5442
  end
5207
5443
 
5444
+ # Processing will happen in the global region.
5445
+ class GooglePrivacyDlpV2GlobalProcessing
5446
+ include Google::Apis::Core::Hashable
5447
+
5448
+ def initialize(**args)
5449
+ update!(**args)
5450
+ end
5451
+
5452
+ # Update properties of this object
5453
+ def update!(**args)
5454
+ end
5455
+ end
5456
+
5208
5457
  # The rule that adjusts the likelihood of findings within a certain proximity of
5209
5458
  # hotwords.
5210
5459
  class GooglePrivacyDlpV2HotwordRule
@@ -5455,6 +5704,33 @@ module Google
5455
5704
  end
5456
5705
  end
5457
5706
 
5707
+ # Configure image processing to fall back to the configured processing option
5708
+ # below if unavailable in the request location.
5709
+ class GooglePrivacyDlpV2ImageFallbackLocation
5710
+ include Google::Apis::Core::Hashable
5711
+
5712
+ # Processing will happen in the global region.
5713
+ # Corresponds to the JSON property `globalProcessing`
5714
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing]
5715
+ attr_accessor :global_processing
5716
+
5717
+ # Processing will happen in a multi-region that contains the current region if
5718
+ # available.
5719
+ # Corresponds to the JSON property `multiRegionProcessing`
5720
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing]
5721
+ attr_accessor :multi_region_processing
5722
+
5723
+ def initialize(**args)
5724
+ update!(**args)
5725
+ end
5726
+
5727
+ # Update properties of this object
5728
+ def update!(**args)
5729
+ @global_processing = args[:global_processing] if args.key?(:global_processing)
5730
+ @multi_region_processing = args[:multi_region_processing] if args.key?(:multi_region_processing)
5731
+ end
5732
+ end
5733
+
5458
5734
  # Location of the finding within an image.
5459
5735
  class GooglePrivacyDlpV2ImageLocation
5460
5736
  include Google::Apis::Core::Hashable
@@ -5652,7 +5928,7 @@ module Google
5652
5928
  # @return [String]
5653
5929
  attr_accessor :display_name
5654
5930
 
5655
- # A sample true positive for this infoType.
5931
+ # A sample that is a true positive for this infoType.
5656
5932
  # Corresponds to the JSON property `example`
5657
5933
  # @return [String]
5658
5934
  attr_accessor :example
@@ -7263,6 +7539,20 @@ module Google
7263
7539
  end
7264
7540
  end
7265
7541
 
7542
+ # Processing will happen in a multi-region that contains the current region if
7543
+ # available.
7544
+ class GooglePrivacyDlpV2MultiRegionProcessing
7545
+ include Google::Apis::Core::Hashable
7546
+
7547
+ def initialize(**args)
7548
+ update!(**args)
7549
+ end
7550
+
7551
+ # Update properties of this object
7552
+ def update!(**args)
7553
+ end
7554
+ end
7555
+
7266
7556
  # Compute numerical stats over an individual column, including min, max, and
7267
7557
  # quantiles.
7268
7558
  class GooglePrivacyDlpV2NumericalStatsConfig
@@ -7848,6 +8138,28 @@ module Google
7848
8138
  end
7849
8139
  end
7850
8140
 
8141
+ # Configure processing location for discovery and inspection. For example, image
8142
+ # OCR is only provided in limited regions but configuring ProcessingLocation
8143
+ # will redirect OCR to a location where OCR is provided.
8144
+ class GooglePrivacyDlpV2ProcessingLocation
8145
+ include Google::Apis::Core::Hashable
8146
+
8147
+ # Configure image processing to fall back to the configured processing option
8148
+ # below if unavailable in the request location.
8149
+ # Corresponds to the JSON property `imageFallbackLocation`
8150
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation]
8151
+ attr_accessor :image_fallback_location
8152
+
8153
+ def initialize(**args)
8154
+ update!(**args)
8155
+ end
8156
+
8157
+ # Update properties of this object
8158
+ def update!(**args)
8159
+ @image_fallback_location = args[:image_fallback_location] if args.key?(:image_fallback_location)
8160
+ end
8161
+ end
8162
+
7851
8163
  # Success or errors for the profile generation.
7852
8164
  class GooglePrivacyDlpV2ProfileStatus
7853
8165
  include Google::Apis::Core::Hashable
@@ -8682,6 +8994,26 @@ module Google
8682
8994
  end
8683
8995
  end
8684
8996
 
8997
+ # A related resource. Examples: * The source BigQuery table for a Vertex AI
8998
+ # dataset. * The source Cloud Storage bucket for a Vertex AI dataset.
8999
+ class GooglePrivacyDlpV2RelatedResource
9000
+ include Google::Apis::Core::Hashable
9001
+
9002
+ # The full resource name of the related resource.
9003
+ # Corresponds to the JSON property `fullResource`
9004
+ # @return [String]
9005
+ attr_accessor :full_resource
9006
+
9007
+ def initialize(**args)
9008
+ update!(**args)
9009
+ end
9010
+
9011
+ # Update properties of this object
9012
+ def update!(**args)
9013
+ @full_resource = args[:full_resource] if args.key?(:full_resource)
9014
+ end
9015
+ end
9016
+
8685
9017
  # Replace each input value with a value randomly selected from the dictionary.
8686
9018
  class GooglePrivacyDlpV2ReplaceDictionaryConfig
8687
9019
  include Google::Apis::Core::Hashable
@@ -9591,6 +9923,11 @@ module Google
9591
9923
  # @return [String]
9592
9924
  attr_accessor :project_data_profile
9593
9925
 
9926
+ # Resources related to this profile.
9927
+ # Corresponds to the JSON property `relatedResources`
9928
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource>]
9929
+ attr_accessor :related_resources
9930
+
9594
9931
  # The labels applied to the resource at the time the profile was generated.
9595
9932
  # Corresponds to the JSON property `resourceLabels`
9596
9933
  # @return [Hash<String,String>]
@@ -9607,6 +9944,13 @@ module Google
9607
9944
  # @return [Fixnum]
9608
9945
  attr_accessor :row_count
9609
9946
 
9947
+ # Message defining the location of a BigQuery table. A table is uniquely
9948
+ # identified by its project_id, dataset_id, and table_name. Within a query a
9949
+ # table is often referenced with a string in the format of: `:.` or `..`.
9950
+ # Corresponds to the JSON property `sampleFindingsTable`
9951
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
9952
+ attr_accessor :sample_findings_table
9953
+
9610
9954
  # The number of columns profiled in the table.
9611
9955
  # Corresponds to the JSON property `scannedColumnCount`
9612
9956
  # @return [Fixnum]
@@ -9657,9 +10001,11 @@ module Google
9657
10001
  @profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
9658
10002
  @profile_status = args[:profile_status] if args.key?(:profile_status)
9659
10003
  @project_data_profile = args[:project_data_profile] if args.key?(:project_data_profile)
10004
+ @related_resources = args[:related_resources] if args.key?(:related_resources)
9660
10005
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
9661
10006
  @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
9662
10007
  @row_count = args[:row_count] if args.key?(:row_count)
10008
+ @sample_findings_table = args[:sample_findings_table] if args.key?(:sample_findings_table)
9663
10009
  @scanned_column_count = args[:scanned_column_count] if args.key?(:scanned_column_count)
9664
10010
  @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
9665
10011
  @state = args[:state] if args.key?(:state)
@@ -10694,6 +11040,128 @@ module Google
10694
11040
  end
10695
11041
  end
10696
11042
 
11043
+ # Match dataset resources using regex filters.
11044
+ class GooglePrivacyDlpV2VertexDatasetCollection
11045
+ include Google::Apis::Core::Hashable
11046
+
11047
+ # A collection of regular expressions to determine what datasets to match
11048
+ # against.
11049
+ # Corresponds to the JSON property `vertexDatasetRegexes`
11050
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegexes]
11051
+ attr_accessor :vertex_dataset_regexes
11052
+
11053
+ def initialize(**args)
11054
+ update!(**args)
11055
+ end
11056
+
11057
+ # Update properties of this object
11058
+ def update!(**args)
11059
+ @vertex_dataset_regexes = args[:vertex_dataset_regexes] if args.key?(:vertex_dataset_regexes)
11060
+ end
11061
+ end
11062
+
11063
+ # Target used to match against for discovery with Vertex AI datasets.
11064
+ class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget
11065
+ include Google::Apis::Core::Hashable
11066
+
11067
+ # Requirements that must be true before a dataset is profiled for the first time.
11068
+ # Corresponds to the JSON property `conditions`
11069
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetConditions]
11070
+ attr_accessor :conditions
11071
+
11072
+ # Do not profile the tables.
11073
+ # Corresponds to the JSON property `disabled`
11074
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled]
11075
+ attr_accessor :disabled
11076
+
11077
+ # Determines what datasets will have profiles generated within an organization
11078
+ # or project. Includes the ability to filter by regular expression patterns on
11079
+ # project ID or dataset regex.
11080
+ # Corresponds to the JSON property `filter`
11081
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetFilter]
11082
+ attr_accessor :filter
11083
+
11084
+ # How often existing datasets should have their profiles refreshed. New datasets
11085
+ # are scanned as quickly as possible depending on system capacity.
11086
+ # Corresponds to the JSON property `generationCadence`
11087
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence]
11088
+ attr_accessor :generation_cadence
11089
+
11090
+ def initialize(**args)
11091
+ update!(**args)
11092
+ end
11093
+
11094
+ # Update properties of this object
11095
+ def update!(**args)
11096
+ @conditions = args[:conditions] if args.key?(:conditions)
11097
+ @disabled = args[:disabled] if args.key?(:disabled)
11098
+ @filter = args[:filter] if args.key?(:filter)
11099
+ @generation_cadence = args[:generation_cadence] if args.key?(:generation_cadence)
11100
+ end
11101
+ end
11102
+
11103
+ # A pattern to match against one or more dataset resources.
11104
+ class GooglePrivacyDlpV2VertexDatasetRegex
11105
+ include Google::Apis::Core::Hashable
11106
+
11107
+ # For organizations, if unset, will match all projects. Has no effect for
11108
+ # configurations created within a project.
11109
+ # Corresponds to the JSON property `projectIdRegex`
11110
+ # @return [String]
11111
+ attr_accessor :project_id_regex
11112
+
11113
+ def initialize(**args)
11114
+ update!(**args)
11115
+ end
11116
+
11117
+ # Update properties of this object
11118
+ def update!(**args)
11119
+ @project_id_regex = args[:project_id_regex] if args.key?(:project_id_regex)
11120
+ end
11121
+ end
11122
+
11123
+ # A collection of regular expressions to determine what datasets to match
11124
+ # against.
11125
+ class GooglePrivacyDlpV2VertexDatasetRegexes
11126
+ include Google::Apis::Core::Hashable
11127
+
11128
+ # Required. The group of regular expression patterns to match against one or
11129
+ # more datasets. Maximum of 100 entries. The sum of the lengths of all regular
11130
+ # expressions can't exceed 10 KiB.
11131
+ # Corresponds to the JSON property `patterns`
11132
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegex>]
11133
+ attr_accessor :patterns
11134
+
11135
+ def initialize(**args)
11136
+ update!(**args)
11137
+ end
11138
+
11139
+ # Update properties of this object
11140
+ def update!(**args)
11141
+ @patterns = args[:patterns] if args.key?(:patterns)
11142
+ end
11143
+ end
11144
+
11145
+ # Identifies a single Vertex AI dataset.
11146
+ class GooglePrivacyDlpV2VertexDatasetResourceReference
11147
+ include Google::Apis::Core::Hashable
11148
+
11149
+ # Required. The name of the dataset resource. If set within a project-level
11150
+ # configuration, the specified resource must be within the project.
11151
+ # Corresponds to the JSON property `datasetResourceName`
11152
+ # @return [String]
11153
+ attr_accessor :dataset_resource_name
11154
+
11155
+ def initialize(**args)
11156
+ update!(**args)
11157
+ end
11158
+
11159
+ # Update properties of this object
11160
+ def update!(**args)
11161
+ @dataset_resource_name = args[:dataset_resource_name] if args.key?(:dataset_resource_name)
11162
+ end
11163
+ end
11164
+
10697
11165
  # Message defining a list of words or phrases to search for in the data.
10698
11166
  class GooglePrivacyDlpV2WordList
10699
11167
  include Google::Apis::Core::Hashable
@@ -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.82.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250105"
25
+ REVISION = "20250305"
26
26
  end
27
27
  end
28
28
  end
@@ -430,6 +430,24 @@ module Google
430
430
  include Google::Apis::Core::JsonObjectSupport
431
431
  end
432
432
 
433
+ class GooglePrivacyDlpV2DataProfileFinding
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GooglePrivacyDlpV2DataProfileFindingLocation
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GooglePrivacyDlpV2DataProfileFindingRecordLocation
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
433
451
  class GooglePrivacyDlpV2DataProfileJobConfig
434
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
453
 
@@ -712,6 +730,24 @@ module Google
712
730
  include Google::Apis::Core::JsonObjectSupport
713
731
  end
714
732
 
733
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions
734
+ class Representation < Google::Apis::Core::JsonRepresentation; end
735
+
736
+ include Google::Apis::Core::JsonObjectSupport
737
+ end
738
+
739
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
715
751
  class GooglePrivacyDlpV2DlpJob
716
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
753
 
@@ -856,6 +892,12 @@ module Google
856
892
  include Google::Apis::Core::JsonObjectSupport
857
893
  end
858
894
 
895
+ class GooglePrivacyDlpV2GlobalProcessing
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
859
901
  class GooglePrivacyDlpV2HotwordRule
860
902
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
903
 
@@ -904,6 +946,12 @@ module Google
904
946
  include Google::Apis::Core::JsonObjectSupport
905
947
  end
906
948
 
949
+ class GooglePrivacyDlpV2ImageFallbackLocation
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
907
955
  class GooglePrivacyDlpV2ImageLocation
908
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
957
 
@@ -1252,6 +1300,12 @@ module Google
1252
1300
  include Google::Apis::Core::JsonObjectSupport
1253
1301
  end
1254
1302
 
1303
+ class GooglePrivacyDlpV2MultiRegionProcessing
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1255
1309
  class GooglePrivacyDlpV2NumericalStatsConfig
1256
1310
  class Representation < Google::Apis::Core::JsonRepresentation; end
1257
1311
 
@@ -1348,6 +1402,12 @@ module Google
1348
1402
  include Google::Apis::Core::JsonObjectSupport
1349
1403
  end
1350
1404
 
1405
+ class GooglePrivacyDlpV2ProcessingLocation
1406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1407
+
1408
+ include Google::Apis::Core::JsonObjectSupport
1409
+ end
1410
+
1351
1411
  class GooglePrivacyDlpV2ProfileStatus
1352
1412
  class Representation < Google::Apis::Core::JsonRepresentation; end
1353
1413
 
@@ -1522,6 +1582,12 @@ module Google
1522
1582
  include Google::Apis::Core::JsonObjectSupport
1523
1583
  end
1524
1584
 
1585
+ class GooglePrivacyDlpV2RelatedResource
1586
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1587
+
1588
+ include Google::Apis::Core::JsonObjectSupport
1589
+ end
1590
+
1525
1591
  class GooglePrivacyDlpV2ReplaceDictionaryConfig
1526
1592
  class Representation < Google::Apis::Core::JsonRepresentation; end
1527
1593
 
@@ -1888,6 +1954,36 @@ module Google
1888
1954
  include Google::Apis::Core::JsonObjectSupport
1889
1955
  end
1890
1956
 
1957
+ class GooglePrivacyDlpV2VertexDatasetCollection
1958
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1959
+
1960
+ include Google::Apis::Core::JsonObjectSupport
1961
+ end
1962
+
1963
+ class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget
1964
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1965
+
1966
+ include Google::Apis::Core::JsonObjectSupport
1967
+ end
1968
+
1969
+ class GooglePrivacyDlpV2VertexDatasetRegex
1970
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1971
+
1972
+ include Google::Apis::Core::JsonObjectSupport
1973
+ end
1974
+
1975
+ class GooglePrivacyDlpV2VertexDatasetRegexes
1976
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1977
+
1978
+ include Google::Apis::Core::JsonObjectSupport
1979
+ end
1980
+
1981
+ class GooglePrivacyDlpV2VertexDatasetResourceReference
1982
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1983
+
1984
+ include Google::Apis::Core::JsonObjectSupport
1985
+ end
1986
+
1891
1987
  class GooglePrivacyDlpV2WordList
1892
1988
  class Representation < Google::Apis::Core::JsonRepresentation; end
1893
1989
 
@@ -2639,6 +2735,40 @@ module Google
2639
2735
  end
2640
2736
  end
2641
2737
 
2738
+ class GooglePrivacyDlpV2DataProfileFinding
2739
+ # @private
2740
+ class Representation < Google::Apis::Core::JsonRepresentation
2741
+ property :data_profile_resource_name, as: 'dataProfileResourceName'
2742
+ property :finding_id, as: 'findingId'
2743
+ property :infotype, as: 'infotype', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2744
+
2745
+ property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingLocation::Representation
2746
+
2747
+ property :quote, as: 'quote'
2748
+ property :quote_info, as: 'quoteInfo', class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo::Representation
2749
+
2750
+ property :resource_visibility, as: 'resourceVisibility'
2751
+ property :timestamp, as: 'timestamp'
2752
+ end
2753
+ end
2754
+
2755
+ class GooglePrivacyDlpV2DataProfileFindingLocation
2756
+ # @private
2757
+ class Representation < Google::Apis::Core::JsonRepresentation
2758
+ property :container_name, as: 'containerName'
2759
+ property :data_profile_finding_record_location, as: 'dataProfileFindingRecordLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingRecordLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingRecordLocation::Representation
2760
+
2761
+ end
2762
+ end
2763
+
2764
+ class GooglePrivacyDlpV2DataProfileFindingRecordLocation
2765
+ # @private
2766
+ class Representation < Google::Apis::Core::JsonRepresentation
2767
+ property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
2768
+
2769
+ end
2770
+ end
2771
+
2642
2772
  class GooglePrivacyDlpV2DataProfileJobConfig
2643
2773
  # @private
2644
2774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3020,6 +3150,8 @@ module Google
3020
3150
 
3021
3151
  property :other_cloud_starting_location, as: 'otherCloudStartingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::Representation
3022
3152
 
3153
+ property :processing_location, as: 'processingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProcessingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProcessingLocation::Representation
3154
+
3023
3155
  property :status, as: 'status'
3024
3156
  collection :targets, as: 'targets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget::Representation
3025
3157
 
@@ -3124,6 +3256,37 @@ module Google
3124
3256
 
3125
3257
  property :secrets_target, as: 'secretsTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget::Representation
3126
3258
 
3259
+ property :vertex_dataset_target, as: 'vertexDatasetTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetDiscoveryTarget::Representation
3260
+
3261
+ end
3262
+ end
3263
+
3264
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions
3265
+ # @private
3266
+ class Representation < Google::Apis::Core::JsonRepresentation
3267
+ property :created_after, as: 'createdAfter'
3268
+ property :min_age, as: 'minAge'
3269
+ end
3270
+ end
3271
+
3272
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter
3273
+ # @private
3274
+ class Representation < Google::Apis::Core::JsonRepresentation
3275
+ property :collection, as: 'collection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetCollection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetCollection::Representation
3276
+
3277
+ property :others, as: 'others', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources::Representation
3278
+
3279
+ property :vertex_dataset_resource_reference, as: 'vertexDatasetResourceReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetResourceReference, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetResourceReference::Representation
3280
+
3281
+ end
3282
+ end
3283
+
3284
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence
3285
+ # @private
3286
+ class Representation < Google::Apis::Core::JsonRepresentation
3287
+ property :inspect_template_modified_cadence, as: 'inspectTemplateModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence::Representation
3288
+
3289
+ property :refresh_frequency, as: 'refreshFrequency'
3127
3290
  end
3128
3291
  end
3129
3292
 
@@ -3212,6 +3375,8 @@ module Google
3212
3375
  class Representation < Google::Apis::Core::JsonRepresentation
3213
3376
  property :profile_table, as: 'profileTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3214
3377
 
3378
+ property :sample_findings_table, as: 'sampleFindingsTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3379
+
3215
3380
  end
3216
3381
  end
3217
3382
 
@@ -3324,10 +3489,14 @@ module Google
3324
3489
 
3325
3490
  property :project_data_profile, as: 'projectDataProfile'
3326
3491
  property :project_id, as: 'projectId'
3492
+ collection :related_resources, as: 'relatedResources', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource::Representation
3493
+
3327
3494
  hash :resource_attributes, as: 'resourceAttributes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Value::Representation
3328
3495
 
3329
3496
  hash :resource_labels, as: 'resourceLabels'
3330
3497
  property :resource_visibility, as: 'resourceVisibility'
3498
+ property :sample_findings_table, as: 'sampleFindingsTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3499
+
3331
3500
  property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
3332
3501
 
3333
3502
  property :state, as: 'state'
@@ -3407,6 +3576,12 @@ module Google
3407
3576
  end
3408
3577
  end
3409
3578
 
3579
+ class GooglePrivacyDlpV2GlobalProcessing
3580
+ # @private
3581
+ class Representation < Google::Apis::Core::JsonRepresentation
3582
+ end
3583
+ end
3584
+
3410
3585
  class GooglePrivacyDlpV2HotwordRule
3411
3586
  # @private
3412
3587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3484,6 +3659,16 @@ module Google
3484
3659
  end
3485
3660
  end
3486
3661
 
3662
+ class GooglePrivacyDlpV2ImageFallbackLocation
3663
+ # @private
3664
+ class Representation < Google::Apis::Core::JsonRepresentation
3665
+ property :global_processing, as: 'globalProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing::Representation
3666
+
3667
+ property :multi_region_processing, as: 'multiRegionProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing::Representation
3668
+
3669
+ end
3670
+ end
3671
+
3487
3672
  class GooglePrivacyDlpV2ImageLocation
3488
3673
  # @private
3489
3674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4060,6 +4245,12 @@ module Google
4060
4245
  end
4061
4246
  end
4062
4247
 
4248
+ class GooglePrivacyDlpV2MultiRegionProcessing
4249
+ # @private
4250
+ class Representation < Google::Apis::Core::JsonRepresentation
4251
+ end
4252
+ end
4253
+
4063
4254
  class GooglePrivacyDlpV2NumericalStatsConfig
4064
4255
  # @private
4065
4256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4237,6 +4428,14 @@ module Google
4237
4428
  end
4238
4429
  end
4239
4430
 
4431
+ class GooglePrivacyDlpV2ProcessingLocation
4432
+ # @private
4433
+ class Representation < Google::Apis::Core::JsonRepresentation
4434
+ property :image_fallback_location, as: 'imageFallbackLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation::Representation
4435
+
4436
+ end
4437
+ end
4438
+
4240
4439
  class GooglePrivacyDlpV2ProfileStatus
4241
4440
  # @private
4242
4441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4505,6 +4704,13 @@ module Google
4505
4704
  end
4506
4705
  end
4507
4706
 
4707
+ class GooglePrivacyDlpV2RelatedResource
4708
+ # @private
4709
+ class Representation < Google::Apis::Core::JsonRepresentation
4710
+ property :full_resource, as: 'fullResource'
4711
+ end
4712
+ end
4713
+
4508
4714
  class GooglePrivacyDlpV2ReplaceDictionaryConfig
4509
4715
  # @private
4510
4716
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4793,9 +4999,13 @@ module Google
4793
4999
  property :profile_status, as: 'profileStatus', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus::Representation
4794
5000
 
4795
5001
  property :project_data_profile, as: 'projectDataProfile'
5002
+ collection :related_resources, as: 'relatedResources', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource::Representation
5003
+
4796
5004
  hash :resource_labels, as: 'resourceLabels'
4797
5005
  property :resource_visibility, as: 'resourceVisibility'
4798
5006
  property :row_count, :numeric_string => true, as: 'rowCount'
5007
+ property :sample_findings_table, as: 'sampleFindingsTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
5008
+
4799
5009
  property :scanned_column_count, :numeric_string => true, as: 'scannedColumnCount'
4800
5010
  property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
4801
5011
 
@@ -5110,6 +5320,50 @@ module Google
5110
5320
  end
5111
5321
  end
5112
5322
 
5323
+ class GooglePrivacyDlpV2VertexDatasetCollection
5324
+ # @private
5325
+ class Representation < Google::Apis::Core::JsonRepresentation
5326
+ property :vertex_dataset_regexes, as: 'vertexDatasetRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegexes::Representation
5327
+
5328
+ end
5329
+ end
5330
+
5331
+ class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget
5332
+ # @private
5333
+ class Representation < Google::Apis::Core::JsonRepresentation
5334
+ property :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetConditions::Representation
5335
+
5336
+ property :disabled, as: 'disabled', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled::Representation
5337
+
5338
+ property :filter, as: 'filter', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetFilter::Representation
5339
+
5340
+ property :generation_cadence, as: 'generationCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence::Representation
5341
+
5342
+ end
5343
+ end
5344
+
5345
+ class GooglePrivacyDlpV2VertexDatasetRegex
5346
+ # @private
5347
+ class Representation < Google::Apis::Core::JsonRepresentation
5348
+ property :project_id_regex, as: 'projectIdRegex'
5349
+ end
5350
+ end
5351
+
5352
+ class GooglePrivacyDlpV2VertexDatasetRegexes
5353
+ # @private
5354
+ class Representation < Google::Apis::Core::JsonRepresentation
5355
+ collection :patterns, as: 'patterns', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegex::Representation
5356
+
5357
+ end
5358
+ end
5359
+
5360
+ class GooglePrivacyDlpV2VertexDatasetResourceReference
5361
+ # @private
5362
+ class Representation < Google::Apis::Core::JsonRepresentation
5363
+ property :dataset_resource_name, as: 'datasetResourceName'
5364
+ end
5365
+ end
5366
+
5113
5367
  class GooglePrivacyDlpV2WordList
5114
5368
  # @private
5115
5369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3124,7 +3124,9 @@ module Google
3124
3124
  # sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.
3125
3125
  # When no InfoTypes or CustomInfoTypes are specified in this request, the system
3126
3126
  # will automatically choose what detectors to run. By default this may be all
3127
- # types, but may change over time as detectors are updated.
3127
+ # types, but may change over time as detectors are updated. Only the first frame
3128
+ # of each multiframe image is redacted. Metadata and other frames are omitted in
3129
+ # the response.
3128
3130
  # @param [String] parent
3129
3131
  # Parent resource name. The format of this value varies depending on whether you
3130
3132
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
@@ -4905,7 +4907,9 @@ module Google
4905
4907
  # sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.
4906
4908
  # When no InfoTypes or CustomInfoTypes are specified in this request, the system
4907
4909
  # will automatically choose what detectors to run. By default this may be all
4908
- # types, but may change over time as detectors are updated.
4910
+ # types, but may change over time as detectors are updated. Only the first frame
4911
+ # of each multiframe image is redacted. Metadata and other frames are omitted in
4912
+ # the response.
4909
4913
  # @param [String] parent
4910
4914
  # Parent resource name. The format of this value varies depending on whether you
4911
4915
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-12 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.82.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.84.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.2
76
+ rubygems_version: 3.6.5
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Sensitive Data Protection (DLP) V2
79
79
  test_files: []