google-apis-dlp_v2 0.91.0 → 0.93.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: 12870a9f9c38951b850cd92f1450ae708c0dd6d1b0ea28263f8640ff79566a9d
4
- data.tar.gz: d9cb43640e4253b9d0425db3bea9823eba8fe9834245673698fdd789dbc7852a
3
+ metadata.gz: 47bbc3ef12902185c8d6de81014baec471c93a2820b7167b357fcc571ea9c5ba
4
+ data.tar.gz: cca180ced4dac9d041f8d4e3719abf42d2976cd4c5bb199dfe7a820eb5166e2b
5
5
  SHA512:
6
- metadata.gz: 7789bbe0b639239d6f6af6bcd84d755ecd2bc983c73905b09b37031d908a726bf671e4a21d62052be65bcc435ef1d58889b72acd5ace7d87d866d351907d01dd
7
- data.tar.gz: c03a996e7f2e2201777a01137aa11fd563a26cd5dd04a3cbe8a38ae5fabc8c6feff4f366c9581d43f579ebe3bcf4c2127f77c0dcc57812d7362af9ffd94d75b2
6
+ metadata.gz: f045c18303bf59cf5da8b3415882f2ec7bd7e669f080f468c60890264e8176f0b58952f4c79fa4967d95be1e5108faae906e66756975d7cdf2290cddd63cd9e2
7
+ data.tar.gz: a68393e7d10f6f94d08883aeb939f09c6ab5b2c4b5aaeed0b8d89cfc7979585bec8452716e43bedf4ae3461757cc4ba682c21a8f7c757b97390c4d92b7cba3a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.93.0 (2025-07-27)
4
+
5
+ * Regenerated from discovery document revision 20250720
6
+
7
+ ### v0.92.0 (2025-07-06)
8
+
9
+ * Regenerated from discovery document revision 20250629
10
+
3
11
  ### v0.91.0 (2025-06-29)
4
12
 
5
13
  * Regenerated from discovery document revision 20250615
@@ -4500,6 +4500,33 @@ module Google
4500
4500
  end
4501
4501
  end
4502
4502
 
4503
+ # Configure document processing to fall back to any of the following processing
4504
+ # options if document processing is unavailable in the original request location.
4505
+ class GooglePrivacyDlpV2DocumentFallbackLocation
4506
+ include Google::Apis::Core::Hashable
4507
+
4508
+ # Processing occurs in the global region.
4509
+ # Corresponds to the JSON property `globalProcessing`
4510
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing]
4511
+ attr_accessor :global_processing
4512
+
4513
+ # Processing occurs in a multi-region that contains the current region if
4514
+ # available.
4515
+ # Corresponds to the JSON property `multiRegionProcessing`
4516
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing]
4517
+ attr_accessor :multi_region_processing
4518
+
4519
+ def initialize(**args)
4520
+ update!(**args)
4521
+ end
4522
+
4523
+ # Update properties of this object
4524
+ def update!(**args)
4525
+ @global_processing = args[:global_processing] if args.key?(:global_processing)
4526
+ @multi_region_processing = args[:multi_region_processing] if args.key?(:multi_region_processing)
4527
+ end
4528
+ end
4529
+
4503
4530
  # Location of a finding within a document.
4504
4531
  class GooglePrivacyDlpV2DocumentLocation
4505
4532
  include Google::Apis::Core::Hashable
@@ -4520,6 +4547,31 @@ module Google
4520
4547
  end
4521
4548
  end
4522
4549
 
4550
+ # A domain represents a thematic category that a data profile can fall under.
4551
+ class GooglePrivacyDlpV2Domain
4552
+ include Google::Apis::Core::Hashable
4553
+
4554
+ # A domain category that this profile is related to.
4555
+ # Corresponds to the JSON property `category`
4556
+ # @return [String]
4557
+ attr_accessor :category
4558
+
4559
+ # The collection of signals that influenced selection of the category.
4560
+ # Corresponds to the JSON property `signals`
4561
+ # @return [Array<String>]
4562
+ attr_accessor :signals
4563
+
4564
+ def initialize(**args)
4565
+ update!(**args)
4566
+ end
4567
+
4568
+ # Update properties of this object
4569
+ def update!(**args)
4570
+ @category = args[:category] if args.key?(:category)
4571
+ @signals = args[:signals] if args.key?(:signals)
4572
+ end
4573
+ end
4574
+
4523
4575
  # An entity in a dataset is a field or set of fields that correspond to a single
4524
4576
  # person. For example, in medical records the `EntityId` might be a patient
4525
4577
  # identifier, or for financial records it might be an account identifier. This
@@ -5025,6 +5077,11 @@ module Google
5025
5077
  # @return [Array<String>]
5026
5078
  attr_accessor :data_storage_locations
5027
5079
 
5080
+ # Domains associated with the profile.
5081
+ # Corresponds to the JSON property `domains`
5082
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Domain>]
5083
+ attr_accessor :domains
5084
+
5028
5085
  # FileClusterSummary per each cluster.
5029
5086
  # Corresponds to the JSON property `fileClusterSummaries`
5030
5087
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterSummary>]
@@ -5159,6 +5216,7 @@ module Google
5159
5216
  @data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
5160
5217
  @data_source_type = args[:data_source_type] if args.key?(:data_source_type)
5161
5218
  @data_storage_locations = args[:data_storage_locations] if args.key?(:data_storage_locations)
5219
+ @domains = args[:domains] if args.key?(:domains)
5162
5220
  @file_cluster_summaries = args[:file_cluster_summaries] if args.key?(:file_cluster_summaries)
5163
5221
  @file_store_info_type_summaries = args[:file_store_info_type_summaries] if args.key?(:file_store_info_type_summaries)
5164
5222
  @file_store_is_empty = args[:file_store_is_empty] if args.key?(:file_store_is_empty)
@@ -5456,7 +5514,7 @@ module Google
5456
5514
  end
5457
5515
  end
5458
5516
 
5459
- # Processing will happen in the global region.
5517
+ # Processing occurs in the global region.
5460
5518
  class GooglePrivacyDlpV2GlobalProcessing
5461
5519
  include Google::Apis::Core::Hashable
5462
5520
 
@@ -5719,17 +5777,17 @@ module Google
5719
5777
  end
5720
5778
  end
5721
5779
 
5722
- # Configure image processing to fall back to the configured processing option
5723
- # below if unavailable in the request location.
5780
+ # Configure image processing to fall back to any of the following processing
5781
+ # options if image processing is unavailable in the original request location.
5724
5782
  class GooglePrivacyDlpV2ImageFallbackLocation
5725
5783
  include Google::Apis::Core::Hashable
5726
5784
 
5727
- # Processing will happen in the global region.
5785
+ # Processing occurs in the global region.
5728
5786
  # Corresponds to the JSON property `globalProcessing`
5729
5787
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing]
5730
5788
  attr_accessor :global_processing
5731
5789
 
5732
- # Processing will happen in a multi-region that contains the current region if
5790
+ # Processing occurs in a multi-region that contains the current region if
5733
5791
  # available.
5734
5792
  # Corresponds to the JSON property `multiRegionProcessing`
5735
5793
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing]
@@ -6313,7 +6371,7 @@ module Google
6313
6371
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedOptions]
6314
6372
  attr_accessor :requested_options
6315
6373
 
6316
- # All result fields mentioned below are updated while the job is processing.
6374
+ # All Result fields are updated while the job is processing.
6317
6375
  # Corresponds to the JSON property `result`
6318
6376
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Result]
6319
6377
  attr_accessor :result
@@ -7564,7 +7622,7 @@ module Google
7564
7622
  end
7565
7623
  end
7566
7624
 
7567
- # Processing will happen in a multi-region that contains the current region if
7625
+ # Processing occurs in a multi-region that contains the current region if
7568
7626
  # available.
7569
7627
  class GooglePrivacyDlpV2MultiRegionProcessing
7570
7628
  include Google::Apis::Core::Hashable
@@ -8169,8 +8227,14 @@ module Google
8169
8227
  class GooglePrivacyDlpV2ProcessingLocation
8170
8228
  include Google::Apis::Core::Hashable
8171
8229
 
8172
- # Configure image processing to fall back to the configured processing option
8173
- # below if unavailable in the request location.
8230
+ # Configure document processing to fall back to any of the following processing
8231
+ # options if document processing is unavailable in the original request location.
8232
+ # Corresponds to the JSON property `documentFallbackLocation`
8233
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentFallbackLocation]
8234
+ attr_accessor :document_fallback_location
8235
+
8236
+ # Configure image processing to fall back to any of the following processing
8237
+ # options if image processing is unavailable in the original request location.
8174
8238
  # Corresponds to the JSON property `imageFallbackLocation`
8175
8239
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation]
8176
8240
  attr_accessor :image_fallback_location
@@ -8181,6 +8245,7 @@ module Google
8181
8245
 
8182
8246
  # Update properties of this object
8183
8247
  def update!(**args)
8248
+ @document_fallback_location = args[:document_fallback_location] if args.key?(:document_fallback_location)
8184
8249
  @image_fallback_location = args[:image_fallback_location] if args.key?(:image_fallback_location)
8185
8250
  end
8186
8251
  end
@@ -8545,7 +8610,7 @@ module Google
8545
8610
 
8546
8611
  # A column can be tagged with a custom tag. In this case, the user must indicate
8547
8612
  # an auxiliary table that contains statistical information on the possible
8548
- # values of this column (below).
8613
+ # values of this column.
8549
8614
  # Corresponds to the JSON property `customTag`
8550
8615
  # @return [String]
8551
8616
  attr_accessor :custom_tag
@@ -8614,7 +8679,7 @@ module Google
8614
8679
 
8615
8680
  # A column can be tagged with a custom tag. In this case, the user must indicate
8616
8681
  # an auxiliary table that contains statistical information on the possible
8617
- # values of this column (below).
8682
+ # values of this column.
8618
8683
  # Corresponds to the JSON property `customTag`
8619
8684
  # @return [String]
8620
8685
  attr_accessor :custom_tag
@@ -9205,7 +9270,7 @@ module Google
9205
9270
  end
9206
9271
  end
9207
9272
 
9208
- # All result fields mentioned below are updated while the job is processing.
9273
+ # All Result fields are updated while the job is processing.
9209
9274
  class GooglePrivacyDlpV2Result
9210
9275
  include Google::Apis::Core::Hashable
9211
9276
 
@@ -9938,6 +10003,11 @@ module Google
9938
10003
  # @return [String]
9939
10004
  attr_accessor :dataset_project_id
9940
10005
 
10006
+ # Domains associated with the profile.
10007
+ # Corresponds to the JSON property `domains`
10008
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Domain>]
10009
+ attr_accessor :domains
10010
+
9941
10011
  # How the table is encrypted.
9942
10012
  # Corresponds to the JSON property `encryptionStatus`
9943
10013
  # @return [String]
@@ -10034,7 +10104,8 @@ module Google
10034
10104
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
10035
10105
  attr_accessor :sensitivity_score
10036
10106
 
10037
- # State of a profile.
10107
+ # State of a profile. This will always be set to DONE when the table data
10108
+ # profile is written to another service like BigQuery or Pub/Sub.
10038
10109
  # Corresponds to the JSON property `state`
10039
10110
  # @return [String]
10040
10111
  attr_accessor :state
@@ -10069,6 +10140,7 @@ module Google
10069
10140
  @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
10070
10141
  @dataset_location = args[:dataset_location] if args.key?(:dataset_location)
10071
10142
  @dataset_project_id = args[:dataset_project_id] if args.key?(:dataset_project_id)
10143
+ @domains = args[:domains] if args.key?(:domains)
10072
10144
  @encryption_status = args[:encryption_status] if args.key?(:encryption_status)
10073
10145
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
10074
10146
  @failed_column_count = args[:failed_column_count] if args.key?(:failed_column_count)
@@ -10310,7 +10382,7 @@ module Google
10310
10382
 
10311
10383
  # A column can be tagged with a custom tag. In this case, the user must indicate
10312
10384
  # an auxiliary table that contains statistical information on the possible
10313
- # values of this column (below).
10385
+ # values of this column.
10314
10386
  # Corresponds to the JSON property `customTag`
10315
10387
  # @return [String]
10316
10388
  attr_accessor :custom_tag
@@ -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.91.0"
19
+ GEM_VERSION = "0.93.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250615"
25
+ REVISION = "20250720"
26
26
  end
27
27
  end
28
28
  end
@@ -754,12 +754,24 @@ module Google
754
754
  include Google::Apis::Core::JsonObjectSupport
755
755
  end
756
756
 
757
+ class GooglePrivacyDlpV2DocumentFallbackLocation
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
757
763
  class GooglePrivacyDlpV2DocumentLocation
758
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
765
 
760
766
  include Google::Apis::Core::JsonObjectSupport
761
767
  end
762
768
 
769
+ class GooglePrivacyDlpV2Domain
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
763
775
  class GooglePrivacyDlpV2EntityId
764
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
765
777
 
@@ -3335,6 +3347,16 @@ module Google
3335
3347
  end
3336
3348
  end
3337
3349
 
3350
+ class GooglePrivacyDlpV2DocumentFallbackLocation
3351
+ # @private
3352
+ class Representation < Google::Apis::Core::JsonRepresentation
3353
+ property :global_processing, as: 'globalProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing::Representation
3354
+
3355
+ property :multi_region_processing, as: 'multiRegionProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing::Representation
3356
+
3357
+ end
3358
+ end
3359
+
3338
3360
  class GooglePrivacyDlpV2DocumentLocation
3339
3361
  # @private
3340
3362
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3342,6 +3364,14 @@ module Google
3342
3364
  end
3343
3365
  end
3344
3366
 
3367
+ class GooglePrivacyDlpV2Domain
3368
+ # @private
3369
+ class Representation < Google::Apis::Core::JsonRepresentation
3370
+ property :category, as: 'category'
3371
+ collection :signals, as: 'signals'
3372
+ end
3373
+ end
3374
+
3345
3375
  class GooglePrivacyDlpV2EntityId
3346
3376
  # @private
3347
3377
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3496,6 +3526,8 @@ module Google
3496
3526
  property :data_source_type, as: 'dataSourceType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType::Representation
3497
3527
 
3498
3528
  collection :data_storage_locations, as: 'dataStorageLocations'
3529
+ collection :domains, as: 'domains', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Domain, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Domain::Representation
3530
+
3499
3531
  collection :file_cluster_summaries, as: 'fileClusterSummaries', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterSummary::Representation
3500
3532
 
3501
3533
  collection :file_store_info_type_summaries, as: 'fileStoreInfoTypeSummaries', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary::Representation
@@ -4457,6 +4489,8 @@ module Google
4457
4489
  class GooglePrivacyDlpV2ProcessingLocation
4458
4490
  # @private
4459
4491
  class Representation < Google::Apis::Core::JsonRepresentation
4492
+ property :document_fallback_location, as: 'documentFallbackLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentFallbackLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentFallbackLocation::Representation
4493
+
4460
4494
  property :image_fallback_location, as: 'imageFallbackLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation::Representation
4461
4495
 
4462
4496
  end
@@ -5026,6 +5060,8 @@ module Google
5026
5060
  property :dataset_id, as: 'datasetId'
5027
5061
  property :dataset_location, as: 'datasetLocation'
5028
5062
  property :dataset_project_id, as: 'datasetProjectId'
5063
+ collection :domains, as: 'domains', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Domain, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Domain::Representation
5064
+
5029
5065
  property :encryption_status, as: 'encryptionStatus'
5030
5066
  property :expiration_time, as: 'expirationTime'
5031
5067
  property :failed_column_count, :numeric_string => true, as: 'failedColumnCount'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.93.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.91.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.93.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: