google-cloud-dlp-v2 1.3.1 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dlp/v2/dlp_service/client.rb +4 -7
- data/lib/google/cloud/dlp/v2/dlp_service/rest/client.rb +4 -7
- data/lib/google/cloud/dlp/v2/dlp_service/rest.rb +3 -7
- data/lib/google/cloud/dlp/v2/dlp_service.rb +3 -7
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +20 -1
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +3 -7
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +304 -13
- metadata +3 -3
@@ -24,13 +24,9 @@ module Google
|
|
24
24
|
module Dlp
|
25
25
|
module V2
|
26
26
|
module DlpService
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
# blocks or images.
|
31
|
-
# The service also includes methods for sensitive data redaction and
|
32
|
-
# scheduling of data scans on Google Cloud Platform based data sets.
|
33
|
-
#
|
27
|
+
# Sensitive Data Protection provides access to a powerful sensitive data
|
28
|
+
# inspection, classification, and de-identification platform that works
|
29
|
+
# on text, images, and Google Cloud storage repositories.
|
34
30
|
# To learn more about concepts and find how-to guides see
|
35
31
|
# https://cloud.google.com/sensitive-data-protection/docs/.
|
36
32
|
class Service
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -375,6 +378,17 @@ module Google
|
|
375
378
|
end
|
376
379
|
end
|
377
380
|
|
381
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
382
|
+
# a service for client libraries.
|
383
|
+
# @!attribute [rw] methods
|
384
|
+
# @return [::Array<::String>]
|
385
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
386
|
+
# on public client surfaces.
|
387
|
+
class SelectiveGapicGeneration
|
388
|
+
include ::Google::Protobuf::MessageExts
|
389
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
390
|
+
end
|
391
|
+
|
378
392
|
# The organization for which the client libraries are being published.
|
379
393
|
# Affects the url where generated docs are published, etc.
|
380
394
|
module ClientLibraryOrganization
|
@@ -4057,6 +4057,15 @@ module Google
|
|
4057
4057
|
# @!attribute [rw] pub_sub_notification
|
4058
4058
|
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification]
|
4059
4059
|
# Publish a message into the Pub/Sub topic.
|
4060
|
+
# @!attribute [rw] publish_to_chronicle
|
4061
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::PublishToChronicle]
|
4062
|
+
# Publishes generated data profiles to Google Security Operations.
|
4063
|
+
# For more information, see [Use Sensitive Data Protection data in
|
4064
|
+
# context-aware
|
4065
|
+
# analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download).
|
4066
|
+
# @!attribute [rw] publish_to_scc
|
4067
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter]
|
4068
|
+
# Publishes findings to SCC for each data profile.
|
4060
4069
|
# @!attribute [rw] tag_resources
|
4061
4070
|
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::TagResources]
|
4062
4071
|
# Tags the profiled resources with the specified tag values.
|
@@ -4122,6 +4131,18 @@ module Google
|
|
4122
4131
|
end
|
4123
4132
|
end
|
4124
4133
|
|
4134
|
+
# Message expressing intention to publish to Google Security Operations.
|
4135
|
+
class PublishToChronicle
|
4136
|
+
include ::Google::Protobuf::MessageExts
|
4137
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4138
|
+
end
|
4139
|
+
|
4140
|
+
# If set, a summary finding will be created/updated in SCC for each profile.
|
4141
|
+
class PublishToSecurityCommandCenter
|
4142
|
+
include ::Google::Protobuf::MessageExts
|
4143
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4144
|
+
end
|
4145
|
+
|
4125
4146
|
# If set, attaches the [tags]
|
4126
4147
|
# (https://cloud.google.com/resource-manager/docs/tags/tags-overview)
|
4127
4148
|
# provided to profiled resources. Tags support [access
|
@@ -4215,6 +4236,9 @@ module Google
|
|
4215
4236
|
# The project that will run the scan. The DLP service
|
4216
4237
|
# account that exists within this project must have access to all resources
|
4217
4238
|
# that are profiled, and the Cloud DLP API must be enabled.
|
4239
|
+
# @!attribute [rw] other_cloud_starting_location
|
4240
|
+
# @return [::Google::Cloud::Dlp::V2::OtherCloudDiscoveryStartingLocation]
|
4241
|
+
# Must be set only when scanning other clouds.
|
4218
4242
|
# @!attribute [rw] inspect_templates
|
4219
4243
|
# @return [::Array<::String>]
|
4220
4244
|
# Detection logic for profile generation.
|
@@ -4317,6 +4341,9 @@ module Google
|
|
4317
4341
|
# @!attribute [rw] org_config
|
4318
4342
|
# @return [::Google::Cloud::Dlp::V2::DiscoveryConfig::OrgConfig]
|
4319
4343
|
# Only set when the parent is an org.
|
4344
|
+
# @!attribute [rw] other_cloud_starting_location
|
4345
|
+
# @return [::Google::Cloud::Dlp::V2::OtherCloudDiscoveryStartingLocation]
|
4346
|
+
# Must be set only when scanning other clouds.
|
4320
4347
|
# @!attribute [rw] inspect_templates
|
4321
4348
|
# @return [::Array<::String>]
|
4322
4349
|
# Detection logic for profile generation.
|
@@ -4409,6 +4436,10 @@ module Google
|
|
4409
4436
|
# @return [::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget]
|
4410
4437
|
# Cloud Storage target for Discovery. The first target to match a table
|
4411
4438
|
# will be the one applied.
|
4439
|
+
# @!attribute [rw] other_cloud_target
|
4440
|
+
# @return [::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget]
|
4441
|
+
# Other clouds target for discovery. The first target to match a resource
|
4442
|
+
# will be the one applied.
|
4412
4443
|
class DiscoveryTarget
|
4413
4444
|
include ::Google::Protobuf::MessageExts
|
4414
4445
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -5025,6 +5056,223 @@ module Google
|
|
5025
5056
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5026
5057
|
end
|
5027
5058
|
|
5059
|
+
# Target used to match against for discovery of resources from other clouds.
|
5060
|
+
# An [AWS connector in Security Command Center
|
5061
|
+
# (Enterprise](https://cloud.google.com/security-command-center/docs/connect-scc-to-aws)
|
5062
|
+
# is required to use this feature.
|
5063
|
+
# @!attribute [rw] data_source_type
|
5064
|
+
# @return [::Google::Cloud::Dlp::V2::DataSourceType]
|
5065
|
+
# Required. The type of data profiles generated by this discovery target.
|
5066
|
+
# Supported values are:
|
5067
|
+
# * aws/s3/bucket
|
5068
|
+
# @!attribute [rw] filter
|
5069
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryOtherCloudFilter]
|
5070
|
+
# Required. The resources that the discovery cadence applies to. The
|
5071
|
+
# first target with a matching filter will be the one to apply to a resource.
|
5072
|
+
# @!attribute [rw] conditions
|
5073
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryOtherCloudConditions]
|
5074
|
+
# Optional. In addition to matching the filter, these conditions must be true
|
5075
|
+
# before a profile is generated.
|
5076
|
+
# @!attribute [rw] generation_cadence
|
5077
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryOtherCloudGenerationCadence]
|
5078
|
+
# How often and when to update data profiles. New resources that match both
|
5079
|
+
# the filter and conditions are scanned as quickly as possible depending on
|
5080
|
+
# system capacity.
|
5081
|
+
# @!attribute [rw] disabled
|
5082
|
+
# @return [::Google::Cloud::Dlp::V2::Disabled]
|
5083
|
+
# Disable profiling for resources that match this filter.
|
5084
|
+
class OtherCloudDiscoveryTarget
|
5085
|
+
include ::Google::Protobuf::MessageExts
|
5086
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5087
|
+
end
|
5088
|
+
|
5089
|
+
# Determines which resources from the other cloud will have profiles generated.
|
5090
|
+
# Includes the ability to filter by resource names.
|
5091
|
+
# @!attribute [rw] collection
|
5092
|
+
# @return [::Google::Cloud::Dlp::V2::OtherCloudResourceCollection]
|
5093
|
+
# A collection of resources for this filter to apply to.
|
5094
|
+
# @!attribute [rw] single_resource
|
5095
|
+
# @return [::Google::Cloud::Dlp::V2::OtherCloudSingleResourceReference]
|
5096
|
+
# The resource to scan. Configs using this filter can only have one target
|
5097
|
+
# (the target with this single resource reference).
|
5098
|
+
# @!attribute [rw] others
|
5099
|
+
# @return [::Google::Cloud::Dlp::V2::AllOtherResources]
|
5100
|
+
# Optional. Catch-all. This should always be the last target in the list
|
5101
|
+
# because anything above it will apply first. Should only appear once in a
|
5102
|
+
# configuration. If none is specified, a default one will be added
|
5103
|
+
# automatically.
|
5104
|
+
class DiscoveryOtherCloudFilter
|
5105
|
+
include ::Google::Protobuf::MessageExts
|
5106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5107
|
+
end
|
5108
|
+
|
5109
|
+
# Match resources using regex filters.
|
5110
|
+
# @!attribute [rw] include_regexes
|
5111
|
+
# @return [::Google::Cloud::Dlp::V2::OtherCloudResourceRegexes]
|
5112
|
+
# A collection of regular expressions to match a resource against.
|
5113
|
+
class OtherCloudResourceCollection
|
5114
|
+
include ::Google::Protobuf::MessageExts
|
5115
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5116
|
+
end
|
5117
|
+
|
5118
|
+
# A collection of regular expressions to determine what resources to match
|
5119
|
+
# against.
|
5120
|
+
# @!attribute [rw] patterns
|
5121
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::OtherCloudResourceRegex>]
|
5122
|
+
# A group of regular expression patterns to match against one or more
|
5123
|
+
# resources.
|
5124
|
+
# Maximum of 100 entries. The sum of all regular expression's length can't
|
5125
|
+
# exceed 10 KiB.
|
5126
|
+
class OtherCloudResourceRegexes
|
5127
|
+
include ::Google::Protobuf::MessageExts
|
5128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5129
|
+
end
|
5130
|
+
|
5131
|
+
# A pattern to match against one or more resources. At least one pattern must
|
5132
|
+
# be specified. Regular expressions use RE2
|
5133
|
+
# [syntax](https://github.com/google/re2/wiki/Syntax); a guide can be found
|
5134
|
+
# under the google/re2 repository on GitHub.
|
5135
|
+
# @!attribute [rw] amazon_s3_bucket_regex
|
5136
|
+
# @return [::Google::Cloud::Dlp::V2::AmazonS3BucketRegex]
|
5137
|
+
# Regex for Amazon S3 buckets.
|
5138
|
+
class OtherCloudResourceRegex
|
5139
|
+
include ::Google::Protobuf::MessageExts
|
5140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5141
|
+
end
|
5142
|
+
|
5143
|
+
# AWS account regex.
|
5144
|
+
# @!attribute [rw] account_id_regex
|
5145
|
+
# @return [::String]
|
5146
|
+
# Optional. Regex to test the AWS account ID against.
|
5147
|
+
# If empty, all accounts match.
|
5148
|
+
class AwsAccountRegex
|
5149
|
+
include ::Google::Protobuf::MessageExts
|
5150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5151
|
+
end
|
5152
|
+
|
5153
|
+
# Amazon S3 bucket regex.
|
5154
|
+
# @!attribute [rw] aws_account_regex
|
5155
|
+
# @return [::Google::Cloud::Dlp::V2::AwsAccountRegex]
|
5156
|
+
# The AWS account regex.
|
5157
|
+
# @!attribute [rw] bucket_name_regex
|
5158
|
+
# @return [::String]
|
5159
|
+
# Optional. Regex to test the bucket name against.
|
5160
|
+
# If empty, all buckets match.
|
5161
|
+
class AmazonS3BucketRegex
|
5162
|
+
include ::Google::Protobuf::MessageExts
|
5163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5164
|
+
end
|
5165
|
+
|
5166
|
+
# Identifies a single resource, like a single Amazon S3 bucket.
|
5167
|
+
# @!attribute [rw] amazon_s3_bucket
|
5168
|
+
# @return [::Google::Cloud::Dlp::V2::AmazonS3Bucket]
|
5169
|
+
# Amazon S3 bucket.
|
5170
|
+
class OtherCloudSingleResourceReference
|
5171
|
+
include ::Google::Protobuf::MessageExts
|
5172
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5173
|
+
end
|
5174
|
+
|
5175
|
+
# AWS account.
|
5176
|
+
# @!attribute [rw] account_id
|
5177
|
+
# @return [::String]
|
5178
|
+
# Required. AWS account ID.
|
5179
|
+
class AwsAccount
|
5180
|
+
include ::Google::Protobuf::MessageExts
|
5181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5182
|
+
end
|
5183
|
+
|
5184
|
+
# Amazon S3 bucket.
|
5185
|
+
# @!attribute [rw] aws_account
|
5186
|
+
# @return [::Google::Cloud::Dlp::V2::AwsAccount]
|
5187
|
+
# The AWS account.
|
5188
|
+
# @!attribute [rw] bucket_name
|
5189
|
+
# @return [::String]
|
5190
|
+
# Required. The bucket name.
|
5191
|
+
class AmazonS3Bucket
|
5192
|
+
include ::Google::Protobuf::MessageExts
|
5193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5194
|
+
end
|
5195
|
+
|
5196
|
+
# Requirements that must be true before a resource is profiled for the first
|
5197
|
+
# time.
|
5198
|
+
# @!attribute [rw] min_age
|
5199
|
+
# @return [::Google::Protobuf::Duration]
|
5200
|
+
# Minimum age a resource must be before Cloud DLP can profile it. Value must
|
5201
|
+
# be 1 hour or greater.
|
5202
|
+
# @!attribute [rw] amazon_s3_bucket_conditions
|
5203
|
+
# @return [::Google::Cloud::Dlp::V2::AmazonS3BucketConditions]
|
5204
|
+
# Amazon S3 bucket conditions.
|
5205
|
+
class DiscoveryOtherCloudConditions
|
5206
|
+
include ::Google::Protobuf::MessageExts
|
5207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5208
|
+
end
|
5209
|
+
|
5210
|
+
# Amazon S3 bucket conditions.
|
5211
|
+
# @!attribute [rw] bucket_types
|
5212
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::AmazonS3BucketConditions::BucketType>]
|
5213
|
+
# Optional. Bucket types that should be profiled.
|
5214
|
+
# Optional. Defaults to TYPE_ALL_SUPPORTED if unspecified.
|
5215
|
+
# @!attribute [rw] object_storage_classes
|
5216
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::AmazonS3BucketConditions::ObjectStorageClass>]
|
5217
|
+
# Optional. Object classes that should be profiled.
|
5218
|
+
# Optional. Defaults to ALL_SUPPORTED_CLASSES if unspecified.
|
5219
|
+
class AmazonS3BucketConditions
|
5220
|
+
include ::Google::Protobuf::MessageExts
|
5221
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5222
|
+
|
5223
|
+
# Supported Amazon S3 bucket types.
|
5224
|
+
# Defaults to TYPE_ALL_SUPPORTED.
|
5225
|
+
module BucketType
|
5226
|
+
# Unused.
|
5227
|
+
TYPE_UNSPECIFIED = 0
|
5228
|
+
|
5229
|
+
# All supported classes.
|
5230
|
+
TYPE_ALL_SUPPORTED = 1
|
5231
|
+
|
5232
|
+
# A general purpose Amazon S3 bucket.
|
5233
|
+
TYPE_GENERAL_PURPOSE = 2
|
5234
|
+
end
|
5235
|
+
|
5236
|
+
# Supported Amazon S3 object storage classes.
|
5237
|
+
# Defaults to ALL_SUPPORTED_CLASSES.
|
5238
|
+
module ObjectStorageClass
|
5239
|
+
# Unused.
|
5240
|
+
UNSPECIFIED = 0
|
5241
|
+
|
5242
|
+
# All supported classes.
|
5243
|
+
ALL_SUPPORTED_CLASSES = 1
|
5244
|
+
|
5245
|
+
# Standard object class.
|
5246
|
+
STANDARD = 2
|
5247
|
+
|
5248
|
+
# Standard - infrequent access object class.
|
5249
|
+
STANDARD_INFREQUENT_ACCESS = 4
|
5250
|
+
|
5251
|
+
# Glacier - instant retrieval object class.
|
5252
|
+
GLACIER_INSTANT_RETRIEVAL = 6
|
5253
|
+
|
5254
|
+
# Objects in the S3 Intelligent-Tiering access tiers.
|
5255
|
+
INTELLIGENT_TIERING = 7
|
5256
|
+
end
|
5257
|
+
end
|
5258
|
+
|
5259
|
+
# How often existing resources should have their profiles refreshed.
|
5260
|
+
# New resources are scanned as quickly as possible depending on system
|
5261
|
+
# capacity.
|
5262
|
+
# @!attribute [rw] refresh_frequency
|
5263
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileUpdateFrequency]
|
5264
|
+
# Optional. Frequency to update profiles regardless of whether the underlying
|
5265
|
+
# resource has changes. Defaults to never.
|
5266
|
+
# @!attribute [rw] inspect_template_modified_cadence
|
5267
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryInspectTemplateModifiedCadence]
|
5268
|
+
# Optional. Governs when to update data profiles when the inspection rules
|
5269
|
+
# defined by the `InspectTemplate` change.
|
5270
|
+
# If not set, changing the template will not cause a data profile to update.
|
5271
|
+
class DiscoveryOtherCloudGenerationCadence
|
5272
|
+
include ::Google::Protobuf::MessageExts
|
5273
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5274
|
+
end
|
5275
|
+
|
5028
5276
|
# The location to begin a discovery scan. Denotes an organization ID or folder
|
5029
5277
|
# ID within an organization.
|
5030
5278
|
# @!attribute [rw] organization_id
|
@@ -5038,6 +5286,31 @@ module Google
|
|
5038
5286
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5039
5287
|
end
|
5040
5288
|
|
5289
|
+
# The other cloud starting location for discovery.
|
5290
|
+
# @!attribute [rw] aws_location
|
5291
|
+
# @return [::Google::Cloud::Dlp::V2::OtherCloudDiscoveryStartingLocation::AwsDiscoveryStartingLocation]
|
5292
|
+
# The AWS starting location for discovery.
|
5293
|
+
class OtherCloudDiscoveryStartingLocation
|
5294
|
+
include ::Google::Protobuf::MessageExts
|
5295
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5296
|
+
|
5297
|
+
# The AWS starting location for discovery.
|
5298
|
+
# @!attribute [rw] account_id
|
5299
|
+
# @return [::String]
|
5300
|
+
# The AWS account ID that this discovery config applies to.
|
5301
|
+
# Within an AWS organization, you can find the AWS account ID inside an
|
5302
|
+
# AWS account ARN. Example:
|
5303
|
+
# arn:\\{partition}:organizations::\\{management_account_id}:account/\\{org_id}/\\{account_id}
|
5304
|
+
# @!attribute [rw] all_asset_inventory_assets
|
5305
|
+
# @return [::Boolean]
|
5306
|
+
# All AWS assets stored in Asset Inventory that didn't match other AWS
|
5307
|
+
# discovery configs.
|
5308
|
+
class AwsDiscoveryStartingLocation
|
5309
|
+
include ::Google::Protobuf::MessageExts
|
5310
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5311
|
+
end
|
5312
|
+
end
|
5313
|
+
|
5041
5314
|
# Match discovery resources not covered by any other filter.
|
5042
5315
|
class AllOtherResources
|
5043
5316
|
include ::Google::Protobuf::MessageExts
|
@@ -6031,7 +6304,7 @@ module Google
|
|
6031
6304
|
# The resource name of the profile.
|
6032
6305
|
# @!attribute [rw] project_id
|
6033
6306
|
# @return [::String]
|
6034
|
-
# Project ID that was profiled.
|
6307
|
+
# Project ID or account that was profiled.
|
6035
6308
|
# @!attribute [rw] profile_last_generated
|
6036
6309
|
# @return [::Google::Protobuf::Timestamp]
|
6037
6310
|
# The last time the profile was generated.
|
@@ -6102,13 +6375,14 @@ module Google
|
|
6102
6375
|
# locations.
|
6103
6376
|
# @!attribute [rw] dataset_id
|
6104
6377
|
# @return [::String]
|
6105
|
-
# If the resource is BigQuery, the
|
6378
|
+
# If the resource is BigQuery, the dataset ID.
|
6106
6379
|
# @!attribute [rw] table_id
|
6107
6380
|
# @return [::String]
|
6108
|
-
#
|
6381
|
+
# The table ID.
|
6109
6382
|
# @!attribute [rw] full_resource
|
6110
6383
|
# @return [::String]
|
6111
|
-
# The resource
|
6384
|
+
# The Cloud Asset Inventory resource that was profiled in order to generate
|
6385
|
+
# this TableDataProfile.
|
6112
6386
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
6113
6387
|
# @!attribute [rw] profile_status
|
6114
6388
|
# @return [::Google::Cloud::Dlp::V2::ProfileStatus]
|
@@ -6263,15 +6537,15 @@ module Google
|
|
6263
6537
|
# The Google Cloud project ID that owns the profiled resource.
|
6264
6538
|
# @!attribute [rw] dataset_location
|
6265
6539
|
# @return [::String]
|
6266
|
-
#
|
6540
|
+
# If supported, the location where the dataset's data is stored.
|
6267
6541
|
# See https://cloud.google.com/bigquery/docs/locations for supported
|
6268
|
-
# locations.
|
6542
|
+
# BigQuery locations.
|
6269
6543
|
# @!attribute [rw] dataset_id
|
6270
6544
|
# @return [::String]
|
6271
|
-
# The BigQuery dataset ID.
|
6545
|
+
# The BigQuery dataset ID, if the resource profiled is a BigQuery table.
|
6272
6546
|
# @!attribute [rw] table_id
|
6273
6547
|
# @return [::String]
|
6274
|
-
# The
|
6548
|
+
# The table ID.
|
6275
6549
|
# @!attribute [rw] column
|
6276
6550
|
# @return [::String]
|
6277
6551
|
# The name of the column.
|
@@ -6400,6 +6674,7 @@ module Google
|
|
6400
6674
|
# The profile for a file store.
|
6401
6675
|
#
|
6402
6676
|
# * Cloud Storage: maps 1:1 with a bucket.
|
6677
|
+
# * Amazon S3: maps 1:1 with a bucket.
|
6403
6678
|
# @!attribute [rw] name
|
6404
6679
|
# @return [::String]
|
6405
6680
|
# The name of the profile.
|
@@ -6412,12 +6687,15 @@ module Google
|
|
6412
6687
|
# @!attribute [rw] project_id
|
6413
6688
|
# @return [::String]
|
6414
6689
|
# The Google Cloud project ID that owns the resource.
|
6690
|
+
# For Amazon S3 buckets, this is the AWS Account Id.
|
6415
6691
|
# @!attribute [rw] file_store_location
|
6416
6692
|
# @return [::String]
|
6417
6693
|
# The location of the file store.
|
6418
6694
|
#
|
6419
6695
|
# * Cloud Storage:
|
6420
6696
|
# https://cloud.google.com/storage/docs/locations#available-locations
|
6697
|
+
# * Amazon S3:
|
6698
|
+
# https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints
|
6421
6699
|
# @!attribute [rw] data_storage_locations
|
6422
6700
|
# @return [::Array<::String>]
|
6423
6701
|
# For resources that have multiple storage locations, these are those
|
@@ -6435,10 +6713,14 @@ module Google
|
|
6435
6713
|
# The file store path.
|
6436
6714
|
#
|
6437
6715
|
# * Cloud Storage: `gs://{bucket}`
|
6716
|
+
# * Amazon S3: `s3://{bucket}`
|
6438
6717
|
# @!attribute [rw] full_resource
|
6439
6718
|
# @return [::String]
|
6440
6719
|
# The resource name of the resource profiled.
|
6441
6720
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
6721
|
+
#
|
6722
|
+
# Example format of an S3 bucket full resource name:
|
6723
|
+
# `//cloudasset.googleapis.com/organizations/{org_id}/otherCloudConnections/aws/arn:aws:s3:::{bucket_name}`
|
6442
6724
|
# @!attribute [rw] config_snapshot
|
6443
6725
|
# @return [::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot]
|
6444
6726
|
# The snapshot of the configurations used to generate the profile.
|
@@ -6651,6 +6933,7 @@ module Google
|
|
6651
6933
|
# * A restriction has the form of `{field} {operator} {value}`.
|
6652
6934
|
# * Supported fields/values:
|
6653
6935
|
# - `project_id` - The Google Cloud project ID.
|
6936
|
+
# - `account_id` - The AWS account ID.
|
6654
6937
|
# - `file_store_path` - The path like "gs://bucket".
|
6655
6938
|
# - `data_source_type` - The profile's data source type, like
|
6656
6939
|
# "google/storage/bucket".
|
@@ -7026,7 +7309,12 @@ module Google
|
|
7026
7309
|
# @!attribute [r] data_source
|
7027
7310
|
# @return [::String]
|
7028
7311
|
# Output only. An identifying string to the type of resource being profiled.
|
7029
|
-
# Current values:
|
7312
|
+
# Current values:
|
7313
|
+
#
|
7314
|
+
# * google/bigquery/table
|
7315
|
+
# * google/project
|
7316
|
+
# * google/sql/table
|
7317
|
+
# * google/gcs/bucket
|
7030
7318
|
class DataSourceType
|
7031
7319
|
include ::Google::Protobuf::MessageExts
|
7032
7320
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -7177,8 +7465,8 @@ module Google
|
|
7177
7465
|
PROFILE_GENERATION_UPDATE = 2
|
7178
7466
|
end
|
7179
7467
|
|
7180
|
-
# Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW,
|
7181
|
-
#
|
7468
|
+
# Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
|
7469
|
+
# non-BigLake external tables are not supported.
|
7182
7470
|
module BigQueryTableTypeCollection
|
7183
7471
|
# Unused.
|
7184
7472
|
BIG_QUERY_COLLECTION_UNSPECIFIED = 0
|
@@ -7196,8 +7484,8 @@ module Google
|
|
7196
7484
|
BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES = 2
|
7197
7485
|
end
|
7198
7486
|
|
7199
|
-
# Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW,
|
7200
|
-
#
|
7487
|
+
# Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
|
7488
|
+
# non-BigLake external tables are not supported.
|
7201
7489
|
module BigQueryTableType
|
7202
7490
|
# Unused.
|
7203
7491
|
BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0
|
@@ -7207,6 +7495,9 @@ module Google
|
|
7207
7495
|
|
7208
7496
|
# A table that references data stored in Cloud Storage.
|
7209
7497
|
BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2
|
7498
|
+
|
7499
|
+
# A snapshot of a BigQuery table.
|
7500
|
+
BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3
|
7210
7501
|
end
|
7211
7502
|
|
7212
7503
|
# How frequently data profiles can be updated. New options can be added at a
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dlp-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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: 2024-
|
11
|
+
date: 2024-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
|
-
rubygems_version: 3.5.
|
129
|
+
rubygems_version: 3.5.21
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Discover and protect your sensitive data. A fully managed service designed
|