google-apis-dlp_v2 0.66.0 → 0.68.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dlp_v2/classes.rb +355 -12
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +132 -0
- data/lib/google/apis/dlp_v2/service.rb +447 -49
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6129450312fb03d5caf6f84a14ed47db4a89f96fa147c9116b4a4a98855c5677
|
4
|
+
data.tar.gz: f9e5169aaf7412e9f7581a4cde46f985480582602968d62faf4a4730cc174de1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42c95340d26d9d4aaf21df72d313259c8243ebe8636d1e38272a035302e6a0b1891a39308f8ec7281044e9e2b8eebe5a5953ed22b92394bd398eb3cb58e293df
|
7
|
+
data.tar.gz: 3792e225fe3474e28d480b3aec5efdffb5e9598a50befbff1311f8e2a7790d0d1e9470f0360d66f29c6e81be5b7b8d4154e3148bbe2f337643c7e3162445c3d2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.68.0 (2024-06-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240624
|
6
|
+
|
7
|
+
### v0.67.0 (2024-06-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240609
|
10
|
+
|
3
11
|
### v0.66.0 (2024-05-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240519
|
@@ -697,12 +697,12 @@ module Google
|
|
697
697
|
|
698
698
|
# Generalization function that buckets values based on ranges. The ranges and
|
699
699
|
# replacement values are dynamically provided by the user for custom behavior,
|
700
|
-
# such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data
|
701
|
-
# type: number, long, string, timestamp. If the bound `Value` type differs
|
702
|
-
# the type of data being transformed, we will first attempt converting the
|
703
|
-
# of the data to be transformed to match the type of the bound before
|
704
|
-
# See https://cloud.google.com/sensitive-data-protection/docs/
|
705
|
-
# to learn more.
|
700
|
+
# such as 1-30 -> LOW, 31-65 -> MEDIUM, 66-100 -> HIGH. This can be used on data
|
701
|
+
# of type: number, long, string, timestamp. If the bound `Value` type differs
|
702
|
+
# from the type of data being transformed, we will first attempt converting the
|
703
|
+
# type of the data to be transformed to match the type of the bound before
|
704
|
+
# comparing. See https://cloud.google.com/sensitive-data-protection/docs/
|
705
|
+
# concepts-bucketing to learn more.
|
706
706
|
class GooglePrivacyDlpV2BucketingConfig
|
707
707
|
include Google::Apis::Core::Hashable
|
708
708
|
|
@@ -2193,6 +2193,11 @@ module Google
|
|
2193
2193
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile]
|
2194
2194
|
attr_accessor :column_profile
|
2195
2195
|
|
2196
|
+
# The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket.
|
2197
|
+
# Corresponds to the JSON property `fileStoreProfile`
|
2198
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
|
2199
|
+
attr_accessor :file_store_profile
|
2200
|
+
|
2196
2201
|
# The profile for a scanned table.
|
2197
2202
|
# Corresponds to the JSON property `tableProfile`
|
2198
2203
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile]
|
@@ -2205,6 +2210,7 @@ module Google
|
|
2205
2210
|
# Update properties of this object
|
2206
2211
|
def update!(**args)
|
2207
2212
|
@column_profile = args[:column_profile] if args.key?(:column_profile)
|
2213
|
+
@file_store_profile = args[:file_store_profile] if args.key?(:file_store_profile)
|
2208
2214
|
@table_profile = args[:table_profile] if args.key?(:table_profile)
|
2209
2215
|
end
|
2210
2216
|
end
|
@@ -2368,6 +2374,11 @@ module Google
|
|
2368
2374
|
# @return [String]
|
2369
2375
|
attr_accessor :event
|
2370
2376
|
|
2377
|
+
# The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket.
|
2378
|
+
# Corresponds to the JSON property `fileStoreProfile`
|
2379
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
|
2380
|
+
attr_accessor :file_store_profile
|
2381
|
+
|
2371
2382
|
# The profile for a scanned table.
|
2372
2383
|
# Corresponds to the JSON property `profile`
|
2373
2384
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile]
|
@@ -2380,6 +2391,7 @@ module Google
|
|
2380
2391
|
# Update properties of this object
|
2381
2392
|
def update!(**args)
|
2382
2393
|
@event = args[:event] if args.key?(:event)
|
2394
|
+
@file_store_profile = args[:file_store_profile] if args.key?(:file_store_profile)
|
2383
2395
|
@profile = args[:profile] if args.key?(:profile)
|
2384
2396
|
end
|
2385
2397
|
end
|
@@ -3758,6 +3770,11 @@ module Google
|
|
3758
3770
|
# @return [Google::Apis::DlpV2::GoogleRpcStatus]
|
3759
3771
|
attr_accessor :details
|
3760
3772
|
|
3773
|
+
# Additional information about the error.
|
3774
|
+
# Corresponds to the JSON property `extraInfo`
|
3775
|
+
# @return [String]
|
3776
|
+
attr_accessor :extra_info
|
3777
|
+
|
3761
3778
|
# The times the error occurred. List includes the oldest timestamp and the last
|
3762
3779
|
# 9 timestamps.
|
3763
3780
|
# Corresponds to the JSON property `timestamps`
|
@@ -3771,6 +3788,7 @@ module Google
|
|
3771
3788
|
# Update properties of this object
|
3772
3789
|
def update!(**args)
|
3773
3790
|
@details = args[:details] if args.key?(:details)
|
3791
|
+
@extra_info = args[:extra_info] if args.key?(:extra_info)
|
3774
3792
|
@timestamps = args[:timestamps] if args.key?(:timestamps)
|
3775
3793
|
end
|
3776
3794
|
end
|
@@ -4000,6 +4018,111 @@ module Google
|
|
4000
4018
|
end
|
4001
4019
|
end
|
4002
4020
|
|
4021
|
+
# The file cluster summary.
|
4022
|
+
class GooglePrivacyDlpV2FileClusterSummary
|
4023
|
+
include Google::Apis::Core::Hashable
|
4024
|
+
|
4025
|
+
# Score is a summary of all elements in the data profile. A higher number means
|
4026
|
+
# more risk.
|
4027
|
+
# Corresponds to the JSON property `dataRiskLevel`
|
4028
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
|
4029
|
+
attr_accessor :data_risk_level
|
4030
|
+
|
4031
|
+
# A list of Errors detected while scanning this cluster. The list is truncated
|
4032
|
+
# to 10 per cluster.
|
4033
|
+
# Corresponds to the JSON property `errors`
|
4034
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
|
4035
|
+
attr_accessor :errors
|
4036
|
+
|
4037
|
+
# Message used to identify file cluster type being profiled.
|
4038
|
+
# Corresponds to the JSON property `fileClusterType`
|
4039
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterType]
|
4040
|
+
attr_accessor :file_cluster_type
|
4041
|
+
|
4042
|
+
# A sample of file types scanned in this cluster. Empty if no files were scanned.
|
4043
|
+
# Corresponds to the JSON property `fileExtensionsScanned`
|
4044
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo>]
|
4045
|
+
attr_accessor :file_extensions_scanned
|
4046
|
+
|
4047
|
+
# A sample of file types seen in this cluster. Empty if no files were seen.
|
4048
|
+
# Corresponds to the JSON property `fileExtensionsSeen`
|
4049
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileExtensionInfo>]
|
4050
|
+
attr_accessor :file_extensions_seen
|
4051
|
+
|
4052
|
+
# InfoTypes detected in this cluster.
|
4053
|
+
# Corresponds to the JSON property `fileStoreInfoTypeSummaries`
|
4054
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary>]
|
4055
|
+
attr_accessor :file_store_info_type_summaries
|
4056
|
+
|
4057
|
+
# True if no files exist in this cluster. If the bucket had more files than
|
4058
|
+
# could be listed, this will be false even if no files for this cluster were
|
4059
|
+
# seen and file_extensions_seen is empty.
|
4060
|
+
# Corresponds to the JSON property `noFilesExist`
|
4061
|
+
# @return [Boolean]
|
4062
|
+
attr_accessor :no_files_exist
|
4063
|
+
alias_method :no_files_exist?, :no_files_exist
|
4064
|
+
|
4065
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
4066
|
+
# means the data is more sensitive.
|
4067
|
+
# Corresponds to the JSON property `sensitivityScore`
|
4068
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
4069
|
+
attr_accessor :sensitivity_score
|
4070
|
+
|
4071
|
+
def initialize(**args)
|
4072
|
+
update!(**args)
|
4073
|
+
end
|
4074
|
+
|
4075
|
+
# Update properties of this object
|
4076
|
+
def update!(**args)
|
4077
|
+
@data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
|
4078
|
+
@errors = args[:errors] if args.key?(:errors)
|
4079
|
+
@file_cluster_type = args[:file_cluster_type] if args.key?(:file_cluster_type)
|
4080
|
+
@file_extensions_scanned = args[:file_extensions_scanned] if args.key?(:file_extensions_scanned)
|
4081
|
+
@file_extensions_seen = args[:file_extensions_seen] if args.key?(:file_extensions_seen)
|
4082
|
+
@file_store_info_type_summaries = args[:file_store_info_type_summaries] if args.key?(:file_store_info_type_summaries)
|
4083
|
+
@no_files_exist = args[:no_files_exist] if args.key?(:no_files_exist)
|
4084
|
+
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
4085
|
+
end
|
4086
|
+
end
|
4087
|
+
|
4088
|
+
# Message used to identify file cluster type being profiled.
|
4089
|
+
class GooglePrivacyDlpV2FileClusterType
|
4090
|
+
include Google::Apis::Core::Hashable
|
4091
|
+
|
4092
|
+
# Cluster type.
|
4093
|
+
# Corresponds to the JSON property `cluster`
|
4094
|
+
# @return [String]
|
4095
|
+
attr_accessor :cluster
|
4096
|
+
|
4097
|
+
def initialize(**args)
|
4098
|
+
update!(**args)
|
4099
|
+
end
|
4100
|
+
|
4101
|
+
# Update properties of this object
|
4102
|
+
def update!(**args)
|
4103
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
4104
|
+
end
|
4105
|
+
end
|
4106
|
+
|
4107
|
+
# Information regarding the discovered file extension.
|
4108
|
+
class GooglePrivacyDlpV2FileExtensionInfo
|
4109
|
+
include Google::Apis::Core::Hashable
|
4110
|
+
|
4111
|
+
# The file extension if set. (aka .pdf, .jpg, .txt)
|
4112
|
+
# Corresponds to the JSON property `fileExtension`
|
4113
|
+
# @return [String]
|
4114
|
+
attr_accessor :file_extension
|
4115
|
+
|
4116
|
+
def initialize(**args)
|
4117
|
+
update!(**args)
|
4118
|
+
end
|
4119
|
+
|
4120
|
+
# Update properties of this object
|
4121
|
+
def update!(**args)
|
4122
|
+
@file_extension = args[:file_extension] if args.key?(:file_extension)
|
4123
|
+
end
|
4124
|
+
end
|
4125
|
+
|
4003
4126
|
# Set of files to scan.
|
4004
4127
|
class GooglePrivacyDlpV2FileSet
|
4005
4128
|
include Google::Apis::Core::Hashable
|
@@ -4049,6 +4172,189 @@ module Google
|
|
4049
4172
|
end
|
4050
4173
|
end
|
4051
4174
|
|
4175
|
+
# The profile for a file store. * Google Cloud Storage: maps 1:1 with a bucket.
|
4176
|
+
class GooglePrivacyDlpV2FileStoreDataProfile
|
4177
|
+
include Google::Apis::Core::Hashable
|
4178
|
+
|
4179
|
+
# Snapshot of the configurations used to generate the profile.
|
4180
|
+
# Corresponds to the JSON property `configSnapshot`
|
4181
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileConfigSnapshot]
|
4182
|
+
attr_accessor :config_snapshot
|
4183
|
+
|
4184
|
+
# The time the file store was first created.
|
4185
|
+
# Corresponds to the JSON property `createTime`
|
4186
|
+
# @return [String]
|
4187
|
+
attr_accessor :create_time
|
4188
|
+
|
4189
|
+
# Score is a summary of all elements in the data profile. A higher number means
|
4190
|
+
# more risk.
|
4191
|
+
# Corresponds to the JSON property `dataRiskLevel`
|
4192
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
|
4193
|
+
attr_accessor :data_risk_level
|
4194
|
+
|
4195
|
+
# Message used to identify the type of resource being profiled.
|
4196
|
+
# Corresponds to the JSON property `dataSourceType`
|
4197
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataSourceType]
|
4198
|
+
attr_accessor :data_source_type
|
4199
|
+
|
4200
|
+
# For resources that have multiple storage locations, these are those regions.
|
4201
|
+
# For Google Cloud Storage this is the list of regions chosen for dual-region
|
4202
|
+
# storage. `file_store_location` will normally be the corresponding multi-region
|
4203
|
+
# for the list of individual locations. The first region is always picked as the
|
4204
|
+
# processing and storage location for the data profile.
|
4205
|
+
# Corresponds to the JSON property `dataStorageLocations`
|
4206
|
+
# @return [Array<String>]
|
4207
|
+
attr_accessor :data_storage_locations
|
4208
|
+
|
4209
|
+
# FileClusterSummary per each cluster.
|
4210
|
+
# Corresponds to the JSON property `fileClusterSummaries`
|
4211
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileClusterSummary>]
|
4212
|
+
attr_accessor :file_cluster_summaries
|
4213
|
+
|
4214
|
+
# InfoTypes detected in this file store.
|
4215
|
+
# Corresponds to the JSON property `fileStoreInfoTypeSummaries`
|
4216
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreInfoTypeSummary>]
|
4217
|
+
attr_accessor :file_store_info_type_summaries
|
4218
|
+
|
4219
|
+
# The file store does not have any files.
|
4220
|
+
# Corresponds to the JSON property `fileStoreIsEmpty`
|
4221
|
+
# @return [Boolean]
|
4222
|
+
attr_accessor :file_store_is_empty
|
4223
|
+
alias_method :file_store_is_empty?, :file_store_is_empty
|
4224
|
+
|
4225
|
+
# The location of the file store. * Google Cloud Storage: https://cloud.google.
|
4226
|
+
# com/storage/docs/locations#available-locations
|
4227
|
+
# Corresponds to the JSON property `fileStoreLocation`
|
4228
|
+
# @return [String]
|
4229
|
+
attr_accessor :file_store_location
|
4230
|
+
|
4231
|
+
# The file store path. * Google Cloud Storage: `gs://`bucket``
|
4232
|
+
# Corresponds to the JSON property `fileStorePath`
|
4233
|
+
# @return [String]
|
4234
|
+
attr_accessor :file_store_path
|
4235
|
+
|
4236
|
+
# The resource name of the resource profiled. https://cloud.google.com/apis/
|
4237
|
+
# design/resource_names#full_resource_name
|
4238
|
+
# Corresponds to the JSON property `fullResource`
|
4239
|
+
# @return [String]
|
4240
|
+
attr_accessor :full_resource
|
4241
|
+
|
4242
|
+
# The time the file store was last modified.
|
4243
|
+
# Corresponds to the JSON property `lastModifiedTime`
|
4244
|
+
# @return [String]
|
4245
|
+
attr_accessor :last_modified_time
|
4246
|
+
|
4247
|
+
# The location type of the bucket (region, dual-region, multi-region, etc). If
|
4248
|
+
# dual-region, expect data_storage_locations to be populated.
|
4249
|
+
# Corresponds to the JSON property `locationType`
|
4250
|
+
# @return [String]
|
4251
|
+
attr_accessor :location_type
|
4252
|
+
|
4253
|
+
# The name of the profile.
|
4254
|
+
# Corresponds to the JSON property `name`
|
4255
|
+
# @return [String]
|
4256
|
+
attr_accessor :name
|
4257
|
+
|
4258
|
+
# The last time the profile was generated.
|
4259
|
+
# Corresponds to the JSON property `profileLastGenerated`
|
4260
|
+
# @return [String]
|
4261
|
+
attr_accessor :profile_last_generated
|
4262
|
+
|
4263
|
+
# Success or errors for the profile generation.
|
4264
|
+
# Corresponds to the JSON property `profileStatus`
|
4265
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProfileStatus]
|
4266
|
+
attr_accessor :profile_status
|
4267
|
+
|
4268
|
+
# The resource name to the project data profile for this file store.
|
4269
|
+
# Corresponds to the JSON property `projectDataProfile`
|
4270
|
+
# @return [String]
|
4271
|
+
attr_accessor :project_data_profile
|
4272
|
+
|
4273
|
+
# The Google Cloud project ID that owns the resource.
|
4274
|
+
# Corresponds to the JSON property `projectId`
|
4275
|
+
# @return [String]
|
4276
|
+
attr_accessor :project_id
|
4277
|
+
|
4278
|
+
# Attributes of the resource being profiled. Currently used attributes: -
|
4279
|
+
# customer_managed_encryption: boolean true: the resource is encrypted with a
|
4280
|
+
# customer-managed key. false: the resource is encrypted with a provider-managed
|
4281
|
+
# key.
|
4282
|
+
# Corresponds to the JSON property `resourceAttributes`
|
4283
|
+
# @return [Hash<String,Google::Apis::DlpV2::GooglePrivacyDlpV2Value>]
|
4284
|
+
attr_accessor :resource_attributes
|
4285
|
+
|
4286
|
+
# The labels applied to the resource at the time the profile was generated.
|
4287
|
+
# Corresponds to the JSON property `resourceLabels`
|
4288
|
+
# @return [Hash<String,String>]
|
4289
|
+
attr_accessor :resource_labels
|
4290
|
+
|
4291
|
+
# How broadly a resource has been shared.
|
4292
|
+
# Corresponds to the JSON property `resourceVisibility`
|
4293
|
+
# @return [String]
|
4294
|
+
attr_accessor :resource_visibility
|
4295
|
+
|
4296
|
+
# Score is calculated from of all elements in the data profile. A higher level
|
4297
|
+
# means the data is more sensitive.
|
4298
|
+
# Corresponds to the JSON property `sensitivityScore`
|
4299
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
4300
|
+
attr_accessor :sensitivity_score
|
4301
|
+
|
4302
|
+
# State of a profile.
|
4303
|
+
# Corresponds to the JSON property `state`
|
4304
|
+
# @return [String]
|
4305
|
+
attr_accessor :state
|
4306
|
+
|
4307
|
+
def initialize(**args)
|
4308
|
+
update!(**args)
|
4309
|
+
end
|
4310
|
+
|
4311
|
+
# Update properties of this object
|
4312
|
+
def update!(**args)
|
4313
|
+
@config_snapshot = args[:config_snapshot] if args.key?(:config_snapshot)
|
4314
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4315
|
+
@data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
|
4316
|
+
@data_source_type = args[:data_source_type] if args.key?(:data_source_type)
|
4317
|
+
@data_storage_locations = args[:data_storage_locations] if args.key?(:data_storage_locations)
|
4318
|
+
@file_cluster_summaries = args[:file_cluster_summaries] if args.key?(:file_cluster_summaries)
|
4319
|
+
@file_store_info_type_summaries = args[:file_store_info_type_summaries] if args.key?(:file_store_info_type_summaries)
|
4320
|
+
@file_store_is_empty = args[:file_store_is_empty] if args.key?(:file_store_is_empty)
|
4321
|
+
@file_store_location = args[:file_store_location] if args.key?(:file_store_location)
|
4322
|
+
@file_store_path = args[:file_store_path] if args.key?(:file_store_path)
|
4323
|
+
@full_resource = args[:full_resource] if args.key?(:full_resource)
|
4324
|
+
@last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
|
4325
|
+
@location_type = args[:location_type] if args.key?(:location_type)
|
4326
|
+
@name = args[:name] if args.key?(:name)
|
4327
|
+
@profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
|
4328
|
+
@profile_status = args[:profile_status] if args.key?(:profile_status)
|
4329
|
+
@project_data_profile = args[:project_data_profile] if args.key?(:project_data_profile)
|
4330
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
4331
|
+
@resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
|
4332
|
+
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
4333
|
+
@resource_visibility = args[:resource_visibility] if args.key?(:resource_visibility)
|
4334
|
+
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
4335
|
+
@state = args[:state] if args.key?(:state)
|
4336
|
+
end
|
4337
|
+
end
|
4338
|
+
|
4339
|
+
# Information regarding the discovered InfoType.
|
4340
|
+
class GooglePrivacyDlpV2FileStoreInfoTypeSummary
|
4341
|
+
include Google::Apis::Core::Hashable
|
4342
|
+
|
4343
|
+
# Type of information detected by the API.
|
4344
|
+
# Corresponds to the JSON property `infoType`
|
4345
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InfoType]
|
4346
|
+
attr_accessor :info_type
|
4347
|
+
|
4348
|
+
def initialize(**args)
|
4349
|
+
update!(**args)
|
4350
|
+
end
|
4351
|
+
|
4352
|
+
# Update properties of this object
|
4353
|
+
def update!(**args)
|
4354
|
+
@info_type = args[:info_type] if args.key?(:info_type)
|
4355
|
+
end
|
4356
|
+
end
|
4357
|
+
|
4052
4358
|
# Represents a piece of potentially sensitive content.
|
4053
4359
|
class GooglePrivacyDlpV2Finding
|
4054
4360
|
include Google::Apis::Core::Hashable
|
@@ -6062,6 +6368,31 @@ module Google
|
|
6062
6368
|
end
|
6063
6369
|
end
|
6064
6370
|
|
6371
|
+
# List of file store data profiles generated for a given organization or project.
|
6372
|
+
class GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
|
6373
|
+
include Google::Apis::Core::Hashable
|
6374
|
+
|
6375
|
+
# List of data profiles.
|
6376
|
+
# Corresponds to the JSON property `fileStoreDataProfiles`
|
6377
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile>]
|
6378
|
+
attr_accessor :file_store_data_profiles
|
6379
|
+
|
6380
|
+
# The next page token.
|
6381
|
+
# Corresponds to the JSON property `nextPageToken`
|
6382
|
+
# @return [String]
|
6383
|
+
attr_accessor :next_page_token
|
6384
|
+
|
6385
|
+
def initialize(**args)
|
6386
|
+
update!(**args)
|
6387
|
+
end
|
6388
|
+
|
6389
|
+
# Update properties of this object
|
6390
|
+
def update!(**args)
|
6391
|
+
@file_store_data_profiles = args[:file_store_data_profiles] if args.key?(:file_store_data_profiles)
|
6392
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
6393
|
+
end
|
6394
|
+
end
|
6395
|
+
|
6065
6396
|
# Response to the ListInfoTypes request.
|
6066
6397
|
class GooglePrivacyDlpV2ListInfoTypesResponse
|
6067
6398
|
include Google::Apis::Core::Hashable
|
@@ -6539,12 +6870,12 @@ module Google
|
|
6539
6870
|
|
6540
6871
|
# Generalization function that buckets values based on ranges. The ranges and
|
6541
6872
|
# replacement values are dynamically provided by the user for custom behavior,
|
6542
|
-
# such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data
|
6543
|
-
# type: number, long, string, timestamp. If the bound `Value` type differs
|
6544
|
-
# the type of data being transformed, we will first attempt converting the
|
6545
|
-
# of the data to be transformed to match the type of the bound before
|
6546
|
-
# See https://cloud.google.com/sensitive-data-protection/docs/
|
6547
|
-
# to learn more.
|
6873
|
+
# such as 1-30 -> LOW, 31-65 -> MEDIUM, 66-100 -> HIGH. This can be used on data
|
6874
|
+
# of type: number, long, string, timestamp. If the bound `Value` type differs
|
6875
|
+
# from the type of data being transformed, we will first attempt converting the
|
6876
|
+
# type of the data to be transformed to match the type of the bound before
|
6877
|
+
# comparing. See https://cloud.google.com/sensitive-data-protection/docs/
|
6878
|
+
# concepts-bucketing to learn more.
|
6548
6879
|
# Corresponds to the JSON property `bucketingConfig`
|
6549
6880
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BucketingConfig]
|
6550
6881
|
attr_accessor :bucketing_config
|
@@ -6761,6 +7092,11 @@ module Google
|
|
6761
7092
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DataRiskLevel]
|
6762
7093
|
attr_accessor :data_risk_level
|
6763
7094
|
|
7095
|
+
# The number of file store data profiles generated for this project.
|
7096
|
+
# Corresponds to the JSON property `fileStoreDataProfileCount`
|
7097
|
+
# @return [Fixnum]
|
7098
|
+
attr_accessor :file_store_data_profile_count
|
7099
|
+
|
6764
7100
|
# The resource name of the profile.
|
6765
7101
|
# Corresponds to the JSON property `name`
|
6766
7102
|
# @return [String]
|
@@ -6787,6 +7123,11 @@ module Google
|
|
6787
7123
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityScore]
|
6788
7124
|
attr_accessor :sensitivity_score
|
6789
7125
|
|
7126
|
+
# The number of table data profiles generated for this project.
|
7127
|
+
# Corresponds to the JSON property `tableDataProfileCount`
|
7128
|
+
# @return [Fixnum]
|
7129
|
+
attr_accessor :table_data_profile_count
|
7130
|
+
|
6790
7131
|
def initialize(**args)
|
6791
7132
|
update!(**args)
|
6792
7133
|
end
|
@@ -6794,11 +7135,13 @@ module Google
|
|
6794
7135
|
# Update properties of this object
|
6795
7136
|
def update!(**args)
|
6796
7137
|
@data_risk_level = args[:data_risk_level] if args.key?(:data_risk_level)
|
7138
|
+
@file_store_data_profile_count = args[:file_store_data_profile_count] if args.key?(:file_store_data_profile_count)
|
6797
7139
|
@name = args[:name] if args.key?(:name)
|
6798
7140
|
@profile_last_generated = args[:profile_last_generated] if args.key?(:profile_last_generated)
|
6799
7141
|
@profile_status = args[:profile_status] if args.key?(:profile_status)
|
6800
7142
|
@project_id = args[:project_id] if args.key?(:project_id)
|
6801
7143
|
@sensitivity_score = args[:sensitivity_score] if args.key?(:sensitivity_score)
|
7144
|
+
@table_data_profile_count = args[:table_data_profile_count] if args.key?(:table_data_profile_count)
|
6802
7145
|
end
|
6803
7146
|
end
|
6804
7147
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.68.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240624"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|