google-apis-dlp_v2 0.25.0 → 0.28.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: 852df0faedf10ccd72f2e1292c4727b25dc6d5c3813e89e65e7455084a3df4fb
4
- data.tar.gz: 8a27a5e99792b1bf86ab7fad0367b7715ff0d878280ab3d6b4f52ac9963b9d8b
3
+ metadata.gz: 3ef182524b2a3e8592500032c3c47e198926c21ce8cba2dfa00663ca4b944ae5
4
+ data.tar.gz: 3aa70954b1510adb1dd0da2e76ea28e8654606710fecd32a54bb1bf9d6268549
5
5
  SHA512:
6
- metadata.gz: b6cccf094ee0c696477556c07246208f4daaf5011a916e8e46223beebd7ba70ee59ad39e59e3cacd9a6710c7bdec951963ba855f56c4a3f50b71b02aed21bebb
7
- data.tar.gz: 04554a3583121e7f093ff17a4ebb32389077a76e6dead27ef1520074acdeb324acacd478a6c4872dfdb82f6488cfb7d8d737081c76bd17c003e19813b640edef
6
+ metadata.gz: 7d0ffe08fd2b0c01167b923fe640718c6cd159e587699162efc1b709b4e3451593ca254da5aa99175fb4893b279d278fcf32bc321b493508f60555d621745f3c
7
+ data.tar.gz: d5d8d4960724b22646b2dcf0ffd496251d8dfcc08f41558855e59e2fd7dadfd8a836087dfc12735f0e143359ac4d56c4a9209e4e3eae039531330a1f287be256
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.28.0 (2022-08-03)
4
+
5
+ * Regenerated from discovery document revision 20220730
6
+
7
+ ### v0.27.0 (2022-07-06)
8
+
9
+ * Regenerated from discovery document revision 20220703
10
+ * Regenerated using generator version 0.9.0
11
+
12
+ ### v0.26.0 (2022-07-02)
13
+
14
+ * Regenerated using generator version 0.8.0
15
+
3
16
  ### v0.25.0 (2022-06-17)
4
17
 
5
18
  * Regenerated from discovery document revision 20220612
@@ -27,13 +27,27 @@ module Google
27
27
  class GooglePrivacyDlpV2Action
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
+ # Create a de-identified copy of the requested table or files. . A
31
+ # TransformationDetail will be created for each transformation. If any rows in
32
+ # BigQuery are skipped during de-identification (transformation errors or row
33
+ # size exceeds BigQuery insert API limits) they are placed in the failure output
34
+ # table. If the original row exceeds the BigQuery insert API limit it will be
35
+ # truncated when written to the failure output table. The failure output table
36
+ # can be set in the action.deidentify.output.big_query_output.
37
+ # deidentified_failure_output_table field, if no table is set, a table will be
38
+ # automatically created in the same project and dataset as the original table.
39
+ # Compatible with: Inspect
40
+ # Corresponds to the JSON property `deidentify`
41
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Deidentify]
42
+ attr_accessor :deidentify
43
+
30
44
  # Enable email notification to project owners and editors on jobs's completion/
31
45
  # failure.
32
46
  # Corresponds to the JSON property `jobNotificationEmails`
33
47
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails]
34
48
  attr_accessor :job_notification_emails
35
49
 
36
- # Publish a message into given Pub/Sub topic when DlpJob has completed. The
50
+ # Publish a message into a given Pub/Sub topic when DlpJob has completed. The
37
51
  # message contains a single field, `DlpJobName`, which is equal to the finished
38
52
  # job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/
39
53
  # projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
@@ -57,7 +71,7 @@ module Google
57
71
  # Publish the result summary of a DlpJob to the Cloud Security Command Center (
58
72
  # CSCC Alpha). This action is only available for projects which are parts of an
59
73
  # organization and whitelisted for the alpha Cloud Security Command Center. The
60
- # action will publish count of finding instances and their info types. The
74
+ # action will publish the count of finding instances and their info types. The
61
75
  # summary of findings will be persisted in CSCC and are governed by CSCC service-
62
76
  # specific policy, see https://cloud.google.com/terms/service-terms Only a
63
77
  # single instance of this action can be specified. Compatible with: Inspect
@@ -86,6 +100,7 @@ module Google
86
100
 
87
101
  # Update properties of this object
88
102
  def update!(**args)
103
+ @deidentify = args[:deidentify] if args.key?(:deidentify)
89
104
  @job_notification_emails = args[:job_notification_emails] if args.key?(:job_notification_emails)
90
105
  @pub_sub = args[:pub_sub] if args.key?(:pub_sub)
91
106
  @publish_findings_to_cloud_data_catalog = args[:publish_findings_to_cloud_data_catalog] if args.key?(:publish_findings_to_cloud_data_catalog)
@@ -710,7 +725,7 @@ module Google
710
725
  end
711
726
  end
712
727
 
713
- # Options defining a file or a set of files within a Google Cloud Storage bucket.
728
+ # Options defining a file or a set of files within a Cloud Storage bucket.
714
729
  class GooglePrivacyDlpV2CloudStorageOptions
715
730
  include Google::Apis::Core::Hashable
716
731
 
@@ -954,8 +969,7 @@ module Google
954
969
  include Google::Apis::Core::Hashable
955
970
 
956
971
  # A string representation of the full container name. Examples: - BigQuery: '
957
- # Project:DataSetId.TableId' - Google Cloud Storage: 'gs://Bucket/folders/
958
- # filename.txt'
972
+ # Project:DataSetId.TableId' - Cloud Storage: 'gs://Bucket/folders/filename.txt'
959
973
  # Corresponds to the JSON property `fullPath`
960
974
  # @return [String]
961
975
  attr_accessor :full_path
@@ -967,34 +981,34 @@ module Google
967
981
  attr_accessor :project_id
968
982
 
969
983
  # The rest of the path after the root. Examples: - For BigQuery table `
970
- # project_id:dataset_id.table_id`, the relative path is `table_id` - Google
971
- # Cloud Storage file `gs://bucket/folder/filename.txt`, the relative path is `
972
- # folder/filename.txt`
984
+ # project_id:dataset_id.table_id`, the relative path is `table_id` - For Cloud
985
+ # Storage file `gs://bucket/folder/filename.txt`, the relative path is `folder/
986
+ # filename.txt`
973
987
  # Corresponds to the JSON property `relativePath`
974
988
  # @return [String]
975
989
  attr_accessor :relative_path
976
990
 
977
991
  # The root of the container. Examples: - For BigQuery table `project_id:
978
- # dataset_id.table_id`, the root is `dataset_id` - For Google Cloud Storage file
979
- # `gs://bucket/folder/filename.txt`, the root is `gs://bucket`
992
+ # dataset_id.table_id`, the root is `dataset_id` - For Cloud Storage file `gs://
993
+ # bucket/folder/filename.txt`, the root is `gs://bucket`
980
994
  # Corresponds to the JSON property `rootPath`
981
995
  # @return [String]
982
996
  attr_accessor :root_path
983
997
 
984
- # Container type, for example BigQuery or Google Cloud Storage.
998
+ # Container type, for example BigQuery or Cloud Storage.
985
999
  # Corresponds to the JSON property `type`
986
1000
  # @return [String]
987
1001
  attr_accessor :type
988
1002
 
989
- # Findings container modification timestamp, if applicable. For Google Cloud
990
- # Storage contains last file modification timestamp. For BigQuery table contains
991
- # last_modified_time property. For Datastore - not populated.
1003
+ # Findings container modification timestamp, if applicable. For Cloud Storage,
1004
+ # this field contains the last file modification timestamp. For a BigQuery table,
1005
+ # this field contains the last_modified_time property. For Datastore, this
1006
+ # field isn't populated.
992
1007
  # Corresponds to the JSON property `updateTime`
993
1008
  # @return [String]
994
1009
  attr_accessor :update_time
995
1010
 
996
- # Findings container version, if available ("generation" for Google Cloud
997
- # Storage).
1011
+ # Findings container version, if available ("generation" for Cloud Storage).
998
1012
  # Corresponds to the JSON property `version`
999
1013
  # @return [String]
1000
1014
  attr_accessor :version
@@ -1058,20 +1072,20 @@ module Google
1058
1072
  # formatted as follows: * BigQuery tables: ``project_id`:`dataset_id`.`table_id``
1059
1073
  # * Cloud Storage files: `gs://`bucket`/`path`` * Datastore namespace: `
1060
1074
  # namespace` Nested names could be absent if the embedded object has no string
1061
- # identifier (for an example an image contained within a document).
1075
+ # identifier (for example, an image contained within a document).
1062
1076
  # Corresponds to the JSON property `containerName`
1063
1077
  # @return [String]
1064
1078
  attr_accessor :container_name
1065
1079
 
1066
- # Findings container modification timestamp, if applicable. For Google Cloud
1067
- # Storage contains last file modification timestamp. For BigQuery table contains
1068
- # last_modified_time property. For Datastore - not populated.
1080
+ # Finding container modification timestamp, if applicable. For Cloud Storage,
1081
+ # this field contains the last file modification timestamp. For a BigQuery table,
1082
+ # this field contains the last_modified_time property. For Datastore, this
1083
+ # field isn't populated.
1069
1084
  # Corresponds to the JSON property `containerTimestamp`
1070
1085
  # @return [String]
1071
1086
  attr_accessor :container_timestamp
1072
1087
 
1073
- # Findings container version, if available ("generation" for Google Cloud
1074
- # Storage).
1088
+ # Finding container version, if available ("generation" for Cloud Storage).
1075
1089
  # Corresponds to the JSON property `containerVersion`
1076
1090
  # @return [String]
1077
1091
  attr_accessor :container_version
@@ -1711,10 +1725,10 @@ module Google
1711
1725
  end
1712
1726
  end
1713
1727
 
1714
- # The message that will be published to a Pub/Sub topic. To receive a message of
1715
- # protocol buffer schema type, convert the message data to an object of this
1716
- # proto class. https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-
1717
- # proto-messages
1728
+ # Pub/Sub topic message for a DataProfileAction.PubSubNotification event. To
1729
+ # receive a message of protocol buffer schema type, convert the message data to
1730
+ # an object of this proto class. https://cloud.google.com/pubsub/docs/samples/
1731
+ # pubsub-subscribe-proto-messages
1718
1732
  class GooglePrivacyDlpV2DataProfilePubSubMessage
1719
1733
  include Google::Apis::Core::Hashable
1720
1734
 
@@ -1740,7 +1754,7 @@ module Google
1740
1754
  end
1741
1755
 
1742
1756
  # Score is a summary of all elements in the data profile. A higher number means
1743
- # more risky.
1757
+ # more risk.
1744
1758
  class GooglePrivacyDlpV2DataRiskLevel
1745
1759
  include Google::Apis::Core::Hashable
1746
1760
 
@@ -1898,6 +1912,63 @@ module Google
1898
1912
  end
1899
1913
  end
1900
1914
 
1915
+ # Create a de-identified copy of the requested table or files. . A
1916
+ # TransformationDetail will be created for each transformation. If any rows in
1917
+ # BigQuery are skipped during de-identification (transformation errors or row
1918
+ # size exceeds BigQuery insert API limits) they are placed in the failure output
1919
+ # table. If the original row exceeds the BigQuery insert API limit it will be
1920
+ # truncated when written to the failure output table. The failure output table
1921
+ # can be set in the action.deidentify.output.big_query_output.
1922
+ # deidentified_failure_output_table field, if no table is set, a table will be
1923
+ # automatically created in the same project and dataset as the original table.
1924
+ # Compatible with: Inspect
1925
+ class GooglePrivacyDlpV2Deidentify
1926
+ include Google::Apis::Core::Hashable
1927
+
1928
+ # Required. User settable GCS bucket and folders to store de-identified files.
1929
+ # This field must be set for cloud storage deidentification. The output GCS
1930
+ # bucket must be different from the input bucket. De-identified files will
1931
+ # overwrite files in the output path. Form of: gs://bucket/folder/ or gs://
1932
+ # bucket
1933
+ # Corresponds to the JSON property `cloudStorageOutput`
1934
+ # @return [String]
1935
+ attr_accessor :cloud_storage_output
1936
+
1937
+ # List of user-specified file type groups to transform. If specified, only the
1938
+ # files with these filetypes will be transformed. If empty, all supported files
1939
+ # will be transformed. Supported types may be automatically added over time. If
1940
+ # a file type is set in this field that isn't supported by the Deidentify action
1941
+ # then the job will fail and will not be successfully created/started. Currently
1942
+ # the only filetypes supported are: IMAGES, TEXT_FILES, CSV, TSV.
1943
+ # Corresponds to the JSON property `fileTypesToTransform`
1944
+ # @return [Array<String>]
1945
+ attr_accessor :file_types_to_transform
1946
+
1947
+ # User specified templates and configs for how to deidentify structured,
1948
+ # unstructures, and image files. User must provide either a unstructured
1949
+ # deidentify template or at least one redact image config.
1950
+ # Corresponds to the JSON property `transformationConfig`
1951
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationConfig]
1952
+ attr_accessor :transformation_config
1953
+
1954
+ # Config for storing transformation details.
1955
+ # Corresponds to the JSON property `transformationDetailsStorageConfig`
1956
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDetailsStorageConfig]
1957
+ attr_accessor :transformation_details_storage_config
1958
+
1959
+ def initialize(**args)
1960
+ update!(**args)
1961
+ end
1962
+
1963
+ # Update properties of this object
1964
+ def update!(**args)
1965
+ @cloud_storage_output = args[:cloud_storage_output] if args.key?(:cloud_storage_output)
1966
+ @file_types_to_transform = args[:file_types_to_transform] if args.key?(:file_types_to_transform)
1967
+ @transformation_config = args[:transformation_config] if args.key?(:transformation_config)
1968
+ @transformation_details_storage_config = args[:transformation_details_storage_config] if args.key?(:transformation_details_storage_config)
1969
+ end
1970
+ end
1971
+
1901
1972
  # The configuration that controls how the data will change.
1902
1973
  class GooglePrivacyDlpV2DeidentifyConfig
1903
1974
  include Google::Apis::Core::Hashable
@@ -1937,7 +2008,7 @@ module Google
1937
2008
  end
1938
2009
  end
1939
2010
 
1940
- # Request to de-identify a list of items.
2011
+ # Request to de-identify a ContentItem.
1941
2012
  class GooglePrivacyDlpV2DeidentifyContentRequest
1942
2013
  include Google::Apis::Core::Hashable
1943
2014
 
@@ -2427,7 +2498,7 @@ module Google
2427
2498
  end
2428
2499
  end
2429
2500
 
2430
- # List of exclude infoTypes.
2501
+ # List of excluded infoTypes.
2431
2502
  class GooglePrivacyDlpV2ExcludeInfoTypes
2432
2503
  include Google::Apis::Core::Hashable
2433
2504
 
@@ -2479,7 +2550,7 @@ module Google
2479
2550
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Dictionary]
2480
2551
  attr_accessor :dictionary
2481
2552
 
2482
- # List of exclude infoTypes.
2553
+ # List of excluded infoTypes.
2483
2554
  # Corresponds to the JSON property `excludeInfoTypes`
2484
2555
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ExcludeInfoTypes]
2485
2556
  attr_accessor :exclude_info_types
@@ -2529,7 +2600,7 @@ module Google
2529
2600
  end
2530
2601
  end
2531
2602
 
2532
- # An expression, consisting or an operator and conditions.
2603
+ # An expression, consisting of an operator and conditions.
2533
2604
  class GooglePrivacyDlpV2Expressions
2534
2605
  include Google::Apis::Core::Hashable
2535
2606
 
@@ -2767,7 +2838,10 @@ module Google
2767
2838
  end
2768
2839
 
2769
2840
  # Configuration to control the number of findings returned for inspection. This
2770
- # is not used for de-identification or data profiling.
2841
+ # is not used for de-identification or data profiling. When redacting sensitive
2842
+ # data from images, finding limits don't apply. They can cause unexpected or
2843
+ # inconsistent results, where only some data is redacted. Don't include finding
2844
+ # limits in RedactImage requests. Otherwise, Cloud DLP returns an error.
2771
2845
  class GooglePrivacyDlpV2FindingLimits
2772
2846
  include Google::Apis::Core::Hashable
2773
2847
 
@@ -3260,6 +3334,11 @@ module Google
3260
3334
  # @return [Array<String>]
3261
3335
  attr_accessor :supported_by
3262
3336
 
3337
+ # A list of available versions for the infotype.
3338
+ # Corresponds to the JSON property `versions`
3339
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription>]
3340
+ attr_accessor :versions
3341
+
3263
3342
  def initialize(**args)
3264
3343
  update!(**args)
3265
3344
  end
@@ -3271,6 +3350,7 @@ module Google
3271
3350
  @display_name = args[:display_name] if args.key?(:display_name)
3272
3351
  @name = args[:name] if args.key?(:name)
3273
3352
  @supported_by = args[:supported_by] if args.key?(:supported_by)
3353
+ @versions = args[:versions] if args.key?(:versions)
3274
3354
  end
3275
3355
  end
3276
3356
 
@@ -3444,7 +3524,10 @@ module Google
3444
3524
  attr_accessor :info_types
3445
3525
 
3446
3526
  # Configuration to control the number of findings returned for inspection. This
3447
- # is not used for de-identification or data profiling.
3527
+ # is not used for de-identification or data profiling. When redacting sensitive
3528
+ # data from images, finding limits don't apply. They can cause unexpected or
3529
+ # inconsistent results, where only some data is redacted. Don't include finding
3530
+ # limits in RedactImage requests. Otherwise, Cloud DLP returns an error.
3448
3531
  # Corresponds to the JSON property `limits`
3449
3532
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FindingLimits]
3450
3533
  attr_accessor :limits
@@ -4320,8 +4403,8 @@ module Google
4320
4403
  # Configuration for a custom dictionary created from a data source of any size
4321
4404
  # up to the maximum size defined in the [limits](https://cloud.google.com/dlp/
4322
4405
  # limits) page. The artifacts of dictionary creation are stored in the specified
4323
- # Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for
4324
- # smaller dictionaries that satisfy the size requirements.
4406
+ # Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller
4407
+ # dictionaries that satisfy the size requirements.
4325
4408
  class GooglePrivacyDlpV2LargeCustomDictionaryConfig
4326
4409
  include Google::Apis::Core::Hashable
4327
4410
 
@@ -5051,7 +5134,11 @@ module Google
5051
5134
  # @return [Fixnum]
5052
5135
  attr_accessor :window_after
5053
5136
 
5054
- # Number of characters before the finding to consider.
5137
+ # Number of characters before the finding to consider. For tabular data, if you
5138
+ # want to modify the likelihood of an entire column of findngs, set this to 1.
5139
+ # For more information, see [Hotword example: Set the match likelihood of a
5140
+ # table column] (https://cloud.google.com/dlp/docs/creating-custom-infotypes-
5141
+ # likelihood#match-column-values).
5055
5142
  # Corresponds to the JSON property `windowBefore`
5056
5143
  # @return [Fixnum]
5057
5144
  attr_accessor :window_before
@@ -5184,7 +5271,7 @@ module Google
5184
5271
  # Publish the result summary of a DlpJob to the Cloud Security Command Center (
5185
5272
  # CSCC Alpha). This action is only available for projects which are parts of an
5186
5273
  # organization and whitelisted for the alpha Cloud Security Command Center. The
5187
- # action will publish count of finding instances and their info types. The
5274
+ # action will publish the count of finding instances and their info types. The
5188
5275
  # summary of findings will be persisted in CSCC and are governed by CSCC service-
5189
5276
  # specific policy, see https://cloud.google.com/terms/service-terms Only a
5190
5277
  # single instance of this action can be specified. Compatible with: Inspect
@@ -5200,7 +5287,7 @@ module Google
5200
5287
  end
5201
5288
  end
5202
5289
 
5203
- # Publish a message into given Pub/Sub topic when DlpJob has completed. The
5290
+ # Publish a message into a given Pub/Sub topic when DlpJob has completed. The
5204
5291
  # message contains a single field, `DlpJobName`, which is equal to the finished
5205
5292
  # job's [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/
5206
5293
  # projects.dlpJobs#DlpJob). Compatible with: Inspect, Risk
@@ -5386,7 +5473,7 @@ module Google
5386
5473
  class GooglePrivacyDlpV2RecordCondition
5387
5474
  include Google::Apis::Core::Hashable
5388
5475
 
5389
- # An expression, consisting or an operator and conditions.
5476
+ # An expression, consisting of an operator and conditions.
5390
5477
  # Corresponds to the JSON property `expressions`
5391
5478
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions]
5392
5479
  attr_accessor :expressions
@@ -5691,7 +5778,7 @@ module Google
5691
5778
  end
5692
5779
  end
5693
5780
 
5694
- # Results of re-identifying a item.
5781
+ # Results of re-identifying an item.
5695
5782
  class GooglePrivacyDlpV2ReidentifyContentResponse
5696
5783
  include Google::Apis::Core::Hashable
5697
5784
 
@@ -5936,11 +6023,11 @@ module Google
5936
6023
  class GooglePrivacyDlpV2Schedule
5937
6024
  include Google::Apis::Core::Hashable
5938
6025
 
5939
- # With this option a job is started a regular periodic basis. For example: every
5940
- # day (86400 seconds). A scheduled start time will be skipped if the previous
5941
- # execution has not ended when its scheduled time occurs. This value must be set
5942
- # to a time duration greater than or equal to 1 day and can be no longer than 60
5943
- # days.
6026
+ # With this option a job is started on a regular periodic basis. For example:
6027
+ # every day (86400 seconds). A scheduled start time will be skipped if the
6028
+ # previous execution has not ended when its scheduled time occurs. This value
6029
+ # must be set to a time duration greater than or equal to 1 day and can be no
6030
+ # longer than 60 days.
5944
6031
  # Corresponds to the JSON property `recurrencePeriodDuration`
5945
6032
  # @return [String]
5946
6033
  attr_accessor :recurrence_period_duration
@@ -6022,7 +6109,7 @@ module Google
6022
6109
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryOptions]
6023
6110
  attr_accessor :big_query_options
6024
6111
 
6025
- # Options defining a file or a set of files within a Google Cloud Storage bucket.
6112
+ # Options defining a file or a set of files within a Cloud Storage bucket.
6026
6113
  # Corresponds to the JSON property `cloudStorageOptions`
6027
6114
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageOptions]
6028
6115
  attr_accessor :cloud_storage_options
@@ -6039,7 +6126,7 @@ module Google
6039
6126
  attr_accessor :hybrid_options
6040
6127
 
6041
6128
  # Configuration of the timespan of the items to include in scanning. Currently
6042
- # only supported when inspecting Google Cloud Storage and BigQuery.
6129
+ # only supported when inspecting Cloud Storage and BigQuery.
6043
6130
  # Corresponds to the JSON property `timespanConfig`
6044
6131
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TimespanConfig]
6045
6132
  attr_accessor :timespan_config
@@ -6151,8 +6238,8 @@ module Google
6151
6238
  # Configuration for a custom dictionary created from a data source of any size
6152
6239
  # up to the maximum size defined in the [limits](https://cloud.google.com/dlp/
6153
6240
  # limits) page. The artifacts of dictionary creation are stored in the specified
6154
- # Google Cloud Storage location. Consider using `CustomInfoType.Dictionary` for
6155
- # smaller dictionaries that satisfy the size requirements.
6241
+ # Cloud Storage location. Consider using `CustomInfoType.Dictionary` for smaller
6242
+ # dictionaries that satisfy the size requirements.
6156
6243
  # Corresponds to the JSON property `largeCustomDictionary`
6157
6244
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig]
6158
6245
  attr_accessor :large_custom_dictionary
@@ -6217,9 +6304,9 @@ module Google
6217
6304
  # detected in the storedInfoType data that render it unusable. Only the five
6218
6305
  # most recent errors will be displayed, with the most recent error appearing
6219
6306
  # first. For example, some of the data for stored custom dictionaries is put in
6220
- # the user's Google Cloud Storage bucket, and if this data is modified or
6221
- # deleted by the user or another system, the dictionary becomes invalid. If any
6222
- # errors occur, fix the problem indicated by the error message and use the
6307
+ # the user's Cloud Storage bucket, and if this data is modified or deleted by
6308
+ # the user or another system, the dictionary becomes invalid. If any errors
6309
+ # occur, fix the problem indicated by the error message and use the
6223
6310
  # UpdateStoredInfoType API method to create another version of the
6224
6311
  # storedInfoType to continue using it, reusing the same `config` if it was not
6225
6312
  # the source of the error.
@@ -6374,7 +6461,7 @@ module Google
6374
6461
  attr_accessor :create_time
6375
6462
 
6376
6463
  # Score is a summary of all elements in the data profile. A higher number means
6377
- # more risky.
6464
+ # more risk.
6378
6465
  # Corresponds to the JSON property `dataRiskLevel`
6379
6466
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
6380
6467
  attr_accessor :data_risk_level
@@ -6668,7 +6755,7 @@ module Google
6668
6755
  end
6669
6756
 
6670
6757
  # Configuration of the timespan of the items to include in scanning. Currently
6671
- # only supported when inspecting Google Cloud Storage and BigQuery.
6758
+ # only supported when inspecting Cloud Storage and BigQuery.
6672
6759
  class GooglePrivacyDlpV2TimespanConfig
6673
6760
  include Google::Apis::Core::Hashable
6674
6761
 
@@ -6711,6 +6798,71 @@ module Google
6711
6798
  end
6712
6799
  end
6713
6800
 
6801
+ # User specified templates and configs for how to deidentify structured,
6802
+ # unstructures, and image files. User must provide either a unstructured
6803
+ # deidentify template or at least one redact image config.
6804
+ class GooglePrivacyDlpV2TransformationConfig
6805
+ include Google::Apis::Core::Hashable
6806
+
6807
+ # De-identify template. If this template is specified, it will serve as the
6808
+ # default de-identify template. This template cannot contain `
6809
+ # record_transformations` since it can be used for unstructured content such as
6810
+ # free-form text files. If this template is not set, a default `
6811
+ # ReplaceWithInfoTypeConfig` will be used to de-identify unstructured content.
6812
+ # Corresponds to the JSON property `deidentifyTemplate`
6813
+ # @return [String]
6814
+ attr_accessor :deidentify_template
6815
+
6816
+ # Image redact template. If this template is specified, it will serve as the de-
6817
+ # identify template for images. If this template is not set, all findings in the
6818
+ # image will be redacted with a black box.
6819
+ # Corresponds to the JSON property `imageRedactTemplate`
6820
+ # @return [String]
6821
+ attr_accessor :image_redact_template
6822
+
6823
+ # Structured de-identify template. If this template is specified, it will serve
6824
+ # as the de-identify template for structured content such as delimited files and
6825
+ # tables. If this template is not set but the `deidentify_template` is set, then
6826
+ # `deidentify_template` will also apply to the structured content. If neither
6827
+ # template is set, a default `ReplaceWithInfoTypeConfig` will be used to de-
6828
+ # identify structured content.
6829
+ # Corresponds to the JSON property `structuredDeidentifyTemplate`
6830
+ # @return [String]
6831
+ attr_accessor :structured_deidentify_template
6832
+
6833
+ def initialize(**args)
6834
+ update!(**args)
6835
+ end
6836
+
6837
+ # Update properties of this object
6838
+ def update!(**args)
6839
+ @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
6840
+ @image_redact_template = args[:image_redact_template] if args.key?(:image_redact_template)
6841
+ @structured_deidentify_template = args[:structured_deidentify_template] if args.key?(:structured_deidentify_template)
6842
+ end
6843
+ end
6844
+
6845
+ # Config for storing transformation details.
6846
+ class GooglePrivacyDlpV2TransformationDetailsStorageConfig
6847
+ include Google::Apis::Core::Hashable
6848
+
6849
+ # Message defining the location of a BigQuery table. A table is uniquely
6850
+ # identified by its project_id, dataset_id, and table_name. Within a query a
6851
+ # table is often referenced with a string in the format of: `:.` or `..`.
6852
+ # Corresponds to the JSON property `table`
6853
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable]
6854
+ attr_accessor :table
6855
+
6856
+ def initialize(**args)
6857
+ update!(**args)
6858
+ end
6859
+
6860
+ # Update properties of this object
6861
+ def update!(**args)
6862
+ @table = args[:table] if args.key?(:table)
6863
+ end
6864
+ end
6865
+
6714
6866
  # How to handle transformation errors during de-identification. A transformation
6715
6867
  # error occurs when the requested transformation is incompatible with the data.
6716
6868
  # For example, trying to de-identify an IP address using a `DateShift`
@@ -7109,6 +7261,31 @@ module Google
7109
7261
  end
7110
7262
  end
7111
7263
 
7264
+ # Details about each available version for an infotype.
7265
+ class GooglePrivacyDlpV2VersionDescription
7266
+ include Google::Apis::Core::Hashable
7267
+
7268
+ # Description of the version.
7269
+ # Corresponds to the JSON property `description`
7270
+ # @return [String]
7271
+ attr_accessor :description
7272
+
7273
+ # Name of the version
7274
+ # Corresponds to the JSON property `version`
7275
+ # @return [String]
7276
+ attr_accessor :version
7277
+
7278
+ def initialize(**args)
7279
+ update!(**args)
7280
+ end
7281
+
7282
+ # Update properties of this object
7283
+ def update!(**args)
7284
+ @description = args[:description] if args.key?(:description)
7285
+ @version = args[:version] if args.key?(:version)
7286
+ end
7287
+ end
7288
+
7112
7289
  # Message defining a list of words or phrases to search for in the data.
7113
7290
  class GooglePrivacyDlpV2WordList
7114
7291
  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.25.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.6.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220612"
25
+ REVISION = "20220730"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,12 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class GooglePrivacyDlpV2Deidentify
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
319
325
  class GooglePrivacyDlpV2DeidentifyConfig
320
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
327
 
@@ -1186,6 +1192,18 @@ module Google
1186
1192
  include Google::Apis::Core::JsonObjectSupport
1187
1193
  end
1188
1194
 
1195
+ class GooglePrivacyDlpV2TransformationConfig
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1201
+ class GooglePrivacyDlpV2TransformationDetailsStorageConfig
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1189
1207
  class GooglePrivacyDlpV2TransformationErrorHandling
1190
1208
  class Representation < Google::Apis::Core::JsonRepresentation; end
1191
1209
 
@@ -1258,6 +1276,12 @@ module Google
1258
1276
  include Google::Apis::Core::JsonObjectSupport
1259
1277
  end
1260
1278
 
1279
+ class GooglePrivacyDlpV2VersionDescription
1280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1281
+
1282
+ include Google::Apis::Core::JsonObjectSupport
1283
+ end
1284
+
1261
1285
  class GooglePrivacyDlpV2WordList
1262
1286
  class Representation < Google::Apis::Core::JsonRepresentation; end
1263
1287
 
@@ -1291,6 +1315,8 @@ module Google
1291
1315
  class GooglePrivacyDlpV2Action
1292
1316
  # @private
1293
1317
  class Representation < Google::Apis::Core::JsonRepresentation
1318
+ property :deidentify, as: 'deidentify', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Deidentify, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Deidentify::Representation
1319
+
1294
1320
  property :job_notification_emails, as: 'jobNotificationEmails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails::Representation
1295
1321
 
1296
1322
  property :pub_sub, as: 'pubSub', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub::Representation
@@ -1815,6 +1841,18 @@ module Google
1815
1841
  end
1816
1842
  end
1817
1843
 
1844
+ class GooglePrivacyDlpV2Deidentify
1845
+ # @private
1846
+ class Representation < Google::Apis::Core::JsonRepresentation
1847
+ property :cloud_storage_output, as: 'cloudStorageOutput'
1848
+ collection :file_types_to_transform, as: 'fileTypesToTransform'
1849
+ property :transformation_config, as: 'transformationConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationConfig::Representation
1850
+
1851
+ property :transformation_details_storage_config, as: 'transformationDetailsStorageConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDetailsStorageConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDetailsStorageConfig::Representation
1852
+
1853
+ end
1854
+ end
1855
+
1818
1856
  class GooglePrivacyDlpV2DeidentifyConfig
1819
1857
  # @private
1820
1858
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2205,6 +2243,8 @@ module Google
2205
2243
  property :display_name, as: 'displayName'
2206
2244
  property :name, as: 'name'
2207
2245
  collection :supported_by, as: 'supportedBy'
2246
+ collection :versions, as: 'versions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription::Representation
2247
+
2208
2248
  end
2209
2249
  end
2210
2250
 
@@ -3279,6 +3319,23 @@ module Google
3279
3319
  end
3280
3320
  end
3281
3321
 
3322
+ class GooglePrivacyDlpV2TransformationConfig
3323
+ # @private
3324
+ class Representation < Google::Apis::Core::JsonRepresentation
3325
+ property :deidentify_template, as: 'deidentifyTemplate'
3326
+ property :image_redact_template, as: 'imageRedactTemplate'
3327
+ property :structured_deidentify_template, as: 'structuredDeidentifyTemplate'
3328
+ end
3329
+ end
3330
+
3331
+ class GooglePrivacyDlpV2TransformationDetailsStorageConfig
3332
+ # @private
3333
+ class Representation < Google::Apis::Core::JsonRepresentation
3334
+ property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
3335
+
3336
+ end
3337
+ end
3338
+
3282
3339
  class GooglePrivacyDlpV2TransformationErrorHandling
3283
3340
  # @private
3284
3341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3402,6 +3459,14 @@ module Google
3402
3459
  end
3403
3460
  end
3404
3461
 
3462
+ class GooglePrivacyDlpV2VersionDescription
3463
+ # @private
3464
+ class Representation < Google::Apis::Core::JsonRepresentation
3465
+ property :description, as: 'description'
3466
+ property :version, as: 'version'
3467
+ end
3468
+ end
3469
+
3405
3470
  class GooglePrivacyDlpV2WordList
3406
3471
  # @private
3407
3472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,8 +51,8 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Returns a list of the sensitive information types that the DLP API supports.
55
- # See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
54
+ # Returns a list of the sensitive information types that DLP API supports. See
55
+ # https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
56
56
  # @param [String] filter
57
57
  # filter to only return infoTypes supported by certain parts of the API.
58
58
  # Defaults to supported_by=INSPECT.
@@ -94,8 +94,8 @@ module Google
94
94
  execute_or_queue_command(command, &block)
95
95
  end
96
96
 
97
- # Returns a list of the sensitive information types that the DLP API supports.
98
- # See https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
97
+ # Returns a list of the sensitive information types that DLP API supports. See
98
+ # https://cloud.google.com/dlp/docs/infotypes-reference to learn more.
99
99
  # @param [String] parent
100
100
  # The parent resource name. The format of this value is as follows: locations/
101
101
  # LOCATION_ID
@@ -137,7 +137,7 @@ module Google
137
137
  execute_or_queue_command(command, &block)
138
138
  end
139
139
 
140
- # Creates a DeidentifyTemplate for re-using frequently used configuration for de-
140
+ # Creates a DeidentifyTemplate for reusing frequently used configuration for de-
141
141
  # identifying content, images, and storage. See https://cloud.google.com/dlp/
142
142
  # docs/creating-templates-deid to learn more.
143
143
  # @param [String] parent
@@ -268,13 +268,13 @@ module Google
268
268
  # Comma separated list of fields to order by, followed by `asc` or `desc`
269
269
  # postfix. This list is case-insensitive, default sorting order is ascending,
270
270
  # redundant space characters are insignificant. Example: `name asc,update_time,
271
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
272
- # the template was created. - `update_time`: corresponds to time the template
273
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
274
- # corresponds to template's display name.
271
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
272
+ # time the template was created. - `update_time`: corresponds to the time the
273
+ # template was last updated. - `name`: corresponds to the template's name. - `
274
+ # display_name`: corresponds to the template's display name.
275
275
  # @param [Fixnum] page_size
276
- # Size of the page, can be limited by server. If zero server returns a page of
277
- # max size 100.
276
+ # Size of the page, can be limited by the server. If zero server returns a page
277
+ # of max size 100.
278
278
  # @param [String] page_token
279
279
  # Page token to continue retrieval. Comes from previous call to `
280
280
  # ListDeidentifyTemplates`.
@@ -345,7 +345,7 @@ module Google
345
345
  execute_or_queue_command(command, &block)
346
346
  end
347
347
 
348
- # Creates an InspectTemplate for re-using frequently used configuration for
348
+ # Creates an InspectTemplate for reusing frequently used configuration for
349
349
  # inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/
350
350
  # creating-templates to learn more.
351
351
  # @param [String] parent
@@ -476,13 +476,13 @@ module Google
476
476
  # Comma separated list of fields to order by, followed by `asc` or `desc`
477
477
  # postfix. This list is case-insensitive, default sorting order is ascending,
478
478
  # redundant space characters are insignificant. Example: `name asc,update_time,
479
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
480
- # the template was created. - `update_time`: corresponds to time the template
481
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
482
- # corresponds to template's display name.
479
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
480
+ # time the template was created. - `update_time`: corresponds to the time the
481
+ # template was last updated. - `name`: corresponds to the template's name. - `
482
+ # display_name`: corresponds to the template's display name.
483
483
  # @param [Fixnum] page_size
484
- # Size of the page, can be limited by server. If zero server returns a page of
485
- # max size 100.
484
+ # Size of the page, can be limited by the server. If zero server returns a page
485
+ # of max size 100.
486
486
  # @param [String] page_token
487
487
  # Page token to continue retrieval. Comes from previous call to `
488
488
  # ListInspectTemplates`.
@@ -553,7 +553,7 @@ module Google
553
553
  execute_or_queue_command(command, &block)
554
554
  end
555
555
 
556
- # Creates a DeidentifyTemplate for re-using frequently used configuration for de-
556
+ # Creates a DeidentifyTemplate for reusing frequently used configuration for de-
557
557
  # identifying content, images, and storage. See https://cloud.google.com/dlp/
558
558
  # docs/creating-templates-deid to learn more.
559
559
  # @param [String] parent
@@ -684,13 +684,13 @@ module Google
684
684
  # Comma separated list of fields to order by, followed by `asc` or `desc`
685
685
  # postfix. This list is case-insensitive, default sorting order is ascending,
686
686
  # redundant space characters are insignificant. Example: `name asc,update_time,
687
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
688
- # the template was created. - `update_time`: corresponds to time the template
689
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
690
- # corresponds to template's display name.
687
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
688
+ # time the template was created. - `update_time`: corresponds to the time the
689
+ # template was last updated. - `name`: corresponds to the template's name. - `
690
+ # display_name`: corresponds to the template's display name.
691
691
  # @param [Fixnum] page_size
692
- # Size of the page, can be limited by server. If zero server returns a page of
693
- # max size 100.
692
+ # Size of the page, can be limited by the server. If zero server returns a page
693
+ # of max size 100.
694
694
  # @param [String] page_token
695
695
  # Page token to continue retrieval. Comes from previous call to `
696
696
  # ListDeidentifyTemplates`.
@@ -780,25 +780,25 @@ module Google
780
780
  # has the form of ``field` `operator` `value``. * Supported fields/values for
781
781
  # inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `
782
782
  # inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The
783
- # resource name of the trigger that created job. - 'end_time` - Corresponds to
784
- # time the job finished. - 'start_time` - Corresponds to time the job finished. *
785
- # Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|
786
- # FINISHED|FAILED - 'end_time` - Corresponds to time the job finished. - '
787
- # start_time` - Corresponds to time the job finished. * The operator must be `=`
788
- # or `!=`. Examples: * inspected_storage = cloud_storage AND state = done *
789
- # inspected_storage = cloud_storage OR inspected_storage = bigquery *
790
- # inspected_storage = cloud_storage AND (state = done OR state = canceled) *
791
- # end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no
792
- # more than 500 characters.
783
+ # name of the trigger that created the job. - 'end_time` - Corresponds to the
784
+ # time the job finished. - 'start_time` - Corresponds to the time the job
785
+ # finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|
786
+ # CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job
787
+ # finished. - 'start_time` - Corresponds to the time the job finished. * The
788
+ # operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage
789
+ # AND state = done * inspected_storage = cloud_storage OR inspected_storage =
790
+ # bigquery * inspected_storage = cloud_storage AND (state = done OR state =
791
+ # canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field
792
+ # should be no more than 500 characters.
793
793
  # @param [String] location_id
794
794
  # Deprecated. This field has no effect.
795
795
  # @param [String] order_by
796
796
  # Comma separated list of fields to order by, followed by `asc` or `desc`
797
797
  # postfix. This list is case-insensitive, default sorting order is ascending,
798
798
  # redundant space characters are insignificant. Example: `name asc, end_time asc,
799
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
800
- # the job was created. - `end_time`: corresponds to time the job ended. - `name`:
801
- # corresponds to job's name. - `state`: corresponds to `state`
799
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
800
+ # time the job was created. - `end_time`: corresponds to the time the job ended.
801
+ # - `name`: corresponds to the job's name. - `state`: corresponds to `state`
802
802
  # @param [Fixnum] page_size
803
803
  # The standard list page size.
804
804
  # @param [String] page_token
@@ -838,7 +838,7 @@ module Google
838
838
  execute_or_queue_command(command, &block)
839
839
  end
840
840
 
841
- # Creates an InspectTemplate for re-using frequently used configuration for
841
+ # Creates an InspectTemplate for reusing frequently used configuration for
842
842
  # inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/
843
843
  # creating-templates to learn more.
844
844
  # @param [String] parent
@@ -969,13 +969,13 @@ module Google
969
969
  # Comma separated list of fields to order by, followed by `asc` or `desc`
970
970
  # postfix. This list is case-insensitive, default sorting order is ascending,
971
971
  # redundant space characters are insignificant. Example: `name asc,update_time,
972
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
973
- # the template was created. - `update_time`: corresponds to time the template
974
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
975
- # corresponds to template's display name.
972
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
973
+ # time the template was created. - `update_time`: corresponds to the time the
974
+ # template was last updated. - `name`: corresponds to the template's name. - `
975
+ # display_name`: corresponds to the template's display name.
976
976
  # @param [Fixnum] page_size
977
- # Size of the page, can be limited by server. If zero server returns a page of
978
- # max size 100.
977
+ # Size of the page, can be limited by the server. If zero server returns a page
978
+ # of max size 100.
979
979
  # @param [String] page_token
980
980
  # Page token to continue retrieval. Comes from previous call to `
981
981
  # ListInspectTemplates`.
@@ -1185,11 +1185,11 @@ module Google
1185
1185
  # desc` postfix. This list is case-insensitive, default sorting order is
1186
1186
  # ascending, redundant space characters are insignificant. Example: `name asc,
1187
1187
  # update_time, create_time desc` Supported fields are: - `create_time`:
1188
- # corresponds to time the JobTrigger was created. - `update_time`: corresponds
1189
- # to time the JobTrigger was last updated. - `last_run_time`: corresponds to the
1190
- # last time the JobTrigger ran. - `name`: corresponds to JobTrigger's name. - `
1191
- # display_name`: corresponds to JobTrigger's display name. - `status`:
1192
- # corresponds to JobTrigger's status.
1188
+ # corresponds to the time the JobTrigger was created. - `update_time`:
1189
+ # corresponds to the time the JobTrigger was last updated. - `last_run_time`:
1190
+ # corresponds to the last time the JobTrigger ran. - `name`: corresponds to the
1191
+ # JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display
1192
+ # name. - `status`: corresponds to JobTrigger's status.
1193
1193
  # @param [Fixnum] page_size
1194
1194
  # Size of the page, can be limited by a server.
1195
1195
  # @param [String] page_token
@@ -1395,13 +1395,13 @@ module Google
1395
1395
  # Comma separated list of fields to order by, followed by `asc` or `desc`
1396
1396
  # postfix. This list is case-insensitive, default sorting order is ascending,
1397
1397
  # redundant space characters are insignificant. Example: `name asc, display_name,
1398
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
1399
- # the most recent version of the resource was created. - `state`: corresponds to
1400
- # the state of the resource. - `name`: corresponds to resource name. - `
1401
- # display_name`: corresponds to info type's display name.
1398
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
1399
+ # time the most recent version of the resource was created. - `state`:
1400
+ # corresponds to the state of the resource. - `name`: corresponds to resource
1401
+ # name. - `display_name`: corresponds to info type's display name.
1402
1402
  # @param [Fixnum] page_size
1403
- # Size of the page, can be limited by server. If zero server returns a page of
1404
- # max size 100.
1403
+ # Size of the page, can be limited by the server. If zero server returns a page
1404
+ # of max size 100.
1405
1405
  # @param [String] page_token
1406
1406
  # Page token to continue retrieval. Comes from previous call to `
1407
1407
  # ListStoredInfoTypes`.
@@ -1603,13 +1603,13 @@ module Google
1603
1603
  # Comma separated list of fields to order by, followed by `asc` or `desc`
1604
1604
  # postfix. This list is case-insensitive, default sorting order is ascending,
1605
1605
  # redundant space characters are insignificant. Example: `name asc, display_name,
1606
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
1607
- # the most recent version of the resource was created. - `state`: corresponds to
1608
- # the state of the resource. - `name`: corresponds to resource name. - `
1609
- # display_name`: corresponds to info type's display name.
1606
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
1607
+ # time the most recent version of the resource was created. - `state`:
1608
+ # corresponds to the state of the resource. - `name`: corresponds to resource
1609
+ # name. - `display_name`: corresponds to info type's display name.
1610
1610
  # @param [Fixnum] page_size
1611
- # Size of the page, can be limited by server. If zero server returns a page of
1612
- # max size 100.
1611
+ # Size of the page, can be limited by the server. If zero server returns a page
1612
+ # of max size 100.
1613
1613
  # @param [String] page_token
1614
1614
  # Page token to continue retrieval. Comes from previous call to `
1615
1615
  # ListStoredInfoTypes`.
@@ -1813,7 +1813,7 @@ module Google
1813
1813
  execute_or_queue_command(command, &block)
1814
1814
  end
1815
1815
 
1816
- # Creates a DeidentifyTemplate for re-using frequently used configuration for de-
1816
+ # Creates a DeidentifyTemplate for reusing frequently used configuration for de-
1817
1817
  # identifying content, images, and storage. See https://cloud.google.com/dlp/
1818
1818
  # docs/creating-templates-deid to learn more.
1819
1819
  # @param [String] parent
@@ -1944,13 +1944,13 @@ module Google
1944
1944
  # Comma separated list of fields to order by, followed by `asc` or `desc`
1945
1945
  # postfix. This list is case-insensitive, default sorting order is ascending,
1946
1946
  # redundant space characters are insignificant. Example: `name asc,update_time,
1947
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
1948
- # the template was created. - `update_time`: corresponds to time the template
1949
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
1950
- # corresponds to template's display name.
1947
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
1948
+ # time the template was created. - `update_time`: corresponds to the time the
1949
+ # template was last updated. - `name`: corresponds to the template's name. - `
1950
+ # display_name`: corresponds to the template's display name.
1951
1951
  # @param [Fixnum] page_size
1952
- # Size of the page, can be limited by server. If zero server returns a page of
1953
- # max size 100.
1952
+ # Size of the page, can be limited by the server. If zero server returns a page
1953
+ # of max size 100.
1954
1954
  # @param [String] page_token
1955
1955
  # Page token to continue retrieval. Comes from previous call to `
1956
1956
  # ListDeidentifyTemplates`.
@@ -2103,7 +2103,7 @@ module Google
2103
2103
  end
2104
2104
 
2105
2105
  # Deletes a long-running DlpJob. This method indicates that the client is no
2106
- # longer interested in the DlpJob result. The job will be cancelled if possible.
2106
+ # longer interested in the DlpJob result. The job will be canceled if possible.
2107
2107
  # See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.
2108
2108
  # google.com/dlp/docs/compute-risk-analysis to learn more.
2109
2109
  # @param [String] name
@@ -2186,25 +2186,25 @@ module Google
2186
2186
  # has the form of ``field` `operator` `value``. * Supported fields/values for
2187
2187
  # inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `
2188
2188
  # inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The
2189
- # resource name of the trigger that created job. - 'end_time` - Corresponds to
2190
- # time the job finished. - 'start_time` - Corresponds to time the job finished. *
2191
- # Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|
2192
- # FINISHED|FAILED - 'end_time` - Corresponds to time the job finished. - '
2193
- # start_time` - Corresponds to time the job finished. * The operator must be `=`
2194
- # or `!=`. Examples: * inspected_storage = cloud_storage AND state = done *
2195
- # inspected_storage = cloud_storage OR inspected_storage = bigquery *
2196
- # inspected_storage = cloud_storage AND (state = done OR state = canceled) *
2197
- # end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no
2198
- # more than 500 characters.
2189
+ # name of the trigger that created the job. - 'end_time` - Corresponds to the
2190
+ # time the job finished. - 'start_time` - Corresponds to the time the job
2191
+ # finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|
2192
+ # CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job
2193
+ # finished. - 'start_time` - Corresponds to the time the job finished. * The
2194
+ # operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage
2195
+ # AND state = done * inspected_storage = cloud_storage OR inspected_storage =
2196
+ # bigquery * inspected_storage = cloud_storage AND (state = done OR state =
2197
+ # canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field
2198
+ # should be no more than 500 characters.
2199
2199
  # @param [String] location_id
2200
2200
  # Deprecated. This field has no effect.
2201
2201
  # @param [String] order_by
2202
2202
  # Comma separated list of fields to order by, followed by `asc` or `desc`
2203
2203
  # postfix. This list is case-insensitive, default sorting order is ascending,
2204
2204
  # redundant space characters are insignificant. Example: `name asc, end_time asc,
2205
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
2206
- # the job was created. - `end_time`: corresponds to time the job ended. - `name`:
2207
- # corresponds to job's name. - `state`: corresponds to `state`
2205
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
2206
+ # time the job was created. - `end_time`: corresponds to the time the job ended.
2207
+ # - `name`: corresponds to the job's name. - `state`: corresponds to `state`
2208
2208
  # @param [Fixnum] page_size
2209
2209
  # The standard list page size.
2210
2210
  # @param [String] page_token
@@ -2289,7 +2289,7 @@ module Google
2289
2289
  execute_or_queue_command(command, &block)
2290
2290
  end
2291
2291
 
2292
- # Creates an InspectTemplate for re-using frequently used configuration for
2292
+ # Creates an InspectTemplate for reusing frequently used configuration for
2293
2293
  # inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/
2294
2294
  # creating-templates to learn more.
2295
2295
  # @param [String] parent
@@ -2420,13 +2420,13 @@ module Google
2420
2420
  # Comma separated list of fields to order by, followed by `asc` or `desc`
2421
2421
  # postfix. This list is case-insensitive, default sorting order is ascending,
2422
2422
  # redundant space characters are insignificant. Example: `name asc,update_time,
2423
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
2424
- # the template was created. - `update_time`: corresponds to time the template
2425
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
2426
- # corresponds to template's display name.
2423
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
2424
+ # time the template was created. - `update_time`: corresponds to the time the
2425
+ # template was last updated. - `name`: corresponds to the template's name. - `
2426
+ # display_name`: corresponds to the template's display name.
2427
2427
  # @param [Fixnum] page_size
2428
- # Size of the page, can be limited by server. If zero server returns a page of
2429
- # max size 100.
2428
+ # Size of the page, can be limited by the server. If zero server returns a page
2429
+ # of max size 100.
2430
2430
  # @param [String] page_token
2431
2431
  # Page token to continue retrieval. Comes from previous call to `
2432
2432
  # ListInspectTemplates`.
@@ -2671,11 +2671,11 @@ module Google
2671
2671
  # desc` postfix. This list is case-insensitive, default sorting order is
2672
2672
  # ascending, redundant space characters are insignificant. Example: `name asc,
2673
2673
  # update_time, create_time desc` Supported fields are: - `create_time`:
2674
- # corresponds to time the JobTrigger was created. - `update_time`: corresponds
2675
- # to time the JobTrigger was last updated. - `last_run_time`: corresponds to the
2676
- # last time the JobTrigger ran. - `name`: corresponds to JobTrigger's name. - `
2677
- # display_name`: corresponds to JobTrigger's display name. - `status`:
2678
- # corresponds to JobTrigger's status.
2674
+ # corresponds to the time the JobTrigger was created. - `update_time`:
2675
+ # corresponds to the time the JobTrigger was last updated. - `last_run_time`:
2676
+ # corresponds to the last time the JobTrigger ran. - `name`: corresponds to the
2677
+ # JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display
2678
+ # name. - `status`: corresponds to JobTrigger's status.
2679
2679
  # @param [Fixnum] page_size
2680
2680
  # Size of the page, can be limited by a server.
2681
2681
  # @param [String] page_token
@@ -2883,7 +2883,7 @@ module Google
2883
2883
  execute_or_queue_command(command, &block)
2884
2884
  end
2885
2885
 
2886
- # Creates a DeidentifyTemplate for re-using frequently used configuration for de-
2886
+ # Creates a DeidentifyTemplate for reusing frequently used configuration for de-
2887
2887
  # identifying content, images, and storage. See https://cloud.google.com/dlp/
2888
2888
  # docs/creating-templates-deid to learn more.
2889
2889
  # @param [String] parent
@@ -3014,13 +3014,13 @@ module Google
3014
3014
  # Comma separated list of fields to order by, followed by `asc` or `desc`
3015
3015
  # postfix. This list is case-insensitive, default sorting order is ascending,
3016
3016
  # redundant space characters are insignificant. Example: `name asc,update_time,
3017
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
3018
- # the template was created. - `update_time`: corresponds to time the template
3019
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
3020
- # corresponds to template's display name.
3017
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
3018
+ # time the template was created. - `update_time`: corresponds to the time the
3019
+ # template was last updated. - `name`: corresponds to the template's name. - `
3020
+ # display_name`: corresponds to the template's display name.
3021
3021
  # @param [Fixnum] page_size
3022
- # Size of the page, can be limited by server. If zero server returns a page of
3023
- # max size 100.
3022
+ # Size of the page, can be limited by the server. If zero server returns a page
3023
+ # of max size 100.
3024
3024
  # @param [String] page_token
3025
3025
  # Page token to continue retrieval. Comes from previous call to `
3026
3026
  # ListDeidentifyTemplates`.
@@ -3173,7 +3173,7 @@ module Google
3173
3173
  end
3174
3174
 
3175
3175
  # Deletes a long-running DlpJob. This method indicates that the client is no
3176
- # longer interested in the DlpJob result. The job will be cancelled if possible.
3176
+ # longer interested in the DlpJob result. The job will be canceled if possible.
3177
3177
  # See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.
3178
3178
  # google.com/dlp/docs/compute-risk-analysis to learn more.
3179
3179
  # @param [String] name
@@ -3325,25 +3325,25 @@ module Google
3325
3325
  # has the form of ``field` `operator` `value``. * Supported fields/values for
3326
3326
  # inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `
3327
3327
  # inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The
3328
- # resource name of the trigger that created job. - 'end_time` - Corresponds to
3329
- # time the job finished. - 'start_time` - Corresponds to time the job finished. *
3330
- # Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|
3331
- # FINISHED|FAILED - 'end_time` - Corresponds to time the job finished. - '
3332
- # start_time` - Corresponds to time the job finished. * The operator must be `=`
3333
- # or `!=`. Examples: * inspected_storage = cloud_storage AND state = done *
3334
- # inspected_storage = cloud_storage OR inspected_storage = bigquery *
3335
- # inspected_storage = cloud_storage AND (state = done OR state = canceled) *
3336
- # end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no
3337
- # more than 500 characters.
3328
+ # name of the trigger that created the job. - 'end_time` - Corresponds to the
3329
+ # time the job finished. - 'start_time` - Corresponds to the time the job
3330
+ # finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|
3331
+ # CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job
3332
+ # finished. - 'start_time` - Corresponds to the time the job finished. * The
3333
+ # operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage
3334
+ # AND state = done * inspected_storage = cloud_storage OR inspected_storage =
3335
+ # bigquery * inspected_storage = cloud_storage AND (state = done OR state =
3336
+ # canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field
3337
+ # should be no more than 500 characters.
3338
3338
  # @param [String] location_id
3339
3339
  # Deprecated. This field has no effect.
3340
3340
  # @param [String] order_by
3341
3341
  # Comma separated list of fields to order by, followed by `asc` or `desc`
3342
3342
  # postfix. This list is case-insensitive, default sorting order is ascending,
3343
3343
  # redundant space characters are insignificant. Example: `name asc, end_time asc,
3344
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
3345
- # the job was created. - `end_time`: corresponds to time the job ended. - `name`:
3346
- # corresponds to job's name. - `state`: corresponds to `state`
3344
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
3345
+ # time the job was created. - `end_time`: corresponds to the time the job ended.
3346
+ # - `name`: corresponds to the job's name. - `state`: corresponds to `state`
3347
3347
  # @param [Fixnum] page_size
3348
3348
  # The standard list page size.
3349
3349
  # @param [String] page_token
@@ -3428,7 +3428,7 @@ module Google
3428
3428
  execute_or_queue_command(command, &block)
3429
3429
  end
3430
3430
 
3431
- # Creates an InspectTemplate for re-using frequently used configuration for
3431
+ # Creates an InspectTemplate for reusing frequently used configuration for
3432
3432
  # inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/
3433
3433
  # creating-templates to learn more.
3434
3434
  # @param [String] parent
@@ -3559,13 +3559,13 @@ module Google
3559
3559
  # Comma separated list of fields to order by, followed by `asc` or `desc`
3560
3560
  # postfix. This list is case-insensitive, default sorting order is ascending,
3561
3561
  # redundant space characters are insignificant. Example: `name asc,update_time,
3562
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
3563
- # the template was created. - `update_time`: corresponds to time the template
3564
- # was last updated. - `name`: corresponds to template's name. - `display_name`:
3565
- # corresponds to template's display name.
3562
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
3563
+ # time the template was created. - `update_time`: corresponds to the time the
3564
+ # template was last updated. - `name`: corresponds to the template's name. - `
3565
+ # display_name`: corresponds to the template's display name.
3566
3566
  # @param [Fixnum] page_size
3567
- # Size of the page, can be limited by server. If zero server returns a page of
3568
- # max size 100.
3567
+ # Size of the page, can be limited by the server. If zero server returns a page
3568
+ # of max size 100.
3569
3569
  # @param [String] page_token
3570
3570
  # Page token to continue retrieval. Comes from previous call to `
3571
3571
  # ListInspectTemplates`.
@@ -3846,11 +3846,11 @@ module Google
3846
3846
  # desc` postfix. This list is case-insensitive, default sorting order is
3847
3847
  # ascending, redundant space characters are insignificant. Example: `name asc,
3848
3848
  # update_time, create_time desc` Supported fields are: - `create_time`:
3849
- # corresponds to time the JobTrigger was created. - `update_time`: corresponds
3850
- # to time the JobTrigger was last updated. - `last_run_time`: corresponds to the
3851
- # last time the JobTrigger ran. - `name`: corresponds to JobTrigger's name. - `
3852
- # display_name`: corresponds to JobTrigger's display name. - `status`:
3853
- # corresponds to JobTrigger's status.
3849
+ # corresponds to the time the JobTrigger was created. - `update_time`:
3850
+ # corresponds to the time the JobTrigger was last updated. - `last_run_time`:
3851
+ # corresponds to the last time the JobTrigger ran. - `name`: corresponds to the
3852
+ # JobTrigger's name. - `display_name`: corresponds to the JobTrigger's display
3853
+ # name. - `status`: corresponds to JobTrigger's status.
3854
3854
  # @param [Fixnum] page_size
3855
3855
  # Size of the page, can be limited by a server.
3856
3856
  # @param [String] page_token
@@ -4056,13 +4056,13 @@ module Google
4056
4056
  # Comma separated list of fields to order by, followed by `asc` or `desc`
4057
4057
  # postfix. This list is case-insensitive, default sorting order is ascending,
4058
4058
  # redundant space characters are insignificant. Example: `name asc, display_name,
4059
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
4060
- # the most recent version of the resource was created. - `state`: corresponds to
4061
- # the state of the resource. - `name`: corresponds to resource name. - `
4062
- # display_name`: corresponds to info type's display name.
4059
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
4060
+ # time the most recent version of the resource was created. - `state`:
4061
+ # corresponds to the state of the resource. - `name`: corresponds to resource
4062
+ # name. - `display_name`: corresponds to info type's display name.
4063
4063
  # @param [Fixnum] page_size
4064
- # Size of the page, can be limited by server. If zero server returns a page of
4065
- # max size 100.
4064
+ # Size of the page, can be limited by the server. If zero server returns a page
4065
+ # of max size 100.
4066
4066
  # @param [String] page_token
4067
4067
  # Page token to continue retrieval. Comes from previous call to `
4068
4068
  # ListStoredInfoTypes`.
@@ -4264,13 +4264,13 @@ module Google
4264
4264
  # Comma separated list of fields to order by, followed by `asc` or `desc`
4265
4265
  # postfix. This list is case-insensitive, default sorting order is ascending,
4266
4266
  # redundant space characters are insignificant. Example: `name asc, display_name,
4267
- # create_time desc` Supported fields are: - `create_time`: corresponds to time
4268
- # the most recent version of the resource was created. - `state`: corresponds to
4269
- # the state of the resource. - `name`: corresponds to resource name. - `
4270
- # display_name`: corresponds to info type's display name.
4267
+ # create_time desc` Supported fields are: - `create_time`: corresponds to the
4268
+ # time the most recent version of the resource was created. - `state`:
4269
+ # corresponds to the state of the resource. - `name`: corresponds to resource
4270
+ # name. - `display_name`: corresponds to info type's display name.
4271
4271
  # @param [Fixnum] page_size
4272
- # Size of the page, can be limited by server. If zero server returns a page of
4273
- # max size 100.
4272
+ # Size of the page, can be limited by the server. If zero server returns a page
4273
+ # of max size 100.
4274
4274
  # @param [String] page_token
4275
4275
  # Page token to continue retrieval. Comes from previous call to `
4276
4276
  # ListStoredInfoTypes`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.6'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.6'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
63
63
  post_install_message:
64
64
  rdoc_options: []