google-apis-dlp_v2 0.29.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12be94758a07bace3bb3bfb163c33b0b24a78f74e0db3f14487a489c58374769
4
- data.tar.gz: 0b7d2b7bc38226fdf3f6651a579f284aba4da659f630fd5dc6e20088bb8f4efb
3
+ metadata.gz: bad1c43f2104ddc3579b53b856c945f93493d721fc751b85145077fbac0448de
4
+ data.tar.gz: 84a89963ca746f1e6ff788bb0a204d34f7614b515777fa55b2362cfcdec75227
5
5
  SHA512:
6
- metadata.gz: b05da4782287aeb37c414df67d5f031a854f52fe9dc91e1a81d6bd042611b28e706c73c151fb23ef0c6c8ef70a279d983ee07462701d238294179549fa1e9f4c
7
- data.tar.gz: 0f60c687e7061401f310e224a92a300dcf860b130e997dad7c1988f66d050e8a7b27653cedc27b4682fe19da399063a42b025e964570d7a5d24c803ca8ee571c
6
+ metadata.gz: 41769fcc801fd628a33251c46c9b420c21ebb51d5ef7910ac8d6613cbfe718f5a36a6626fe859311eb830a68c6f5d6c310bb12b9c3973790c88dd5b526def391
7
+ data.tar.gz: 8e6a7dab301ff08c9bc15a9e6582ecfb84276cfad5420bcc933cc1bd6d05324f5f48eea80dc6fc3e7f48363e4c891645476b93ea9f312af924d35ad203f197c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.30.0 (2022-08-21)
4
+
5
+ * Regenerated from discovery document revision 20220812
6
+
3
7
  ### v0.29.0 (2022-08-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20220806
@@ -27,7 +27,7 @@ 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
30
+ # Create a de-identified copy of the requested table or files. A
31
31
  # TransformationDetail will be created for each transformation. If any rows in
32
32
  # BigQuery are skipped during de-identification (transformation errors or row
33
33
  # size exceeds BigQuery insert API limits) they are placed in the failure output
@@ -41,8 +41,9 @@ module Google
41
41
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Deidentify]
42
42
  attr_accessor :deidentify
43
43
 
44
- # Enable email notification to project owners and editors on jobs's completion/
45
- # failure.
44
+ # Sends an email when the job completes. The email goes to IAM project owners
45
+ # and technical [Essential Contacts](https://cloud.google.com/resource-manager/
46
+ # docs/managing-notification-contacts).
46
47
  # Corresponds to the JSON property `jobNotificationEmails`
47
48
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobNotificationEmails]
48
49
  attr_accessor :job_notification_emails
@@ -127,6 +128,32 @@ module Google
127
128
  end
128
129
  end
129
130
 
131
+ # Apply transformation to all findings.
132
+ class GooglePrivacyDlpV2AllInfoTypes
133
+ include Google::Apis::Core::Hashable
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ end
142
+ end
143
+
144
+ # Apply to all text.
145
+ class GooglePrivacyDlpV2AllText
146
+ include Google::Apis::Core::Hashable
147
+
148
+ def initialize(**args)
149
+ update!(**args)
150
+ end
151
+
152
+ # Update properties of this object
153
+ def update!(**args)
154
+ end
155
+ end
156
+
130
157
  # Result of a risk analysis operation request.
131
158
  class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
132
159
  include Google::Apis::Core::Hashable
@@ -1916,7 +1943,7 @@ module Google
1916
1943
  end
1917
1944
  end
1918
1945
 
1919
- # Create a de-identified copy of the requested table or files. . A
1946
+ # Create a de-identified copy of the requested table or files. A
1920
1947
  # TransformationDetail will be created for each transformation. If any rows in
1921
1948
  # BigQuery are skipped during de-identification (transformation errors or row
1922
1949
  # size exceeds BigQuery insert API limits) they are placed in the failure output
@@ -1929,11 +1956,11 @@ module Google
1929
1956
  class GooglePrivacyDlpV2Deidentify
1930
1957
  include Google::Apis::Core::Hashable
1931
1958
 
1932
- # Required. User settable GCS bucket and folders to store de-identified files.
1933
- # This field must be set for cloud storage deidentification. The output GCS
1934
- # bucket must be different from the input bucket. De-identified files will
1935
- # overwrite files in the output path. Form of: gs://bucket/folder/ or gs://
1936
- # bucket
1959
+ # Required. User settable Cloud Storage bucket and folders to store de-
1960
+ # identified files. This field must be set for cloud storage deidentification.
1961
+ # The output Cloud Storage bucket must be different from the input bucket. De-
1962
+ # identified files will overwrite files in the output path. Form of: gs://bucket/
1963
+ # folder/ or gs://bucket
1937
1964
  # Corresponds to the JSON property `cloudStorageOutput`
1938
1965
  # @return [String]
1939
1966
  attr_accessor :cloud_storage_output
@@ -1977,6 +2004,11 @@ module Google
1977
2004
  class GooglePrivacyDlpV2DeidentifyConfig
1978
2005
  include Google::Apis::Core::Hashable
1979
2006
 
2007
+ # A type of transformation that is applied over images.
2008
+ # Corresponds to the JSON property `imageTransformations`
2009
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations]
2010
+ attr_accessor :image_transformations
2011
+
1980
2012
  # A type of transformation that will scan unstructured text and apply various `
1981
2013
  # PrimitiveTransformation`s to each finding, where the transformation is applied
1982
2014
  # to only values that were identified as a specific info_type.
@@ -2006,6 +2038,7 @@ module Google
2006
2038
 
2007
2039
  # Update properties of this object
2008
2040
  def update!(**args)
2041
+ @image_transformations = args[:image_transformations] if args.key?(:image_transformations)
2009
2042
  @info_type_transformations = args[:info_type_transformations] if args.key?(:info_type_transformations)
2010
2043
  @record_transformations = args[:record_transformations] if args.key?(:record_transformations)
2011
2044
  @transformation_error_handling = args[:transformation_error_handling] if args.key?(:transformation_error_handling)
@@ -3246,6 +3279,62 @@ module Google
3246
3279
  end
3247
3280
  end
3248
3281
 
3282
+ # Configuration for determining how redaction of images should occur.
3283
+ class GooglePrivacyDlpV2ImageTransformation
3284
+ include Google::Apis::Core::Hashable
3285
+
3286
+ # Apply transformation to all findings.
3287
+ # Corresponds to the JSON property `allInfoTypes`
3288
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllInfoTypes]
3289
+ attr_accessor :all_info_types
3290
+
3291
+ # Apply to all text.
3292
+ # Corresponds to the JSON property `allText`
3293
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllText]
3294
+ attr_accessor :all_text
3295
+
3296
+ # Represents a color in the RGB color space.
3297
+ # Corresponds to the JSON property `redactionColor`
3298
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Color]
3299
+ attr_accessor :redaction_color
3300
+
3301
+ # Apply transformation to the selected info_types.
3302
+ # Corresponds to the JSON property `selectedInfoTypes`
3303
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SelectedInfoTypes]
3304
+ attr_accessor :selected_info_types
3305
+
3306
+ def initialize(**args)
3307
+ update!(**args)
3308
+ end
3309
+
3310
+ # Update properties of this object
3311
+ def update!(**args)
3312
+ @all_info_types = args[:all_info_types] if args.key?(:all_info_types)
3313
+ @all_text = args[:all_text] if args.key?(:all_text)
3314
+ @redaction_color = args[:redaction_color] if args.key?(:redaction_color)
3315
+ @selected_info_types = args[:selected_info_types] if args.key?(:selected_info_types)
3316
+ end
3317
+ end
3318
+
3319
+ # A type of transformation that is applied over images.
3320
+ class GooglePrivacyDlpV2ImageTransformations
3321
+ include Google::Apis::Core::Hashable
3322
+
3323
+ #
3324
+ # Corresponds to the JSON property `transforms`
3325
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation>]
3326
+ attr_accessor :transforms
3327
+
3328
+ def initialize(**args)
3329
+ update!(**args)
3330
+ end
3331
+
3332
+ # Update properties of this object
3333
+ def update!(**args)
3334
+ @transforms = args[:transforms] if args.key?(:transforms)
3335
+ end
3336
+ end
3337
+
3249
3338
  # Type of information detected by the API.
3250
3339
  class GooglePrivacyDlpV2InfoType
3251
3340
  include Google::Apis::Core::Hashable
@@ -3830,8 +3919,9 @@ module Google
3830
3919
  end
3831
3920
  end
3832
3921
 
3833
- # Enable email notification to project owners and editors on jobs's completion/
3834
- # failure.
3922
+ # Sends an email when the job completes. The email goes to IAM project owners
3923
+ # and technical [Essential Contacts](https://cloud.google.com/resource-manager/
3924
+ # docs/managing-notification-contacts).
3835
3925
  class GooglePrivacyDlpV2JobNotificationEmails
3836
3926
  include Google::Apis::Core::Hashable
3837
3927
 
@@ -5580,6 +5670,37 @@ module Google
5580
5670
  end
5581
5671
  end
5582
5672
 
5673
+ #
5674
+ class GooglePrivacyDlpV2RecordTransformation
5675
+ include Google::Apis::Core::Hashable
5676
+
5677
+ # Findings container modification timestamp, if applicable.
5678
+ # Corresponds to the JSON property `containerTimestamp`
5679
+ # @return [String]
5680
+ attr_accessor :container_timestamp
5681
+
5682
+ # Container version, if available ("generation" for Cloud Storage).
5683
+ # Corresponds to the JSON property `containerVersion`
5684
+ # @return [String]
5685
+ attr_accessor :container_version
5686
+
5687
+ # General identifier of a data field in a storage service.
5688
+ # Corresponds to the JSON property `fieldId`
5689
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId]
5690
+ attr_accessor :field_id
5691
+
5692
+ def initialize(**args)
5693
+ update!(**args)
5694
+ end
5695
+
5696
+ # Update properties of this object
5697
+ def update!(**args)
5698
+ @container_timestamp = args[:container_timestamp] if args.key?(:container_timestamp)
5699
+ @container_version = args[:container_version] if args.key?(:container_version)
5700
+ @field_id = args[:field_id] if args.key?(:field_id)
5701
+ end
5702
+ end
5703
+
5583
5704
  # A type of transformation that is applied over structured data such as a table.
5584
5705
  class GooglePrivacyDlpV2RecordTransformations
5585
5706
  include Google::Apis::Core::Hashable
@@ -6050,6 +6171,26 @@ module Google
6050
6171
  end
6051
6172
  end
6052
6173
 
6174
+ # Apply transformation to the selected info_types.
6175
+ class GooglePrivacyDlpV2SelectedInfoTypes
6176
+ include Google::Apis::Core::Hashable
6177
+
6178
+ # Required. InfoTypes to apply the transformation to. Required. Provided
6179
+ # InfoType must be unique within the ImageTransformations message.
6180
+ # Corresponds to the JSON property `infoTypes`
6181
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType>]
6182
+ attr_accessor :info_types
6183
+
6184
+ def initialize(**args)
6185
+ update!(**args)
6186
+ end
6187
+
6188
+ # Update properties of this object
6189
+ def update!(**args)
6190
+ @info_types = args[:info_types] if args.key?(:info_types)
6191
+ end
6192
+ end
6193
+
6053
6194
  # Score is a summary of all elements in the data profile. A higher number means
6054
6195
  # more sensitive.
6055
6196
  class GooglePrivacyDlpV2SensitivityScore
@@ -6850,6 +6991,111 @@ module Google
6850
6991
  end
6851
6992
  end
6852
6993
 
6994
+ # A flattened description of a `PrimitiveTransformation` or `RecordSuppression`.
6995
+ class GooglePrivacyDlpV2TransformationDescription
6996
+ include Google::Apis::Core::Hashable
6997
+
6998
+ # A human-readable string representation of the `RecordCondition` corresponding
6999
+ # to this transformation. Set if a `RecordCondition` was used to determine
7000
+ # whether or not to apply this transformation. Examples: * (age_field > 85) * (
7001
+ # age_field <= 18) * (zip_field exists) * (zip_field == 01234) && (city_field !=
7002
+ # "Springville") * (zip_field == 01234) && (age_field <= 18) && (city_field
7003
+ # exists)
7004
+ # Corresponds to the JSON property `condition`
7005
+ # @return [String]
7006
+ attr_accessor :condition
7007
+
7008
+ # A description of the transformation. This is empty for a RECORD_SUPPRESSION,
7009
+ # or is the output of calling toString() on the `PrimitiveTransformation`
7010
+ # protocol buffer message for any other type of transformation.
7011
+ # Corresponds to the JSON property `description`
7012
+ # @return [String]
7013
+ attr_accessor :description
7014
+
7015
+ # Type of information detected by the API.
7016
+ # Corresponds to the JSON property `infoType`
7017
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
7018
+ attr_accessor :info_type
7019
+
7020
+ # The transformation type.
7021
+ # Corresponds to the JSON property `type`
7022
+ # @return [String]
7023
+ attr_accessor :type
7024
+
7025
+ def initialize(**args)
7026
+ update!(**args)
7027
+ end
7028
+
7029
+ # Update properties of this object
7030
+ def update!(**args)
7031
+ @condition = args[:condition] if args.key?(:condition)
7032
+ @description = args[:description] if args.key?(:description)
7033
+ @info_type = args[:info_type] if args.key?(:info_type)
7034
+ @type = args[:type] if args.key?(:type)
7035
+ end
7036
+ end
7037
+
7038
+ # Details about a single transformation. This object contains a description of
7039
+ # the transformation, information about whether the transformation was
7040
+ # successfully applied, and the precise location where the transformation
7041
+ # occurred. These details are stored in a user-specified BigQuery table.
7042
+ class GooglePrivacyDlpV2TransformationDetails
7043
+ include Google::Apis::Core::Hashable
7044
+
7045
+ # The top level name of the container where the transformation is located (this
7046
+ # will be the source file name or table name).
7047
+ # Corresponds to the JSON property `containerName`
7048
+ # @return [String]
7049
+ attr_accessor :container_name
7050
+
7051
+ # The name of the job that completed the transformation.
7052
+ # Corresponds to the JSON property `resourceName`
7053
+ # @return [String]
7054
+ attr_accessor :resource_name
7055
+
7056
+ # Status of the transformation, if transformation was not successful, this will
7057
+ # specify what caused it to fail, otherwise it will show that the transformation
7058
+ # was successful.
7059
+ # Corresponds to the JSON property `statusDetails`
7060
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationResultStatus]
7061
+ attr_accessor :status_details
7062
+
7063
+ # Description of transformation. This would only contain more than one element
7064
+ # if there were multiple matching transformations and which one to apply was
7065
+ # ambiguous. Not set for states that contain no transformation, currently only
7066
+ # state that contains no transformation is TransformationResultStateType.
7067
+ # METADATA_UNRETRIEVABLE.
7068
+ # Corresponds to the JSON property `transformation`
7069
+ # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDescription>]
7070
+ attr_accessor :transformation
7071
+
7072
+ # Specifies the location of a transformation.
7073
+ # Corresponds to the JSON property `transformationLocation`
7074
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationLocation]
7075
+ attr_accessor :transformation_location
7076
+
7077
+ # The number of bytes that were transformed. If transformation was unsuccessful
7078
+ # or did not take place because there was no content to transform, this will be
7079
+ # zero.
7080
+ # Corresponds to the JSON property `transformedBytes`
7081
+ # @return [Fixnum]
7082
+ attr_accessor :transformed_bytes
7083
+
7084
+ def initialize(**args)
7085
+ update!(**args)
7086
+ end
7087
+
7088
+ # Update properties of this object
7089
+ def update!(**args)
7090
+ @container_name = args[:container_name] if args.key?(:container_name)
7091
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
7092
+ @status_details = args[:status_details] if args.key?(:status_details)
7093
+ @transformation = args[:transformation] if args.key?(:transformation)
7094
+ @transformation_location = args[:transformation_location] if args.key?(:transformation_location)
7095
+ @transformed_bytes = args[:transformed_bytes] if args.key?(:transformed_bytes)
7096
+ end
7097
+ end
7098
+
6853
7099
  # Config for storing transformation details.
6854
7100
  class GooglePrivacyDlpV2TransformationDetailsStorageConfig
6855
7101
  include Google::Apis::Core::Hashable
@@ -6904,6 +7150,42 @@ module Google
6904
7150
  end
6905
7151
  end
6906
7152
 
7153
+ # Specifies the location of a transformation.
7154
+ class GooglePrivacyDlpV2TransformationLocation
7155
+ include Google::Apis::Core::Hashable
7156
+
7157
+ # Information about the functionality of the container where this finding
7158
+ # occurred, if available.
7159
+ # Corresponds to the JSON property `containerType`
7160
+ # @return [String]
7161
+ attr_accessor :container_type
7162
+
7163
+ # For infotype transformations, link to the corresponding findings ID so that
7164
+ # location information does not need to be duplicated. Each findings ID
7165
+ # correlates to an entry in the findings output table, this table only gets
7166
+ # created when users specify to save findings (add the save findings action to
7167
+ # the request).
7168
+ # Corresponds to the JSON property `findingId`
7169
+ # @return [String]
7170
+ attr_accessor :finding_id
7171
+
7172
+ # For record transformations, provide a field and container information.
7173
+ # Corresponds to the JSON property `recordTransformation`
7174
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformation]
7175
+ attr_accessor :record_transformation
7176
+
7177
+ def initialize(**args)
7178
+ update!(**args)
7179
+ end
7180
+
7181
+ # Update properties of this object
7182
+ def update!(**args)
7183
+ @container_type = args[:container_type] if args.key?(:container_type)
7184
+ @finding_id = args[:finding_id] if args.key?(:finding_id)
7185
+ @record_transformation = args[:record_transformation] if args.key?(:record_transformation)
7186
+ end
7187
+ end
7188
+
6907
7189
  # Overview of the modifications that occurred.
6908
7190
  class GooglePrivacyDlpV2TransformationOverview
6909
7191
  include Google::Apis::Core::Hashable
@@ -6929,6 +7211,37 @@ module Google
6929
7211
  end
6930
7212
  end
6931
7213
 
7214
+ #
7215
+ class GooglePrivacyDlpV2TransformationResultStatus
7216
+ include Google::Apis::Core::Hashable
7217
+
7218
+ # The `Status` type defines a logical error model that is suitable for different
7219
+ # programming environments, including REST APIs and RPC APIs. It is used by [
7220
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
7221
+ # data: error code, error message, and error details. You can find out more
7222
+ # about this error model and how to work with it in the [API Design Guide](https:
7223
+ # //cloud.google.com/apis/design/errors).
7224
+ # Corresponds to the JSON property `details`
7225
+ # @return [Google::Apis::DlpV2::GoogleRpcStatus]
7226
+ attr_accessor :details
7227
+
7228
+ # Transformation result status type, this will be either SUCCESS, or it will be
7229
+ # the reason for why the transformation was not completely successful.
7230
+ # Corresponds to the JSON property `resultStatusType`
7231
+ # @return [String]
7232
+ attr_accessor :result_status_type
7233
+
7234
+ def initialize(**args)
7235
+ update!(**args)
7236
+ end
7237
+
7238
+ # Update properties of this object
7239
+ def update!(**args)
7240
+ @details = args[:details] if args.key?(:details)
7241
+ @result_status_type = args[:result_status_type] if args.key?(:result_status_type)
7242
+ end
7243
+ end
7244
+
6932
7245
  # Summary of a single transformation. Only one of 'transformation', '
6933
7246
  # field_transformation', or 'record_suppress' will be set.
6934
7247
  class GooglePrivacyDlpV2TransformationSummary
@@ -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.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220806"
25
+ REVISION = "20220812"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,18 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class GooglePrivacyDlpV2AllInfoTypes
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GooglePrivacyDlpV2AllText
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
37
49
  class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
38
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
51
 
@@ -532,6 +544,18 @@ module Google
532
544
  include Google::Apis::Core::JsonObjectSupport
533
545
  end
534
546
 
547
+ class GooglePrivacyDlpV2ImageTransformation
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class GooglePrivacyDlpV2ImageTransformations
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
535
559
  class GooglePrivacyDlpV2InfoType
536
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
537
561
 
@@ -970,6 +994,12 @@ module Google
970
994
  include Google::Apis::Core::JsonObjectSupport
971
995
  end
972
996
 
997
+ class GooglePrivacyDlpV2RecordTransformation
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
973
1003
  class GooglePrivacyDlpV2RecordTransformations
974
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
1005
 
@@ -1072,6 +1102,12 @@ module Google
1072
1102
  include Google::Apis::Core::JsonObjectSupport
1073
1103
  end
1074
1104
 
1105
+ class GooglePrivacyDlpV2SelectedInfoTypes
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1075
1111
  class GooglePrivacyDlpV2SensitivityScore
1076
1112
  class Representation < Google::Apis::Core::JsonRepresentation; end
1077
1113
 
@@ -1198,6 +1234,18 @@ module Google
1198
1234
  include Google::Apis::Core::JsonObjectSupport
1199
1235
  end
1200
1236
 
1237
+ class GooglePrivacyDlpV2TransformationDescription
1238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1239
+
1240
+ include Google::Apis::Core::JsonObjectSupport
1241
+ end
1242
+
1243
+ class GooglePrivacyDlpV2TransformationDetails
1244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1245
+
1246
+ include Google::Apis::Core::JsonObjectSupport
1247
+ end
1248
+
1201
1249
  class GooglePrivacyDlpV2TransformationDetailsStorageConfig
1202
1250
  class Representation < Google::Apis::Core::JsonRepresentation; end
1203
1251
 
@@ -1210,12 +1258,24 @@ module Google
1210
1258
  include Google::Apis::Core::JsonObjectSupport
1211
1259
  end
1212
1260
 
1261
+ class GooglePrivacyDlpV2TransformationLocation
1262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1263
+
1264
+ include Google::Apis::Core::JsonObjectSupport
1265
+ end
1266
+
1213
1267
  class GooglePrivacyDlpV2TransformationOverview
1214
1268
  class Representation < Google::Apis::Core::JsonRepresentation; end
1215
1269
 
1216
1270
  include Google::Apis::Core::JsonObjectSupport
1217
1271
  end
1218
1272
 
1273
+ class GooglePrivacyDlpV2TransformationResultStatus
1274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1275
+
1276
+ include Google::Apis::Core::JsonObjectSupport
1277
+ end
1278
+
1219
1279
  class GooglePrivacyDlpV2TransformationSummary
1220
1280
  class Representation < Google::Apis::Core::JsonRepresentation; end
1221
1281
 
@@ -1338,6 +1398,18 @@ module Google
1338
1398
  end
1339
1399
  end
1340
1400
 
1401
+ class GooglePrivacyDlpV2AllInfoTypes
1402
+ # @private
1403
+ class Representation < Google::Apis::Core::JsonRepresentation
1404
+ end
1405
+ end
1406
+
1407
+ class GooglePrivacyDlpV2AllText
1408
+ # @private
1409
+ class Representation < Google::Apis::Core::JsonRepresentation
1410
+ end
1411
+ end
1412
+
1341
1413
  class GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails
1342
1414
  # @private
1343
1415
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1856,6 +1928,8 @@ module Google
1856
1928
  class GooglePrivacyDlpV2DeidentifyConfig
1857
1929
  # @private
1858
1930
  class Representation < Google::Apis::Core::JsonRepresentation
1931
+ property :image_transformations, as: 'imageTransformations', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations::Representation
1932
+
1859
1933
  property :info_type_transformations, as: 'infoTypeTransformations', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations::Representation
1860
1934
 
1861
1935
  property :record_transformations, as: 'recordTransformations', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations::Representation
@@ -2217,6 +2291,28 @@ module Google
2217
2291
  end
2218
2292
  end
2219
2293
 
2294
+ class GooglePrivacyDlpV2ImageTransformation
2295
+ # @private
2296
+ class Representation < Google::Apis::Core::JsonRepresentation
2297
+ property :all_info_types, as: 'allInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllInfoTypes::Representation
2298
+
2299
+ property :all_text, as: 'allText', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllText, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllText::Representation
2300
+
2301
+ property :redaction_color, as: 'redactionColor', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Color, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Color::Representation
2302
+
2303
+ property :selected_info_types, as: 'selectedInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SelectedInfoTypes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SelectedInfoTypes::Representation
2304
+
2305
+ end
2306
+ end
2307
+
2308
+ class GooglePrivacyDlpV2ImageTransformations
2309
+ # @private
2310
+ class Representation < Google::Apis::Core::JsonRepresentation
2311
+ collection :transforms, as: 'transforms', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation::Representation
2312
+
2313
+ end
2314
+ end
2315
+
2220
2316
  class GooglePrivacyDlpV2InfoType
2221
2317
  # @private
2222
2318
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2941,6 +3037,16 @@ module Google
2941
3037
  end
2942
3038
  end
2943
3039
 
3040
+ class GooglePrivacyDlpV2RecordTransformation
3041
+ # @private
3042
+ class Representation < Google::Apis::Core::JsonRepresentation
3043
+ property :container_timestamp, as: 'containerTimestamp'
3044
+ property :container_version, as: 'containerVersion'
3045
+ property :field_id, as: 'fieldId', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
3046
+
3047
+ end
3048
+ end
3049
+
2944
3050
  class GooglePrivacyDlpV2RecordTransformations
2945
3051
  # @private
2946
3052
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3101,6 +3207,14 @@ module Google
3101
3207
  end
3102
3208
  end
3103
3209
 
3210
+ class GooglePrivacyDlpV2SelectedInfoTypes
3211
+ # @private
3212
+ class Representation < Google::Apis::Core::JsonRepresentation
3213
+ collection :info_types, as: 'infoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
3214
+
3215
+ end
3216
+ end
3217
+
3104
3218
  class GooglePrivacyDlpV2SensitivityScore
3105
3219
  # @private
3106
3220
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3328,6 +3442,32 @@ module Google
3328
3442
  end
3329
3443
  end
3330
3444
 
3445
+ class GooglePrivacyDlpV2TransformationDescription
3446
+ # @private
3447
+ class Representation < Google::Apis::Core::JsonRepresentation
3448
+ property :condition, as: 'condition'
3449
+ property :description, as: 'description'
3450
+ property :info_type, as: 'infoType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType::Representation
3451
+
3452
+ property :type, as: 'type'
3453
+ end
3454
+ end
3455
+
3456
+ class GooglePrivacyDlpV2TransformationDetails
3457
+ # @private
3458
+ class Representation < Google::Apis::Core::JsonRepresentation
3459
+ property :container_name, as: 'containerName'
3460
+ property :resource_name, as: 'resourceName'
3461
+ property :status_details, as: 'statusDetails', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationResultStatus, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationResultStatus::Representation
3462
+
3463
+ collection :transformation, as: 'transformation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDescription, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationDescription::Representation
3464
+
3465
+ property :transformation_location, as: 'transformationLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TransformationLocation::Representation
3466
+
3467
+ property :transformed_bytes, :numeric_string => true, as: 'transformedBytes'
3468
+ end
3469
+ end
3470
+
3331
3471
  class GooglePrivacyDlpV2TransformationDetailsStorageConfig
3332
3472
  # @private
3333
3473
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3346,6 +3486,16 @@ module Google
3346
3486
  end
3347
3487
  end
3348
3488
 
3489
+ class GooglePrivacyDlpV2TransformationLocation
3490
+ # @private
3491
+ class Representation < Google::Apis::Core::JsonRepresentation
3492
+ property :container_type, as: 'containerType'
3493
+ property :finding_id, as: 'findingId'
3494
+ property :record_transformation, as: 'recordTransformation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformation::Representation
3495
+
3496
+ end
3497
+ end
3498
+
3349
3499
  class GooglePrivacyDlpV2TransformationOverview
3350
3500
  # @private
3351
3501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3355,6 +3505,15 @@ module Google
3355
3505
  end
3356
3506
  end
3357
3507
 
3508
+ class GooglePrivacyDlpV2TransformationResultStatus
3509
+ # @private
3510
+ class Representation < Google::Apis::Core::JsonRepresentation
3511
+ property :details, as: 'details', class: Google::Apis::DlpV2::GoogleRpcStatus, decorator: Google::Apis::DlpV2::GoogleRpcStatus::Representation
3512
+
3513
+ property :result_status_type, as: 'resultStatusType'
3514
+ end
3515
+ end
3516
+
3358
3517
  class GooglePrivacyDlpV2TransformationSummary
3359
3518
  # @private
3360
3519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1383,12 +1383,10 @@ module Google
1383
1383
  # specified a processing location](https://cloud.google.com/dlp/docs/specifying-
1384
1384
  # location): + Projects scope, location specified: `projects/`PROJECT_ID`/
1385
1385
  # locations/`LOCATION_ID + Projects scope, no location specified (defaults to
1386
- # global): `projects/`PROJECT_ID + Organizations scope, location specified: `
1387
- # organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
1388
- # location specified (defaults to global): `organizations/`ORG_ID The following
1389
- # example `parent` string specifies a parent project with the identifier `
1390
- # example-project`, and specifies the `europe-west3` location for processing
1391
- # data: parent=projects/example-project/locations/europe-west3
1386
+ # global): `projects/`PROJECT_ID The following example `parent` string specifies
1387
+ # a parent project with the identifier `example-project`, and specifies the `
1388
+ # europe-west3` location for processing data: parent=projects/example-project/
1389
+ # locations/europe-west3
1392
1390
  # @param [String] location_id
1393
1391
  # Deprecated. This field has no effect.
1394
1392
  # @param [String] order_by
@@ -1591,12 +1589,10 @@ module Google
1591
1589
  # specified a processing location](https://cloud.google.com/dlp/docs/specifying-
1592
1590
  # location): + Projects scope, location specified: `projects/`PROJECT_ID`/
1593
1591
  # locations/`LOCATION_ID + Projects scope, no location specified (defaults to
1594
- # global): `projects/`PROJECT_ID + Organizations scope, location specified: `
1595
- # organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
1596
- # location specified (defaults to global): `organizations/`ORG_ID The following
1597
- # example `parent` string specifies a parent project with the identifier `
1598
- # example-project`, and specifies the `europe-west3` location for processing
1599
- # data: parent=projects/example-project/locations/europe-west3
1592
+ # global): `projects/`PROJECT_ID The following example `parent` string specifies
1593
+ # a parent project with the identifier `example-project`, and specifies the `
1594
+ # europe-west3` location for processing data: parent=projects/example-project/
1595
+ # locations/europe-west3
1600
1596
  # @param [String] location_id
1601
1597
  # Deprecated. This field has no effect.
1602
1598
  # @param [String] order_by
@@ -4044,12 +4040,10 @@ module Google
4044
4040
  # specified a processing location](https://cloud.google.com/dlp/docs/specifying-
4045
4041
  # location): + Projects scope, location specified: `projects/`PROJECT_ID`/
4046
4042
  # locations/`LOCATION_ID + Projects scope, no location specified (defaults to
4047
- # global): `projects/`PROJECT_ID + Organizations scope, location specified: `
4048
- # organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
4049
- # location specified (defaults to global): `organizations/`ORG_ID The following
4050
- # example `parent` string specifies a parent project with the identifier `
4051
- # example-project`, and specifies the `europe-west3` location for processing
4052
- # data: parent=projects/example-project/locations/europe-west3
4043
+ # global): `projects/`PROJECT_ID The following example `parent` string specifies
4044
+ # a parent project with the identifier `example-project`, and specifies the `
4045
+ # europe-west3` location for processing data: parent=projects/example-project/
4046
+ # locations/europe-west3
4053
4047
  # @param [String] location_id
4054
4048
  # Deprecated. This field has no effect.
4055
4049
  # @param [String] order_by
@@ -4252,12 +4246,10 @@ module Google
4252
4246
  # specified a processing location](https://cloud.google.com/dlp/docs/specifying-
4253
4247
  # location): + Projects scope, location specified: `projects/`PROJECT_ID`/
4254
4248
  # locations/`LOCATION_ID + Projects scope, no location specified (defaults to
4255
- # global): `projects/`PROJECT_ID + Organizations scope, location specified: `
4256
- # organizations/`ORG_ID`/locations/`LOCATION_ID + Organizations scope, no
4257
- # location specified (defaults to global): `organizations/`ORG_ID The following
4258
- # example `parent` string specifies a parent project with the identifier `
4259
- # example-project`, and specifies the `europe-west3` location for processing
4260
- # data: parent=projects/example-project/locations/europe-west3
4249
+ # global): `projects/`PROJECT_ID The following example `parent` string specifies
4250
+ # a parent project with the identifier `example-project`, and specifies the `
4251
+ # europe-west3` location for processing data: parent=projects/example-project/
4252
+ # locations/europe-west3
4261
4253
  # @param [String] location_id
4262
4254
  # Deprecated. This field has no effect.
4263
4255
  # @param [String] order_by
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.29.0
4
+ version: 0.30.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-08-15 00:00:00.000000000 Z
11
+ date: 2022-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.30.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: []