google-apis-dlp_v2 0.83.0 → 0.85.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: 02304f6c078d4f0b8045306f01627630fe83608b86d86cd4847a479b2b7b2266
4
+ data.tar.gz: 9822e5dea55316a8909c14eb303c86ab694b090c301074b56dcecc5842cf7444
5
5
  SHA512:
6
- metadata.gz: fd3c37aa5e135990283d9f1314555d7608000eaa652bbb83e25d2a057a6dbe66682e5b81ea74a830e21d4e4b1a00a0f01b150613be43fdecfd33eab00b356711
7
- data.tar.gz: e3a6d159c62a4ede46c60538699066b93f41fad49d07a7ffaf1ff403251fdddbe232418aab40908547f806c5df476f0a4ac964acde6b53a56a294fe112b225a7
6
+ metadata.gz: 4e86f9ec7e71c608def87c3367621207d74fcf6314b35e446cd3cc3973c5f5ea94c53cb370a79210eb81d7d9a902a351259c9ce456c280b2e94edd10ad807b37
7
+ data.tar.gz: e3f9e6c46e0502bff1d9a66aa8414bc26fcf59d4436ce634c11b6d22678f1762ee9e4e2e58046747533c9e2b0d641b4b65bd9625a1ca1afa37f8a8335d91cc14
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.85.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250309
6
+
7
+ ### v0.84.0 (2025-03-09)
8
+
9
+ * Regenerated from discovery document revision 20250305
10
+
3
11
  ### v0.83.0 (2025-03-02)
4
12
 
5
13
  * 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`
@@ -5008,6 +5134,12 @@ module Google
5008
5134
  # @return [String]
5009
5135
  attr_accessor :state
5010
5136
 
5137
+ # The tags attached to the resource, including any tags attached during
5138
+ # profiling.
5139
+ # Corresponds to the JSON property `tags`
5140
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Tag>]
5141
+ attr_accessor :tags
5142
+
5011
5143
  def initialize(**args)
5012
5144
  update!(**args)
5013
5145
  end
@@ -5036,8 +5168,10 @@ module Google
5036
5168
  @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
5037
5169
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
5038
5170
  @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
5171
+ @sample_findings_table = args[:sample_findings_table] if args.key?(:sample_findings_table)
5039
5172
  @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
5040
5173
  @state = args[:state] if args.key?(:state)
5174
+ @tags = args[:tags] if args.key?(:tags)
5041
5175
  end
5042
5176
  end
5043
5177
 
@@ -5817,6 +5951,15 @@ module Google
5817
5951
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
5818
5952
  attr_accessor :sensitivity_score
5819
5953
 
5954
+ # If this field is set, this infoType is a general infoType and these specific
5955
+ # infoTypes are contained within it. General infoTypes are infoTypes that
5956
+ # encompass multiple specific infoTypes. For example, the "GEOGRAPHIC_DATA"
5957
+ # general infoType would have set for this field "LOCATION", "
5958
+ # LOCATION_COORDINATES", and "STREET_ADDRESS".
5959
+ # Corresponds to the JSON property `specificInfoTypes`
5960
+ # @return [Array<String>]
5961
+ attr_accessor :specific_info_types
5962
+
5820
5963
  # Which parts of the API supports this InfoType.
5821
5964
  # Corresponds to the JSON property `supportedBy`
5822
5965
  # @return [Array<String>]
@@ -5839,6 +5982,7 @@ module Google
5839
5982
  @example = args[:example] if args.key?(:example)
5840
5983
  @name = args[:name] if args.key?(:name)
5841
5984
  @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
5985
+ @specific_info_types = args[:specific_info_types] if args.key?(:specific_info_types)
5842
5986
  @supported_by = args[:supported_by] if args.key?(:supported_by)
5843
5987
  @versions = args[:versions] if args.key?(:versions)
5844
5988
  end
@@ -9817,6 +9961,13 @@ module Google
9817
9961
  # @return [Fixnum]
9818
9962
  attr_accessor :row_count
9819
9963
 
9964
+ # Message defining the location of a BigQuery table. A table is uniquely
9965
+ # identified by its project_id, dataset_id, and table_name. Within a query a
9966
+ # table is often referenced with a string in the format of: `:.` or `..`.
9967
+ # Corresponds to the JSON property `sampleFindingsTable`
9968
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
9969
+ attr_accessor :sample_findings_table
9970
+
9820
9971
  # The number of columns profiled in the table.
9821
9972
  # Corresponds to the JSON property `scannedColumnCount`
9822
9973
  # @return [Fixnum]
@@ -9843,6 +9994,13 @@ module Google
9843
9994
  # @return [Fixnum]
9844
9995
  attr_accessor :table_size_bytes
9845
9996
 
9997
+ # The tags attached to the table, including any tags attached during profiling.
9998
+ # Because tags are attached to Cloud SQL instances rather than Cloud SQL tables,
9999
+ # this field is empty for Cloud SQL table profiles.
10000
+ # Corresponds to the JSON property `tags`
10001
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Tag>]
10002
+ attr_accessor :tags
10003
+
9846
10004
  def initialize(**args)
9847
10005
  update!(**args)
9848
10006
  end
@@ -9871,11 +10029,13 @@ module Google
9871
10029
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
9872
10030
  @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
9873
10031
  @row_count = args[:row_count] if args.key?(:row_count)
10032
+ @sample_findings_table = args[:sample_findings_table] if args.key?(:sample_findings_table)
9874
10033
  @scanned_column_count = args[:scanned_column_count] if args.key?(:scanned_column_count)
9875
10034
  @sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
9876
10035
  @state = args[:state] if args.key?(:state)
9877
10036
  @table_id = args[:table_id] if args.key?(:table_id)
9878
10037
  @table_size_bytes = args[:table_size_bytes] if args.key?(:table_size_bytes)
10038
+ @tags = args[:tags] if args.key?(:tags)
9879
10039
  end
9880
10040
  end
9881
10041
 
@@ -9950,6 +10110,42 @@ module Google
9950
10110
  end
9951
10111
  end
9952
10112
 
10113
+ # A tag associated with a resource.
10114
+ class GooglePrivacyDlpV2Tag
10115
+ include Google::Apis::Core::Hashable
10116
+
10117
+ # The key of a tag key-value pair. For Google Cloud resources, this is the
10118
+ # resource name of the key, for example, "tagKeys/123456".
10119
+ # Corresponds to the JSON property `key`
10120
+ # @return [String]
10121
+ attr_accessor :key
10122
+
10123
+ # The namespaced name for the tag value to attach to Google Cloud resources.
10124
+ # Must be in the format ``parent_id`/`tag_key_short_name`/`short_name``, for
10125
+ # example, "123456/environment/prod". This is only set for Google Cloud
10126
+ # resources.
10127
+ # Corresponds to the JSON property `namespacedTagValue`
10128
+ # @return [String]
10129
+ attr_accessor :namespaced_tag_value
10130
+
10131
+ # The value of a tag key-value pair. For Google Cloud resources, this is the
10132
+ # resource name of the value, for example, "tagValues/123456".
10133
+ # Corresponds to the JSON property `value`
10134
+ # @return [String]
10135
+ attr_accessor :value
10136
+
10137
+ def initialize(**args)
10138
+ update!(**args)
10139
+ end
10140
+
10141
+ # Update properties of this object
10142
+ def update!(**args)
10143
+ @key = args[:key] if args.key?(:key)
10144
+ @namespaced_tag_value = args[:namespaced_tag_value] if args.key?(:namespaced_tag_value)
10145
+ @value = args[:value] if args.key?(:value)
10146
+ end
10147
+ end
10148
+
9953
10149
  # The tag to attach to profiles matching the condition. At most one `
9954
10150
  # TagCondition` can be specified per sensitivity level.
9955
10151
  class GooglePrivacyDlpV2TagCondition
@@ -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.85.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 = "20250309"
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
 
@@ -1762,6 +1780,12 @@ module Google
1762
1780
  include Google::Apis::Core::JsonObjectSupport
1763
1781
  end
1764
1782
 
1783
+ class GooglePrivacyDlpV2Tag
1784
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1785
+
1786
+ include Google::Apis::Core::JsonObjectSupport
1787
+ end
1788
+
1765
1789
  class GooglePrivacyDlpV2TagCondition
1766
1790
  class Representation < Google::Apis::Core::JsonRepresentation; end
1767
1791
 
@@ -2717,6 +2741,40 @@ module Google
2717
2741
  end
2718
2742
  end
2719
2743
 
2744
+ class GooglePrivacyDlpV2DataProfileFinding
2745
+ # @private
2746
+ class Representation < Google::Apis::Core::JsonRepresentation
2747
+ property :data_profile_resource_name, as: 'dataProfileResourceName'
2748
+ property :finding_id, as: 'findingId'
2749
+ property :infotype, as: 'infotype', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
2750
+
2751
+ property :location, as: 'location', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingLocation::Representation
2752
+
2753
+ property :quote, as: 'quote'
2754
+ property :quote_info, as: 'quoteInfo', class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2QuoteInfo::Representation
2755
+
2756
+ property :resource_visibility, as: 'resourceVisibility'
2757
+ property :timestamp, as: 'timestamp'
2758
+ end
2759
+ end
2760
+
2761
+ class GooglePrivacyDlpV2DataProfileFindingLocation
2762
+ # @private
2763
+ class Representation < Google::Apis::Core::JsonRepresentation
2764
+ property :container_name, as: 'containerName'
2765
+ property :data_profile_finding_record_location, as: 'dataProfileFindingRecordLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingRecordLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileFindingRecordLocation::Representation
2766
+
2767
+ end
2768
+ end
2769
+
2770
+ class GooglePrivacyDlpV2DataProfileFindingRecordLocation
2771
+ # @private
2772
+ class Representation < Google::Apis::Core::JsonRepresentation
2773
+ property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
2774
+
2775
+ end
2776
+ end
2777
+
2720
2778
  class GooglePrivacyDlpV2DataProfileJobConfig
2721
2779
  # @private
2722
2780
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3323,6 +3381,8 @@ module Google
3323
3381
  class Representation < Google::Apis::Core::JsonRepresentation
3324
3382
  property :profile_table, as: 'profileTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3325
3383
 
3384
+ property :sample_findings_table, as: 'sampleFindingsTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3385
+
3326
3386
  end
3327
3387
  end
3328
3388
 
@@ -3441,9 +3501,13 @@ module Google
3441
3501
 
3442
3502
  hash :resource_labels, as: 'resourceLabels'
3443
3503
  property :resource_visibility, as: 'resourceVisibility'
3504
+ property :sample_findings_table, as: 'sampleFindingsTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3505
+
3444
3506
  property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
3445
3507
 
3446
3508
  property :state, as: 'state'
3509
+ collection :tags, as: 'tags', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Tag, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Tag::Representation
3510
+
3447
3511
  end
3448
3512
  end
3449
3513
 
@@ -3684,6 +3748,7 @@ module Google
3684
3748
  property :name, as: 'name'
3685
3749
  property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
3686
3750
 
3751
+ collection :specific_info_types, as: 'specificInfoTypes'
3687
3752
  collection :supported_by, as: 'supportedBy'
3688
3753
  collection :versions, as: 'versions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription::Representation
3689
3754
 
@@ -4948,12 +5013,16 @@ module Google
4948
5013
  hash :resource_labels, as: 'resourceLabels'
4949
5014
  property :resource_visibility, as: 'resourceVisibility'
4950
5015
  property :row_count, :numeric_string => true, as: 'rowCount'
5016
+ property :sample_findings_table, as: 'sampleFindingsTable', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
5017
+
4951
5018
  property :scanned_column_count, :numeric_string => true, as: 'scannedColumnCount'
4952
5019
  property :sensitivity_score, as: 'sensitivityScore', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore::Representation
4953
5020
 
4954
5021
  property :state, as: 'state'
4955
5022
  property :table_id, as: 'tableId'
4956
5023
  property :table_size_bytes, :numeric_string => true, as: 'tableSizeBytes'
5024
+ collection :tags, as: 'tags', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Tag, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Tag::Representation
5025
+
4957
5026
  end
4958
5027
  end
4959
5028
 
@@ -4980,6 +5049,15 @@ module Google
4980
5049
  end
4981
5050
  end
4982
5051
 
5052
+ class GooglePrivacyDlpV2Tag
5053
+ # @private
5054
+ class Representation < Google::Apis::Core::JsonRepresentation
5055
+ property :key, as: 'key'
5056
+ property :namespaced_tag_value, as: 'namespacedTagValue'
5057
+ property :value, as: 'value'
5058
+ end
5059
+ end
5060
+
4983
5061
  class GooglePrivacyDlpV2TagCondition
4984
5062
  # @private
4985
5063
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1482,6 +1482,50 @@ module Google
1482
1482
  execute_or_queue_command(command, &block)
1483
1483
  end
1484
1484
 
1485
+ # Returns a list of the sensitive information types that the DLP API supports.
1486
+ # See https://cloud.google.com/sensitive-data-protection/docs/infotypes-
1487
+ # reference to learn more.
1488
+ # @param [String] parent
1489
+ # The parent resource name. The format of this value is as follows: `locations/`
1490
+ # location_id``
1491
+ # @param [String] filter
1492
+ # filter to only return infoTypes supported by certain parts of the API.
1493
+ # Defaults to supported_by=INSPECT.
1494
+ # @param [String] language_code
1495
+ # BCP-47 language code for localized infoType friendly names. If omitted, or if
1496
+ # localized strings are not available, en-US strings will be returned.
1497
+ # @param [String] location_id
1498
+ # Deprecated. This field has no effect.
1499
+ # @param [String] fields
1500
+ # Selector specifying which fields to include in a partial response.
1501
+ # @param [String] quota_user
1502
+ # Available to use for quota purposes for server-side applications. Can be any
1503
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1504
+ # @param [Google::Apis::RequestOptions] options
1505
+ # Request-specific options
1506
+ #
1507
+ # @yield [result, err] Result & error if block supplied
1508
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse] parsed result object
1509
+ # @yieldparam err [StandardError] error object if request failed
1510
+ #
1511
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse]
1512
+ #
1513
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1514
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1515
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1516
+ def list_organization_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1517
+ command = make_simple_command(:get, 'v2/{+parent}/infoTypes', options)
1518
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
1519
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
1520
+ command.params['parent'] = parent unless parent.nil?
1521
+ command.query['filter'] = filter unless filter.nil?
1522
+ command.query['languageCode'] = language_code unless language_code.nil?
1523
+ command.query['locationId'] = location_id unless location_id.nil?
1524
+ command.query['fields'] = fields unless fields.nil?
1525
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1526
+ execute_or_queue_command(command, &block)
1527
+ end
1528
+
1485
1529
  # Creates an InspectTemplate for reusing frequently used configuration for
1486
1530
  # inspecting content, images, and storage. See https://cloud.google.com/
1487
1531
  # sensitive-data-protection/docs/creating-templates to learn more.
@@ -4949,6 +4993,50 @@ module Google
4949
4993
  execute_or_queue_command(command, &block)
4950
4994
  end
4951
4995
 
4996
+ # Returns a list of the sensitive information types that the DLP API supports.
4997
+ # See https://cloud.google.com/sensitive-data-protection/docs/infotypes-
4998
+ # reference to learn more.
4999
+ # @param [String] parent
5000
+ # The parent resource name. The format of this value is as follows: `locations/`
5001
+ # location_id``
5002
+ # @param [String] filter
5003
+ # filter to only return infoTypes supported by certain parts of the API.
5004
+ # Defaults to supported_by=INSPECT.
5005
+ # @param [String] language_code
5006
+ # BCP-47 language code for localized infoType friendly names. If omitted, or if
5007
+ # localized strings are not available, en-US strings will be returned.
5008
+ # @param [String] location_id
5009
+ # Deprecated. This field has no effect.
5010
+ # @param [String] fields
5011
+ # Selector specifying which fields to include in a partial response.
5012
+ # @param [String] quota_user
5013
+ # Available to use for quota purposes for server-side applications. Can be any
5014
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5015
+ # @param [Google::Apis::RequestOptions] options
5016
+ # Request-specific options
5017
+ #
5018
+ # @yield [result, err] Result & error if block supplied
5019
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse] parsed result object
5020
+ # @yieldparam err [StandardError] error object if request failed
5021
+ #
5022
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse]
5023
+ #
5024
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5025
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5026
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5027
+ def list_project_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5028
+ command = make_simple_command(:get, 'v2/{+parent}/infoTypes', options)
5029
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
5030
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
5031
+ command.params['parent'] = parent unless parent.nil?
5032
+ command.query['filter'] = filter unless filter.nil?
5033
+ command.query['languageCode'] = language_code unless language_code.nil?
5034
+ command.query['locationId'] = location_id unless location_id.nil?
5035
+ command.query['fields'] = fields unless fields.nil?
5036
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5037
+ execute_or_queue_command(command, &block)
5038
+ end
5039
+
4952
5040
  # Creates an InspectTemplate for reusing frequently used configuration for
4953
5041
  # inspecting content, images, and storage. See https://cloud.google.com/
4954
5042
  # sensitive-data-protection/docs/creating-templates to learn more.
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.85.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-16 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.85.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: