google-apis-dlp_v2 0.83.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: 6f56502846dab74926c1035f017753746bacaed9e1c96638ebfe2e618c44d7e1
4
- data.tar.gz: 51c67a7c3e3fb72c7956583f441a0c32b5e7766e1f7a39e4b8551ee3d31b3314
3
+ metadata.gz: d2664ab31912fb0a9efc74b5000cf647ed2b8745822288c754c5effa8b88f820
4
+ data.tar.gz: d3dc70d8fe1235b64f830b65ba543e45e7eb0df5313be416aceb18b72a9eb22f
5
5
  SHA512:
6
- metadata.gz: fd3c37aa5e135990283d9f1314555d7608000eaa652bbb83e25d2a057a6dbe66682e5b81ea74a830e21d4e4b1a00a0f01b150613be43fdecfd33eab00b356711
7
- data.tar.gz: e3a6d159c62a4ede46c60538699066b93f41fad49d07a7ffaf1ff403251fdddbe232418aab40908547f806c5df476f0a4ac964acde6b53a56a294fe112b225a7
6
+ metadata.gz: 7ec8abd9f3b075bcaa9ec2a341e6d349321ce681811c6d5c98bebf804b178763588b4d9df27058a47c709589c0582288aef070b7a040442c9af05d8bf8df3886
7
+ data.tar.gz: f4cb788e275a3d0f950f3900f797b18b4923eb62a9d0e3760a8f27918677035036ed982de8e0dc6dc79388b098f070a4fd98e18debc6fe8ddd44f9fa5e0fb668
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.83.0 (2025-03-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20250226
@@ -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
@@ -4590,6 +4701,13 @@ module Google
4590
4701
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
4591
4702
  attr_accessor :profile_table
4592
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
+
4593
4711
  def initialize(**args)
4594
4712
  update!(**args)
4595
4713
  end
@@ -4597,6 +4715,7 @@ module Google
4597
4715
  # Update properties of this object
4598
4716
  def update!(**args)
4599
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)
4600
4719
  end
4601
4720
  end
4602
4721
 
@@ -4997,6 +5116,13 @@ module Google
4997
5116
  # @return [String]
4998
5117
  attr_accessor :resource_visibility
4999
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
+
5000
5126
  # Score is calculated from of all elements in the data profile. A higher level
5001
5127
  # means the data is more sensitive.
5002
5128
  # Corresponds to the JSON property `sensitivityScore`
@@ -5036,6 +5162,7 @@ module Google
5036
5162
  @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
5037
5163
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
5038
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)
5039
5166
  @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
5040
5167
  @state = args[:state] if args.key?(:state)
5041
5168
  end
@@ -9817,6 +9944,13 @@ module Google
9817
9944
  # @return [Fixnum]
9818
9945
  attr_accessor :row_count
9819
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
+
9820
9954
  # The number of columns profiled in the table.
9821
9955
  # Corresponds to the JSON property `scannedColumnCount`
9822
9956
  # @return [Fixnum]
@@ -9871,6 +10005,7 @@ module Google
9871
10005
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
9872
10006
  @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
9873
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)
9874
10009
  @scanned_column_count = args[:scanned_column_count] if args.key?(:scanned_column_count)
9875
10010
  @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
9876
10011
  @state = args[:state] if args.key?(:state)
@@ -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.83.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 = "20250226"
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
 
@@ -2717,6 +2735,40 @@ module Google
2717
2735
  end
2718
2736
  end
2719
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
+
2720
2772
  class GooglePrivacyDlpV2DataProfileJobConfig
2721
2773
  # @private
2722
2774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3323,6 +3375,8 @@ module Google
3323
3375
  class Representation < Google::Apis::Core::JsonRepresentation
3324
3376
  property :profile_table, as: 'profileTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3325
3377
 
3378
+ property :sample_findings_table, as: 'sampleFindingsTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3379
+
3326
3380
  end
3327
3381
  end
3328
3382
 
@@ -3441,6 +3495,8 @@ module Google
3441
3495
 
3442
3496
  hash :resource_labels, as: 'resourceLabels'
3443
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
+
3444
3500
  property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
3445
3501
 
3446
3502
  property :state, as: 'state'
@@ -4948,6 +5004,8 @@ module Google
4948
5004
  hash :resource_labels, as: 'resourceLabels'
4949
5005
  property :resource_visibility, as: 'resourceVisibility'
4950
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
+
4951
5009
  property :scanned_column_count, :numeric_string => true, as: 'scannedColumnCount'
4952
5010
  property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
4953
5011
 
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.83.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-03-02 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.83.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: