google-apis-dlp_v2 0.82.0 → 0.83.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: 6f56502846dab74926c1035f017753746bacaed9e1c96638ebfe2e618c44d7e1
4
+ data.tar.gz: 51c67a7c3e3fb72c7956583f441a0c32b5e7766e1f7a39e4b8551ee3d31b3314
5
5
  SHA512:
6
- metadata.gz: 027ce2a2ec7b552460fc7135e6d20934632a7991bb9ba1df4aac1619bfb02e1bead483bc2f121cecc78b9f1df6fd2c8ca07a55eaa6f9b019112271e606d39010
7
- data.tar.gz: 0da80c82e5378718ae9840600128889e76e51f225056d4a6d11602bbff1337b340cac598825e8d30d6a80a3289ba849585ae107349150d61328444aa39d472a9
6
+ metadata.gz: fd3c37aa5e135990283d9f1314555d7608000eaa652bbb83e25d2a057a6dbe66682e5b81ea74a830e21d4e4b1a00a0f01b150613be43fdecfd33eab00b356711
7
+ data.tar.gz: e3a6d159c62a4ede46c60538699066b93f41fad49d07a7ffaf1ff403251fdddbe232418aab40908547f806c5df476f0a4ac964acde6b53a56a294fe112b225a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.83.0 (2025-03-02)
4
+
5
+ * Regenerated from discovery document revision 20250226
6
+
3
7
  ### v0.82.0 (2025-01-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20250105
@@ -3840,6 +3840,13 @@ module Google
3840
3840
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation]
3841
3841
  attr_accessor :other_cloud_starting_location
3842
3842
 
3843
+ # Configure processing location for discovery and inspection. For example, image
3844
+ # OCR is only provided in limited regions but configuring ProcessingLocation
3845
+ # will redirect OCR to a location where OCR is provided.
3846
+ # Corresponds to the JSON property `processingLocation`
3847
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProcessingLocation]
3848
+ attr_accessor :processing_location
3849
+
3843
3850
  # Required. A status for this configuration.
3844
3851
  # Corresponds to the JSON property `status`
3845
3852
  # @return [String]
@@ -3870,6 +3877,7 @@ module Google
3870
3877
  @name = args[:name] if args.key?(:name)
3871
3878
  @org_config = args[:org_config] if args.key?(:org_config)
3872
3879
  @other_cloud_starting_location = args[:other_cloud_starting_location] if args.key?(:other_cloud_starting_location)
3880
+ @processing_location = args[:processing_location] if args.key?(:processing_location)
3873
3881
  @status = args[:status] if args.key?(:status)
3874
3882
  @targets = args[:targets] if args.key?(:targets)
3875
3883
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -4180,6 +4188,11 @@ module Google
4180
4188
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget]
4181
4189
  attr_accessor :secrets_target
4182
4190
 
4191
+ # Target used to match against for discovery with Vertex AI datasets.
4192
+ # Corresponds to the JSON property `vertexDatasetTarget`
4193
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetDiscoveryTarget]
4194
+ attr_accessor :vertex_dataset_target
4195
+
4183
4196
  def initialize(**args)
4184
4197
  update!(**args)
4185
4198
  end
@@ -4191,6 +4204,95 @@ module Google
4191
4204
  @cloud_storage_target = args[:cloud_storage_target] if args.key?(:cloud_storage_target)
4192
4205
  @other_cloud_target = args[:other_cloud_target] if args.key?(:other_cloud_target)
4193
4206
  @secrets_target = args[:secrets_target] if args.key?(:secrets_target)
4207
+ @vertex_dataset_target = args[:vertex_dataset_target] if args.key?(:vertex_dataset_target)
4208
+ end
4209
+ end
4210
+
4211
+ # Requirements that must be true before a dataset is profiled for the first time.
4212
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions
4213
+ include Google::Apis::Core::Hashable
4214
+
4215
+ # Vertex AI dataset must have been created after this date. Used to avoid
4216
+ # backfilling.
4217
+ # Corresponds to the JSON property `createdAfter`
4218
+ # @return [String]
4219
+ attr_accessor :created_after
4220
+
4221
+ # Minimum age a Vertex AI dataset must have. If set, the value must be 1 hour or
4222
+ # greater.
4223
+ # Corresponds to the JSON property `minAge`
4224
+ # @return [String]
4225
+ attr_accessor :min_age
4226
+
4227
+ def initialize(**args)
4228
+ update!(**args)
4229
+ end
4230
+
4231
+ # Update properties of this object
4232
+ def update!(**args)
4233
+ @created_after = args[:created_after] if args.key?(:created_after)
4234
+ @min_age = args[:min_age] if args.key?(:min_age)
4235
+ end
4236
+ end
4237
+
4238
+ # Determines what datasets will have profiles generated within an organization
4239
+ # or project. Includes the ability to filter by regular expression patterns on
4240
+ # project ID or dataset regex.
4241
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter
4242
+ include Google::Apis::Core::Hashable
4243
+
4244
+ # Match dataset resources using regex filters.
4245
+ # Corresponds to the JSON property `collection`
4246
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetCollection]
4247
+ attr_accessor :collection
4248
+
4249
+ # Match discovery resources not covered by any other filter.
4250
+ # Corresponds to the JSON property `others`
4251
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources]
4252
+ attr_accessor :others
4253
+
4254
+ # Identifies a single Vertex AI dataset.
4255
+ # Corresponds to the JSON property `vertexDatasetResourceReference`
4256
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetResourceReference]
4257
+ attr_accessor :vertex_dataset_resource_reference
4258
+
4259
+ def initialize(**args)
4260
+ update!(**args)
4261
+ end
4262
+
4263
+ # Update properties of this object
4264
+ def update!(**args)
4265
+ @collection = args[:collection] if args.key?(:collection)
4266
+ @others = args[:others] if args.key?(:others)
4267
+ @vertex_dataset_resource_reference = args[:vertex_dataset_resource_reference] if args.key?(:vertex_dataset_resource_reference)
4268
+ end
4269
+ end
4270
+
4271
+ # How often existing datasets should have their profiles refreshed. New datasets
4272
+ # are scanned as quickly as possible depending on system capacity.
4273
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence
4274
+ include Google::Apis::Core::Hashable
4275
+
4276
+ # The cadence at which to update data profiles when the inspection rules defined
4277
+ # by the `InspectTemplate` change.
4278
+ # Corresponds to the JSON property `inspectTemplateModifiedCadence`
4279
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence]
4280
+ attr_accessor :inspect_template_modified_cadence
4281
+
4282
+ # If you set this field, profiles are refreshed at this frequency regardless of
4283
+ # whether the underlying datasets have changed. Defaults to never.
4284
+ # Corresponds to the JSON property `refreshFrequency`
4285
+ # @return [String]
4286
+ attr_accessor :refresh_frequency
4287
+
4288
+ def initialize(**args)
4289
+ update!(**args)
4290
+ end
4291
+
4292
+ # Update properties of this object
4293
+ def update!(**args)
4294
+ @inspect_template_modified_cadence = args[:inspect_template_modified_cadence] if args.key?(:inspect_template_modified_cadence)
4295
+ @refresh_frequency = args[:refresh_frequency] if args.key?(:refresh_frequency)
4194
4296
  end
4195
4297
  end
4196
4298
 
@@ -4821,7 +4923,8 @@ module Google
4821
4923
  attr_accessor :file_store_location
4822
4924
 
4823
4925
  # The file store path. * Cloud Storage: `gs://`bucket`` * Amazon S3: `s3://`
4824
- # bucket``
4926
+ # bucket`` * Vertex AI dataset: `projects/`project_number`/locations/`location`/
4927
+ # datasets/`dataset_id``
4825
4928
  # Corresponds to the JSON property `fileStorePath`
4826
4929
  # @return [String]
4827
4930
  attr_accessor :file_store_path
@@ -4871,6 +4974,11 @@ module Google
4871
4974
  # @return [String]
4872
4975
  attr_accessor :project_id
4873
4976
 
4977
+ # Resources related to this profile.
4978
+ # Corresponds to the JSON property `relatedResources`
4979
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource>]
4980
+ attr_accessor :related_resources
4981
+
4874
4982
  # Attributes of the resource being profiled. Currently used attributes: *
4875
4983
  # customer_managed_encryption: boolean - true: the resource is encrypted with a
4876
4984
  # customer-managed key. - false: the resource is encrypted with a provider-
@@ -4924,6 +5032,7 @@ module Google
4924
5032
  @profile_status = args[:profile_status] if args.key?(:profile_status)
4925
5033
  @project_data_profile = args[:project_data_profile] if args.key?(:project_data_profile)
4926
5034
  @project_id = args[:project_id] if args.key?(:project_id)
5035
+ @related_resources = args[:related_resources] if args.key?(:related_resources)
4927
5036
  @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4928
5037
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
4929
5038
  @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
@@ -5205,6 +5314,19 @@ module Google
5205
5314
  end
5206
5315
  end
5207
5316
 
5317
+ # Processing will happen in the global region.
5318
+ class GooglePrivacyDlpV2GlobalProcessing
5319
+ include Google::Apis::Core::Hashable
5320
+
5321
+ def initialize(**args)
5322
+ update!(**args)
5323
+ end
5324
+
5325
+ # Update properties of this object
5326
+ def update!(**args)
5327
+ end
5328
+ end
5329
+
5208
5330
  # The rule that adjusts the likelihood of findings within a certain proximity of
5209
5331
  # hotwords.
5210
5332
  class GooglePrivacyDlpV2HotwordRule
@@ -5455,6 +5577,33 @@ module Google
5455
5577
  end
5456
5578
  end
5457
5579
 
5580
+ # Configure image processing to fall back to the configured processing option
5581
+ # below if unavailable in the request location.
5582
+ class GooglePrivacyDlpV2ImageFallbackLocation
5583
+ include Google::Apis::Core::Hashable
5584
+
5585
+ # Processing will happen in the global region.
5586
+ # Corresponds to the JSON property `globalProcessing`
5587
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing]
5588
+ attr_accessor :global_processing
5589
+
5590
+ # Processing will happen in a multi-region that contains the current region if
5591
+ # available.
5592
+ # Corresponds to the JSON property `multiRegionProcessing`
5593
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing]
5594
+ attr_accessor :multi_region_processing
5595
+
5596
+ def initialize(**args)
5597
+ update!(**args)
5598
+ end
5599
+
5600
+ # Update properties of this object
5601
+ def update!(**args)
5602
+ @global_processing = args[:global_processing] if args.key?(:global_processing)
5603
+ @multi_region_processing = args[:multi_region_processing] if args.key?(:multi_region_processing)
5604
+ end
5605
+ end
5606
+
5458
5607
  # Location of the finding within an image.
5459
5608
  class GooglePrivacyDlpV2ImageLocation
5460
5609
  include Google::Apis::Core::Hashable
@@ -5652,7 +5801,7 @@ module Google
5652
5801
  # @return [String]
5653
5802
  attr_accessor :display_name
5654
5803
 
5655
- # A sample true positive for this infoType.
5804
+ # A sample that is a true positive for this infoType.
5656
5805
  # Corresponds to the JSON property `example`
5657
5806
  # @return [String]
5658
5807
  attr_accessor :example
@@ -7263,6 +7412,20 @@ module Google
7263
7412
  end
7264
7413
  end
7265
7414
 
7415
+ # Processing will happen in a multi-region that contains the current region if
7416
+ # available.
7417
+ class GooglePrivacyDlpV2MultiRegionProcessing
7418
+ include Google::Apis::Core::Hashable
7419
+
7420
+ def initialize(**args)
7421
+ update!(**args)
7422
+ end
7423
+
7424
+ # Update properties of this object
7425
+ def update!(**args)
7426
+ end
7427
+ end
7428
+
7266
7429
  # Compute numerical stats over an individual column, including min, max, and
7267
7430
  # quantiles.
7268
7431
  class GooglePrivacyDlpV2NumericalStatsConfig
@@ -7848,6 +8011,28 @@ module Google
7848
8011
  end
7849
8012
  end
7850
8013
 
8014
+ # Configure processing location for discovery and inspection. For example, image
8015
+ # OCR is only provided in limited regions but configuring ProcessingLocation
8016
+ # will redirect OCR to a location where OCR is provided.
8017
+ class GooglePrivacyDlpV2ProcessingLocation
8018
+ include Google::Apis::Core::Hashable
8019
+
8020
+ # Configure image processing to fall back to the configured processing option
8021
+ # below if unavailable in the request location.
8022
+ # Corresponds to the JSON property `imageFallbackLocation`
8023
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation]
8024
+ attr_accessor :image_fallback_location
8025
+
8026
+ def initialize(**args)
8027
+ update!(**args)
8028
+ end
8029
+
8030
+ # Update properties of this object
8031
+ def update!(**args)
8032
+ @image_fallback_location = args[:image_fallback_location] if args.key?(:image_fallback_location)
8033
+ end
8034
+ end
8035
+
7851
8036
  # Success or errors for the profile generation.
7852
8037
  class GooglePrivacyDlpV2ProfileStatus
7853
8038
  include Google::Apis::Core::Hashable
@@ -8682,6 +8867,26 @@ module Google
8682
8867
  end
8683
8868
  end
8684
8869
 
8870
+ # A related resource. Examples: * The source BigQuery table for a Vertex AI
8871
+ # dataset. * The source Cloud Storage bucket for a Vertex AI dataset.
8872
+ class GooglePrivacyDlpV2RelatedResource
8873
+ include Google::Apis::Core::Hashable
8874
+
8875
+ # The full resource name of the related resource.
8876
+ # Corresponds to the JSON property `fullResource`
8877
+ # @return [String]
8878
+ attr_accessor :full_resource
8879
+
8880
+ def initialize(**args)
8881
+ update!(**args)
8882
+ end
8883
+
8884
+ # Update properties of this object
8885
+ def update!(**args)
8886
+ @full_resource = args[:full_resource] if args.key?(:full_resource)
8887
+ end
8888
+ end
8889
+
8685
8890
  # Replace each input value with a value randomly selected from the dictionary.
8686
8891
  class GooglePrivacyDlpV2ReplaceDictionaryConfig
8687
8892
  include Google::Apis::Core::Hashable
@@ -9591,6 +9796,11 @@ module Google
9591
9796
  # @return [String]
9592
9797
  attr_accessor :project_data_profile
9593
9798
 
9799
+ # Resources related to this profile.
9800
+ # Corresponds to the JSON property `relatedResources`
9801
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource>]
9802
+ attr_accessor :related_resources
9803
+
9594
9804
  # The labels applied to the resource at the time the profile was generated.
9595
9805
  # Corresponds to the JSON property `resourceLabels`
9596
9806
  # @return [Hash<String,String>]
@@ -9657,6 +9867,7 @@ module Google
9657
9867
  @profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
9658
9868
  @profile_status = args[:profile_status] if args.key?(:profile_status)
9659
9869
  @project_data_profile = args[:project_data_profile] if args.key?(:project_data_profile)
9870
+ @related_resources = args[:related_resources] if args.key?(:related_resources)
9660
9871
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
9661
9872
  @resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
9662
9873
  @row_count = args[:row_count] if args.key?(:row_count)
@@ -10694,6 +10905,128 @@ module Google
10694
10905
  end
10695
10906
  end
10696
10907
 
10908
+ # Match dataset resources using regex filters.
10909
+ class GooglePrivacyDlpV2VertexDatasetCollection
10910
+ include Google::Apis::Core::Hashable
10911
+
10912
+ # A collection of regular expressions to determine what datasets to match
10913
+ # against.
10914
+ # Corresponds to the JSON property `vertexDatasetRegexes`
10915
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegexes]
10916
+ attr_accessor :vertex_dataset_regexes
10917
+
10918
+ def initialize(**args)
10919
+ update!(**args)
10920
+ end
10921
+
10922
+ # Update properties of this object
10923
+ def update!(**args)
10924
+ @vertex_dataset_regexes = args[:vertex_dataset_regexes] if args.key?(:vertex_dataset_regexes)
10925
+ end
10926
+ end
10927
+
10928
+ # Target used to match against for discovery with Vertex AI datasets.
10929
+ class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget
10930
+ include Google::Apis::Core::Hashable
10931
+
10932
+ # Requirements that must be true before a dataset is profiled for the first time.
10933
+ # Corresponds to the JSON property `conditions`
10934
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetConditions]
10935
+ attr_accessor :conditions
10936
+
10937
+ # Do not profile the tables.
10938
+ # Corresponds to the JSON property `disabled`
10939
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled]
10940
+ attr_accessor :disabled
10941
+
10942
+ # Determines what datasets will have profiles generated within an organization
10943
+ # or project. Includes the ability to filter by regular expression patterns on
10944
+ # project ID or dataset regex.
10945
+ # Corresponds to the JSON property `filter`
10946
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetFilter]
10947
+ attr_accessor :filter
10948
+
10949
+ # How often existing datasets should have their profiles refreshed. New datasets
10950
+ # are scanned as quickly as possible depending on system capacity.
10951
+ # Corresponds to the JSON property `generationCadence`
10952
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence]
10953
+ attr_accessor :generation_cadence
10954
+
10955
+ def initialize(**args)
10956
+ update!(**args)
10957
+ end
10958
+
10959
+ # Update properties of this object
10960
+ def update!(**args)
10961
+ @conditions = args[:conditions] if args.key?(:conditions)
10962
+ @disabled = args[:disabled] if args.key?(:disabled)
10963
+ @filter = args[:filter] if args.key?(:filter)
10964
+ @generation_cadence = args[:generation_cadence] if args.key?(:generation_cadence)
10965
+ end
10966
+ end
10967
+
10968
+ # A pattern to match against one or more dataset resources.
10969
+ class GooglePrivacyDlpV2VertexDatasetRegex
10970
+ include Google::Apis::Core::Hashable
10971
+
10972
+ # For organizations, if unset, will match all projects. Has no effect for
10973
+ # configurations created within a project.
10974
+ # Corresponds to the JSON property `projectIdRegex`
10975
+ # @return [String]
10976
+ attr_accessor :project_id_regex
10977
+
10978
+ def initialize(**args)
10979
+ update!(**args)
10980
+ end
10981
+
10982
+ # Update properties of this object
10983
+ def update!(**args)
10984
+ @project_id_regex = args[:project_id_regex] if args.key?(:project_id_regex)
10985
+ end
10986
+ end
10987
+
10988
+ # A collection of regular expressions to determine what datasets to match
10989
+ # against.
10990
+ class GooglePrivacyDlpV2VertexDatasetRegexes
10991
+ include Google::Apis::Core::Hashable
10992
+
10993
+ # Required. The group of regular expression patterns to match against one or
10994
+ # more datasets. Maximum of 100 entries. The sum of the lengths of all regular
10995
+ # expressions can't exceed 10 KiB.
10996
+ # Corresponds to the JSON property `patterns`
10997
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegex>]
10998
+ attr_accessor :patterns
10999
+
11000
+ def initialize(**args)
11001
+ update!(**args)
11002
+ end
11003
+
11004
+ # Update properties of this object
11005
+ def update!(**args)
11006
+ @patterns = args[:patterns] if args.key?(:patterns)
11007
+ end
11008
+ end
11009
+
11010
+ # Identifies a single Vertex AI dataset.
11011
+ class GooglePrivacyDlpV2VertexDatasetResourceReference
11012
+ include Google::Apis::Core::Hashable
11013
+
11014
+ # Required. The name of the dataset resource. If set within a project-level
11015
+ # configuration, the specified resource must be within the project.
11016
+ # Corresponds to the JSON property `datasetResourceName`
11017
+ # @return [String]
11018
+ attr_accessor :dataset_resource_name
11019
+
11020
+ def initialize(**args)
11021
+ update!(**args)
11022
+ end
11023
+
11024
+ # Update properties of this object
11025
+ def update!(**args)
11026
+ @dataset_resource_name = args[:dataset_resource_name] if args.key?(:dataset_resource_name)
11027
+ end
11028
+ end
11029
+
10697
11030
  # Message defining a list of words or phrases to search for in the data.
10698
11031
  class GooglePrivacyDlpV2WordList
10699
11032
  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.83.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 = "20250226"
26
26
  end
27
27
  end
28
28
  end
@@ -712,6 +712,24 @@ module Google
712
712
  include Google::Apis::Core::JsonObjectSupport
713
713
  end
714
714
 
715
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
721
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
715
733
  class GooglePrivacyDlpV2DlpJob
716
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
717
735
 
@@ -856,6 +874,12 @@ module Google
856
874
  include Google::Apis::Core::JsonObjectSupport
857
875
  end
858
876
 
877
+ class GooglePrivacyDlpV2GlobalProcessing
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
859
883
  class GooglePrivacyDlpV2HotwordRule
860
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
885
 
@@ -904,6 +928,12 @@ module Google
904
928
  include Google::Apis::Core::JsonObjectSupport
905
929
  end
906
930
 
931
+ class GooglePrivacyDlpV2ImageFallbackLocation
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
907
937
  class GooglePrivacyDlpV2ImageLocation
908
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
939
 
@@ -1252,6 +1282,12 @@ module Google
1252
1282
  include Google::Apis::Core::JsonObjectSupport
1253
1283
  end
1254
1284
 
1285
+ class GooglePrivacyDlpV2MultiRegionProcessing
1286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1287
+
1288
+ include Google::Apis::Core::JsonObjectSupport
1289
+ end
1290
+
1255
1291
  class GooglePrivacyDlpV2NumericalStatsConfig
1256
1292
  class Representation < Google::Apis::Core::JsonRepresentation; end
1257
1293
 
@@ -1348,6 +1384,12 @@ module Google
1348
1384
  include Google::Apis::Core::JsonObjectSupport
1349
1385
  end
1350
1386
 
1387
+ class GooglePrivacyDlpV2ProcessingLocation
1388
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1389
+
1390
+ include Google::Apis::Core::JsonObjectSupport
1391
+ end
1392
+
1351
1393
  class GooglePrivacyDlpV2ProfileStatus
1352
1394
  class Representation < Google::Apis::Core::JsonRepresentation; end
1353
1395
 
@@ -1522,6 +1564,12 @@ module Google
1522
1564
  include Google::Apis::Core::JsonObjectSupport
1523
1565
  end
1524
1566
 
1567
+ class GooglePrivacyDlpV2RelatedResource
1568
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1569
+
1570
+ include Google::Apis::Core::JsonObjectSupport
1571
+ end
1572
+
1525
1573
  class GooglePrivacyDlpV2ReplaceDictionaryConfig
1526
1574
  class Representation < Google::Apis::Core::JsonRepresentation; end
1527
1575
 
@@ -1888,6 +1936,36 @@ module Google
1888
1936
  include Google::Apis::Core::JsonObjectSupport
1889
1937
  end
1890
1938
 
1939
+ class GooglePrivacyDlpV2VertexDatasetCollection
1940
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1941
+
1942
+ include Google::Apis::Core::JsonObjectSupport
1943
+ end
1944
+
1945
+ class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget
1946
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1947
+
1948
+ include Google::Apis::Core::JsonObjectSupport
1949
+ end
1950
+
1951
+ class GooglePrivacyDlpV2VertexDatasetRegex
1952
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1953
+
1954
+ include Google::Apis::Core::JsonObjectSupport
1955
+ end
1956
+
1957
+ class GooglePrivacyDlpV2VertexDatasetRegexes
1958
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1959
+
1960
+ include Google::Apis::Core::JsonObjectSupport
1961
+ end
1962
+
1963
+ class GooglePrivacyDlpV2VertexDatasetResourceReference
1964
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1965
+
1966
+ include Google::Apis::Core::JsonObjectSupport
1967
+ end
1968
+
1891
1969
  class GooglePrivacyDlpV2WordList
1892
1970
  class Representation < Google::Apis::Core::JsonRepresentation; end
1893
1971
 
@@ -3020,6 +3098,8 @@ module Google
3020
3098
 
3021
3099
  property :other_cloud_starting_location, as: 'otherCloudStartingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2OtherCloudDiscoveryStartingLocation::Representation
3022
3100
 
3101
+ property :processing_location, as: 'processingLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProcessingLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProcessingLocation::Representation
3102
+
3023
3103
  property :status, as: 'status'
3024
3104
  collection :targets, as: 'targets', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTarget::Representation
3025
3105
 
@@ -3124,6 +3204,37 @@ module Google
3124
3204
 
3125
3205
  property :secrets_target, as: 'secretsTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget::Representation
3126
3206
 
3207
+ property :vertex_dataset_target, as: 'vertexDatasetTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetDiscoveryTarget::Representation
3208
+
3209
+ end
3210
+ end
3211
+
3212
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetConditions
3213
+ # @private
3214
+ class Representation < Google::Apis::Core::JsonRepresentation
3215
+ property :created_after, as: 'createdAfter'
3216
+ property :min_age, as: 'minAge'
3217
+ end
3218
+ end
3219
+
3220
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetFilter
3221
+ # @private
3222
+ class Representation < Google::Apis::Core::JsonRepresentation
3223
+ property :collection, as: 'collection', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetCollection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetCollection::Representation
3224
+
3225
+ property :others, as: 'others', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherResources::Representation
3226
+
3227
+ property :vertex_dataset_resource_reference, as: 'vertexDatasetResourceReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetResourceReference, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetResourceReference::Representation
3228
+
3229
+ end
3230
+ end
3231
+
3232
+ class GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence
3233
+ # @private
3234
+ class Representation < Google::Apis::Core::JsonRepresentation
3235
+ property :inspect_template_modified_cadence, as: 'inspectTemplateModifiedCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence::Representation
3236
+
3237
+ property :refresh_frequency, as: 'refreshFrequency'
3127
3238
  end
3128
3239
  end
3129
3240
 
@@ -3324,6 +3435,8 @@ module Google
3324
3435
 
3325
3436
  property :project_data_profile, as: 'projectDataProfile'
3326
3437
  property :project_id, as: 'projectId'
3438
+ collection :related_resources, as: 'relatedResources', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource::Representation
3439
+
3327
3440
  hash :resource_attributes, as: 'resourceAttributes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Value, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Value::Representation
3328
3441
 
3329
3442
  hash :resource_labels, as: 'resourceLabels'
@@ -3407,6 +3520,12 @@ module Google
3407
3520
  end
3408
3521
  end
3409
3522
 
3523
+ class GooglePrivacyDlpV2GlobalProcessing
3524
+ # @private
3525
+ class Representation < Google::Apis::Core::JsonRepresentation
3526
+ end
3527
+ end
3528
+
3410
3529
  class GooglePrivacyDlpV2HotwordRule
3411
3530
  # @private
3412
3531
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3484,6 +3603,16 @@ module Google
3484
3603
  end
3485
3604
  end
3486
3605
 
3606
+ class GooglePrivacyDlpV2ImageFallbackLocation
3607
+ # @private
3608
+ class Representation < Google::Apis::Core::JsonRepresentation
3609
+ property :global_processing, as: 'globalProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing::Representation
3610
+
3611
+ property :multi_region_processing, as: 'multiRegionProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing::Representation
3612
+
3613
+ end
3614
+ end
3615
+
3487
3616
  class GooglePrivacyDlpV2ImageLocation
3488
3617
  # @private
3489
3618
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4060,6 +4189,12 @@ module Google
4060
4189
  end
4061
4190
  end
4062
4191
 
4192
+ class GooglePrivacyDlpV2MultiRegionProcessing
4193
+ # @private
4194
+ class Representation < Google::Apis::Core::JsonRepresentation
4195
+ end
4196
+ end
4197
+
4063
4198
  class GooglePrivacyDlpV2NumericalStatsConfig
4064
4199
  # @private
4065
4200
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4237,6 +4372,14 @@ module Google
4237
4372
  end
4238
4373
  end
4239
4374
 
4375
+ class GooglePrivacyDlpV2ProcessingLocation
4376
+ # @private
4377
+ class Representation < Google::Apis::Core::JsonRepresentation
4378
+ property :image_fallback_location, as: 'imageFallbackLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation::Representation
4379
+
4380
+ end
4381
+ end
4382
+
4240
4383
  class GooglePrivacyDlpV2ProfileStatus
4241
4384
  # @private
4242
4385
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4505,6 +4648,13 @@ module Google
4505
4648
  end
4506
4649
  end
4507
4650
 
4651
+ class GooglePrivacyDlpV2RelatedResource
4652
+ # @private
4653
+ class Representation < Google::Apis::Core::JsonRepresentation
4654
+ property :full_resource, as: 'fullResource'
4655
+ end
4656
+ end
4657
+
4508
4658
  class GooglePrivacyDlpV2ReplaceDictionaryConfig
4509
4659
  # @private
4510
4660
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4793,6 +4943,8 @@ module Google
4793
4943
  property :profile_status, as: 'profileStatus', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus::Representation
4794
4944
 
4795
4945
  property :project_data_profile, as: 'projectDataProfile'
4946
+ collection :related_resources, as: 'relatedResources', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RelatedResource::Representation
4947
+
4796
4948
  hash :resource_labels, as: 'resourceLabels'
4797
4949
  property :resource_visibility, as: 'resourceVisibility'
4798
4950
  property :row_count, :numeric_string => true, as: 'rowCount'
@@ -5110,6 +5262,50 @@ module Google
5110
5262
  end
5111
5263
  end
5112
5264
 
5265
+ class GooglePrivacyDlpV2VertexDatasetCollection
5266
+ # @private
5267
+ class Representation < Google::Apis::Core::JsonRepresentation
5268
+ property :vertex_dataset_regexes, as: 'vertexDatasetRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegexes::Representation
5269
+
5270
+ end
5271
+ end
5272
+
5273
+ class GooglePrivacyDlpV2VertexDatasetDiscoveryTarget
5274
+ # @private
5275
+ class Representation < Google::Apis::Core::JsonRepresentation
5276
+ property :conditions, as: 'conditions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetConditions, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetConditions::Representation
5277
+
5278
+ property :disabled, as: 'disabled', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Disabled::Representation
5279
+
5280
+ property :filter, as: 'filter', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetFilter::Representation
5281
+
5282
+ property :generation_cadence, as: 'generationCadence', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryVertexDatasetGenerationCadence::Representation
5283
+
5284
+ end
5285
+ end
5286
+
5287
+ class GooglePrivacyDlpV2VertexDatasetRegex
5288
+ # @private
5289
+ class Representation < Google::Apis::Core::JsonRepresentation
5290
+ property :project_id_regex, as: 'projectIdRegex'
5291
+ end
5292
+ end
5293
+
5294
+ class GooglePrivacyDlpV2VertexDatasetRegexes
5295
+ # @private
5296
+ class Representation < Google::Apis::Core::JsonRepresentation
5297
+ collection :patterns, as: 'patterns', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VertexDatasetRegex::Representation
5298
+
5299
+ end
5300
+ end
5301
+
5302
+ class GooglePrivacyDlpV2VertexDatasetResourceReference
5303
+ # @private
5304
+ class Representation < Google::Apis::Core::JsonRepresentation
5305
+ property :dataset_resource_name, as: 'datasetResourceName'
5306
+ end
5307
+ end
5308
+
5113
5309
  class GooglePrivacyDlpV2WordList
5114
5310
  # @private
5115
5311
  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.83.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-02 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.83.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: []