google-cloud-dlp-v2 1.7.0 → 1.8.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/lib/google/cloud/dlp/v2/dlp_service/client.rb +1 -1
- data/lib/google/cloud/dlp/v2/dlp_service/rest/client.rb +1 -1
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +14 -1
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +270 -34
- data/proto_docs/google/privacy/dlp/v2/storage.rb +1 -1
- metadata +3 -3
@@ -74,7 +74,7 @@ module Google
|
|
74
74
|
# https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example
|
75
75
|
# to learn more.
|
76
76
|
rpc :ReidentifyContent, ::Google::Cloud::Dlp::V2::ReidentifyContentRequest, ::Google::Cloud::Dlp::V2::ReidentifyContentResponse
|
77
|
-
# Returns a list of the sensitive information types that DLP API
|
77
|
+
# Returns a list of the sensitive information types that the DLP API
|
78
78
|
# supports. See
|
79
79
|
# https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
|
80
80
|
# to learn more.
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -333,6 +333,9 @@ module Google
|
|
333
333
|
|
334
334
|
# Executable file types. Only used for profiling.
|
335
335
|
EXECUTABLE = 17
|
336
|
+
|
337
|
+
# AI model file types. Only used for profiling.
|
338
|
+
AI_MODEL = 18
|
336
339
|
end
|
337
340
|
end
|
338
341
|
|
@@ -1218,6 +1221,9 @@ module Google
|
|
1218
1221
|
# @return [::String]
|
1219
1222
|
# Description of the infotype. Translated when language is provided in the
|
1220
1223
|
# request.
|
1224
|
+
# @!attribute [rw] example
|
1225
|
+
# @return [::String]
|
1226
|
+
# A sample that is a true positive for this infoType.
|
1221
1227
|
# @!attribute [rw] versions
|
1222
1228
|
# @return [::Array<::Google::Cloud::Dlp::V2::VersionDescription>]
|
1223
1229
|
# A list of available versions for the infotype.
|
@@ -1458,6 +1464,9 @@ module Google
|
|
1458
1464
|
# Information that is not sensitive on its own, but provides details about
|
1459
1465
|
# the circumstances surrounding an entity or an event.
|
1460
1466
|
CONTEXTUAL_INFORMATION = 7
|
1467
|
+
|
1468
|
+
# Category for `CustomInfoType` types.
|
1469
|
+
CUSTOM = 8
|
1461
1470
|
end
|
1462
1471
|
end
|
1463
1472
|
|
@@ -2374,7 +2383,8 @@ module Google
|
|
2374
2383
|
# Note: The following fields are mutually exclusive: `character_mask_config`, `replace_config`, `redact_config`, `crypto_replace_ffx_fpe_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
2375
2384
|
# @!attribute [rw] crypto_replace_ffx_fpe_config
|
2376
2385
|
# @return [::Google::Cloud::Dlp::V2::CryptoReplaceFfxFpeConfig]
|
2377
|
-
# Ffx-Fpe
|
2386
|
+
# Ffx-Fpe. Strongly discouraged, consider using CryptoDeterministicConfig
|
2387
|
+
# instead. Fpe is computationally expensive incurring latency costs.
|
2378
2388
|
#
|
2379
2389
|
# Note: The following fields are mutually exclusive: `crypto_replace_ffx_fpe_config`, `replace_config`, `redact_config`, `character_mask_config`, `fixed_size_bucketing_config`, `bucketing_config`, `replace_with_info_type_config`, `time_part_config`, `crypto_hash_config`, `date_shift_config`, `crypto_deterministic_config`, `replace_dictionary_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
2380
2390
|
# @!attribute [rw] fixed_size_bucketing_config
|
@@ -2749,7 +2759,7 @@ module Google
|
|
2749
2759
|
#
|
2750
2760
|
# Note: We recommend using CryptoDeterministicConfig for all use cases which
|
2751
2761
|
# do not require preserving the input alphabet space and size, plus warrant
|
2752
|
-
# referential integrity.
|
2762
|
+
# referential integrity. FPE incurs significant latency costs.
|
2753
2763
|
# @!attribute [rw] crypto_key
|
2754
2764
|
# @return [::Google::Cloud::Dlp::V2::CryptoKey]
|
2755
2765
|
# Required. The key used by the encryption algorithm.
|
@@ -4251,7 +4261,7 @@ module Google
|
|
4251
4261
|
# Note: The following fields are mutually exclusive: `publish_to_chronicle`, `export_data`, `pub_sub_notification`, `publish_to_scc`, `tag_resources`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4252
4262
|
# @!attribute [rw] publish_to_scc
|
4253
4263
|
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::PublishToSecurityCommandCenter]
|
4254
|
-
# Publishes findings to
|
4264
|
+
# Publishes findings to Security Command Center for each data profile.
|
4255
4265
|
#
|
4256
4266
|
# Note: The following fields are mutually exclusive: `publish_to_scc`, `export_data`, `pub_sub_notification`, `publish_to_chronicle`, `tag_resources`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4257
4267
|
# @!attribute [rw] tag_resources
|
@@ -4267,15 +4277,32 @@ module Google
|
|
4267
4277
|
# of your choice whenever updated.
|
4268
4278
|
# @!attribute [rw] profile_table
|
4269
4279
|
# @return [::Google::Cloud::Dlp::V2::BigQueryTable]
|
4270
|
-
# Store all
|
4271
|
-
#
|
4272
|
-
#
|
4273
|
-
#
|
4274
|
-
#
|
4275
|
-
#
|
4276
|
-
#
|
4277
|
-
#
|
4278
|
-
#
|
4280
|
+
# Store all profiles to BigQuery.
|
4281
|
+
#
|
4282
|
+
# * The system will create a new dataset and table for you if none are
|
4283
|
+
# are provided. The dataset will be named
|
4284
|
+
# `sensitive_data_protection_discovery` and table will be named
|
4285
|
+
# `discovery_profiles`. This table will be placed in the same project as
|
4286
|
+
# the container project running the scan. After the first profile is
|
4287
|
+
# generated and the dataset and table are created, the discovery scan
|
4288
|
+
# configuration will be updated with the dataset and table names.
|
4289
|
+
# * See [Analyze data profiles stored in
|
4290
|
+
# BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles).
|
4291
|
+
# * See [Sample queries for your BigQuery
|
4292
|
+
# table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries).
|
4293
|
+
# * Data is inserted using [streaming
|
4294
|
+
# insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert)
|
4295
|
+
# and so data may be in the buffer for a period of time after the
|
4296
|
+
# profile has finished.
|
4297
|
+
# * The Pub/Sub notification is sent before the streaming buffer is
|
4298
|
+
# guaranteed to be written, so data may not be instantly
|
4299
|
+
# visible to queries by the time your topic receives the Pub/Sub
|
4300
|
+
# notification.
|
4301
|
+
# * The best practice is to use the same table for an entire organization
|
4302
|
+
# so that you can take advantage of the [provided Looker
|
4303
|
+
# reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report).
|
4304
|
+
# If you use VPC Service Controls to define security perimeters, then
|
4305
|
+
# you must use a separate table for each boundary.
|
4279
4306
|
class Export
|
4280
4307
|
include ::Google::Protobuf::MessageExts
|
4281
4308
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4327,7 +4354,8 @@ module Google
|
|
4327
4354
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4328
4355
|
end
|
4329
4356
|
|
4330
|
-
# If set, a summary finding will be created
|
4357
|
+
# If set, a summary finding will be created or updated in Security Command
|
4358
|
+
# Center for each profile.
|
4331
4359
|
class PublishToSecurityCommandCenter
|
4332
4360
|
include ::Google::Protobuf::MessageExts
|
4333
4361
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4425,7 +4453,7 @@ module Google
|
|
4425
4453
|
# @return [::String]
|
4426
4454
|
# The project that will run the scan. The DLP service
|
4427
4455
|
# account that exists within this project must have access to all resources
|
4428
|
-
# that are profiled, and the
|
4456
|
+
# that are profiled, and the DLP API must be enabled.
|
4429
4457
|
# @!attribute [rw] other_cloud_starting_location
|
4430
4458
|
# @return [::Google::Cloud::Dlp::V2::OtherCloudDiscoveryStartingLocation]
|
4431
4459
|
# Must be set only when scanning other clouds.
|
@@ -4580,6 +4608,11 @@ module Google
|
|
4580
4608
|
# @!attribute [rw] status
|
4581
4609
|
# @return [::Google::Cloud::Dlp::V2::DiscoveryConfig::Status]
|
4582
4610
|
# Required. A status for this configuration.
|
4611
|
+
# @!attribute [rw] processing_location
|
4612
|
+
# @return [::Google::Cloud::Dlp::V2::ProcessingLocation]
|
4613
|
+
# Optional. Processing location configuration. Vertex AI dataset scanning
|
4614
|
+
# will set processing_location.image_fallback_type to MultiRegionProcessing
|
4615
|
+
# by default.
|
4583
4616
|
class DiscoveryConfig
|
4584
4617
|
include ::Google::Protobuf::MessageExts
|
4585
4618
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4592,7 +4625,7 @@ module Google
|
|
4592
4625
|
# @return [::String]
|
4593
4626
|
# The project that will run the scan. The DLP service
|
4594
4627
|
# account that exists within this project must have access to all resources
|
4595
|
-
# that are profiled, and the
|
4628
|
+
# that are profiled, and the DLP API must be enabled.
|
4596
4629
|
class OrgConfig
|
4597
4630
|
include ::Google::Protobuf::MessageExts
|
4598
4631
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4618,32 +4651,44 @@ module Google
|
|
4618
4651
|
# BigQuery target for Discovery. The first target to match a table will be
|
4619
4652
|
# the one applied.
|
4620
4653
|
#
|
4621
|
-
# Note: The following fields are mutually exclusive: `big_query_target`, `cloud_sql_target`, `secrets_target`, `cloud_storage_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4654
|
+
# Note: The following fields are mutually exclusive: `big_query_target`, `cloud_sql_target`, `secrets_target`, `cloud_storage_target`, `other_cloud_target`, `vertex_dataset_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4622
4655
|
# @!attribute [rw] cloud_sql_target
|
4623
4656
|
# @return [::Google::Cloud::Dlp::V2::CloudSqlDiscoveryTarget]
|
4624
4657
|
# Cloud SQL target for Discovery. The first target to match a table will be
|
4625
4658
|
# the one applied.
|
4626
4659
|
#
|
4627
|
-
# Note: The following fields are mutually exclusive: `cloud_sql_target`, `big_query_target`, `secrets_target`, `cloud_storage_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4660
|
+
# Note: The following fields are mutually exclusive: `cloud_sql_target`, `big_query_target`, `secrets_target`, `cloud_storage_target`, `other_cloud_target`, `vertex_dataset_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4628
4661
|
# @!attribute [rw] secrets_target
|
4629
4662
|
# @return [::Google::Cloud::Dlp::V2::SecretsDiscoveryTarget]
|
4630
4663
|
# Discovery target that looks for credentials and secrets stored in cloud
|
4631
4664
|
# resource metadata and reports them as vulnerabilities to Security Command
|
4632
4665
|
# Center. Only one target of this type is allowed.
|
4633
4666
|
#
|
4634
|
-
# Note: The following fields are mutually exclusive: `secrets_target`, `big_query_target`, `cloud_sql_target`, `cloud_storage_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4667
|
+
# Note: The following fields are mutually exclusive: `secrets_target`, `big_query_target`, `cloud_sql_target`, `cloud_storage_target`, `other_cloud_target`, `vertex_dataset_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4635
4668
|
# @!attribute [rw] cloud_storage_target
|
4636
4669
|
# @return [::Google::Cloud::Dlp::V2::CloudStorageDiscoveryTarget]
|
4637
4670
|
# Cloud Storage target for Discovery. The first target to match a table
|
4638
4671
|
# will be the one applied.
|
4639
4672
|
#
|
4640
|
-
# Note: The following fields are mutually exclusive: `cloud_storage_target`, `big_query_target`, `cloud_sql_target`, `secrets_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4673
|
+
# Note: The following fields are mutually exclusive: `cloud_storage_target`, `big_query_target`, `cloud_sql_target`, `secrets_target`, `other_cloud_target`, `vertex_dataset_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4641
4674
|
# @!attribute [rw] other_cloud_target
|
4642
4675
|
# @return [::Google::Cloud::Dlp::V2::OtherCloudDiscoveryTarget]
|
4643
4676
|
# Other clouds target for discovery. The first target to match a resource
|
4644
4677
|
# will be the one applied.
|
4645
4678
|
#
|
4646
|
-
# Note: The following fields are mutually exclusive: `other_cloud_target`, `big_query_target`, `cloud_sql_target`, `secrets_target`, `cloud_storage_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4679
|
+
# Note: The following fields are mutually exclusive: `other_cloud_target`, `big_query_target`, `cloud_sql_target`, `secrets_target`, `cloud_storage_target`, `vertex_dataset_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4680
|
+
# @!attribute [rw] vertex_dataset_target
|
4681
|
+
# @return [::Google::Cloud::Dlp::V2::VertexDatasetDiscoveryTarget]
|
4682
|
+
# Vertex AI dataset target for Discovery. The first target to match a
|
4683
|
+
# dataset will be the one applied. Note that discovery for Vertex AI can
|
4684
|
+
# incur Cloud Storage Class B operation charges for storage.objects.get
|
4685
|
+
# operations and retrieval fees. For more information, see [Cloud Storage
|
4686
|
+
# pricing](https://cloud.google.com/storage/pricing#price-tables).
|
4687
|
+
# Note that discovery for Vertex AI dataset will not be able to scan images
|
4688
|
+
# unless DiscoveryConfig.processing_location.image_fallback_location has
|
4689
|
+
# multi_region_processing or global_processing configured.
|
4690
|
+
#
|
4691
|
+
# Note: The following fields are mutually exclusive: `vertex_dataset_target`, `big_query_target`, `cloud_sql_target`, `secrets_target`, `cloud_storage_target`, `other_cloud_target`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
4647
4692
|
class DiscoveryTarget
|
4648
4693
|
include ::Google::Protobuf::MessageExts
|
4649
4694
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -5262,13 +5307,13 @@ module Google
|
|
5262
5307
|
# Scan buckets regardless of the attribute.
|
5263
5308
|
ALL_SUPPORTED_BUCKETS = 1
|
5264
5309
|
|
5265
|
-
# Buckets with autoclass
|
5266
|
-
#
|
5310
|
+
# Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass)
|
5311
|
+
# disabled. Only one of
|
5267
5312
|
# AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set.
|
5268
5313
|
AUTOCLASS_DISABLED = 2
|
5269
5314
|
|
5270
|
-
# Buckets with autoclass
|
5271
|
-
#
|
5315
|
+
# Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass)
|
5316
|
+
# enabled. Only one of
|
5272
5317
|
# AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. Scanning
|
5273
5318
|
# Autoclass-enabled buckets can affect object storage classes.
|
5274
5319
|
AUTOCLASS_ENABLED = 3
|
@@ -5573,6 +5618,134 @@ module Google
|
|
5573
5618
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5574
5619
|
end
|
5575
5620
|
|
5621
|
+
# Target used to match against for discovery with Vertex AI datasets.
|
5622
|
+
# @!attribute [rw] filter
|
5623
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryVertexDatasetFilter]
|
5624
|
+
# Required. The datasets the discovery cadence applies to. The first target
|
5625
|
+
# with a matching filter will be the one to apply to a dataset.
|
5626
|
+
# @!attribute [rw] conditions
|
5627
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryVertexDatasetConditions]
|
5628
|
+
# In addition to matching the filter, these conditions must be true
|
5629
|
+
# before a profile is generated.
|
5630
|
+
# @!attribute [rw] generation_cadence
|
5631
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryVertexDatasetGenerationCadence]
|
5632
|
+
# How often and when to update profiles. New datasets that match both the
|
5633
|
+
# filter and conditions are scanned as quickly as possible depending on
|
5634
|
+
# system capacity.
|
5635
|
+
#
|
5636
|
+
# Note: The following fields are mutually exclusive: `generation_cadence`, `disabled`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
5637
|
+
# @!attribute [rw] disabled
|
5638
|
+
# @return [::Google::Cloud::Dlp::V2::Disabled]
|
5639
|
+
# Disable profiling for datasets that match this filter.
|
5640
|
+
#
|
5641
|
+
# Note: The following fields are mutually exclusive: `disabled`, `generation_cadence`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
5642
|
+
class VertexDatasetDiscoveryTarget
|
5643
|
+
include ::Google::Protobuf::MessageExts
|
5644
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5645
|
+
end
|
5646
|
+
|
5647
|
+
# Determines what datasets will have profiles generated within an organization
|
5648
|
+
# or project. Includes the ability to filter by regular expression patterns
|
5649
|
+
# on project ID or dataset regex.
|
5650
|
+
# @!attribute [rw] collection
|
5651
|
+
# @return [::Google::Cloud::Dlp::V2::VertexDatasetCollection]
|
5652
|
+
# A specific set of Vertex AI datasets for this filter to apply to.
|
5653
|
+
#
|
5654
|
+
# Note: The following fields are mutually exclusive: `collection`, `vertex_dataset_resource_reference`, `others`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
5655
|
+
# @!attribute [rw] vertex_dataset_resource_reference
|
5656
|
+
# @return [::Google::Cloud::Dlp::V2::VertexDatasetResourceReference]
|
5657
|
+
# The dataset resource to scan. Targets including this can only include
|
5658
|
+
# one target (the target with this dataset resource reference).
|
5659
|
+
#
|
5660
|
+
# Note: The following fields are mutually exclusive: `vertex_dataset_resource_reference`, `collection`, `others`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
5661
|
+
# @!attribute [rw] others
|
5662
|
+
# @return [::Google::Cloud::Dlp::V2::AllOtherResources]
|
5663
|
+
# Catch-all. This should always be the last target in the list because
|
5664
|
+
# anything above it will apply first. Should only appear once in a
|
5665
|
+
# configuration. If none is specified, a default one will be added
|
5666
|
+
# automatically.
|
5667
|
+
#
|
5668
|
+
# Note: The following fields are mutually exclusive: `others`, `collection`, `vertex_dataset_resource_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
5669
|
+
class DiscoveryVertexDatasetFilter
|
5670
|
+
include ::Google::Protobuf::MessageExts
|
5671
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5672
|
+
end
|
5673
|
+
|
5674
|
+
# Match dataset resources using regex filters.
|
5675
|
+
# @!attribute [rw] vertex_dataset_regexes
|
5676
|
+
# @return [::Google::Cloud::Dlp::V2::VertexDatasetRegexes]
|
5677
|
+
# The regex used to filter dataset resources.
|
5678
|
+
class VertexDatasetCollection
|
5679
|
+
include ::Google::Protobuf::MessageExts
|
5680
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5681
|
+
end
|
5682
|
+
|
5683
|
+
# A collection of regular expressions to determine what datasets to match
|
5684
|
+
# against.
|
5685
|
+
# @!attribute [rw] patterns
|
5686
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::VertexDatasetRegex>]
|
5687
|
+
# Required. The group of regular expression patterns to match against one or
|
5688
|
+
# more datasets. Maximum of 100 entries. The sum of the lengths of all
|
5689
|
+
# regular expressions can't exceed 10 KiB.
|
5690
|
+
class VertexDatasetRegexes
|
5691
|
+
include ::Google::Protobuf::MessageExts
|
5692
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5693
|
+
end
|
5694
|
+
|
5695
|
+
# A pattern to match against one or more dataset resources.
|
5696
|
+
# @!attribute [rw] project_id_regex
|
5697
|
+
# @return [::String]
|
5698
|
+
# For organizations, if unset, will match all projects. Has no effect
|
5699
|
+
# for configurations created within a project.
|
5700
|
+
class VertexDatasetRegex
|
5701
|
+
include ::Google::Protobuf::MessageExts
|
5702
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5703
|
+
end
|
5704
|
+
|
5705
|
+
# Identifies a single Vertex AI dataset.
|
5706
|
+
# @!attribute [rw] dataset_resource_name
|
5707
|
+
# @return [::String]
|
5708
|
+
# Required. The name of the dataset resource. If set within a project-level
|
5709
|
+
# configuration, the specified resource must be within the project.
|
5710
|
+
class VertexDatasetResourceReference
|
5711
|
+
include ::Google::Protobuf::MessageExts
|
5712
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5713
|
+
end
|
5714
|
+
|
5715
|
+
# Requirements that must be true before a dataset is profiled for the
|
5716
|
+
# first time.
|
5717
|
+
# @!attribute [rw] created_after
|
5718
|
+
# @return [::Google::Protobuf::Timestamp]
|
5719
|
+
# Vertex AI dataset must have been created after this date. Used to avoid
|
5720
|
+
# backfilling.
|
5721
|
+
# @!attribute [rw] min_age
|
5722
|
+
# @return [::Google::Protobuf::Duration]
|
5723
|
+
# Minimum age a Vertex AI dataset must have. If set, the value must be 1 hour
|
5724
|
+
# or greater.
|
5725
|
+
class DiscoveryVertexDatasetConditions
|
5726
|
+
include ::Google::Protobuf::MessageExts
|
5727
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5728
|
+
end
|
5729
|
+
|
5730
|
+
# How often existing datasets should have their profiles refreshed.
|
5731
|
+
# New datasets are scanned as quickly as possible depending on system
|
5732
|
+
# capacity.
|
5733
|
+
# @!attribute [rw] refresh_frequency
|
5734
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileUpdateFrequency]
|
5735
|
+
# If you set this field, profiles are refreshed at this
|
5736
|
+
# frequency regardless of whether the underlying datasets have changed.
|
5737
|
+
# Defaults to never.
|
5738
|
+
# @!attribute [rw] inspect_template_modified_cadence
|
5739
|
+
# @return [::Google::Cloud::Dlp::V2::DiscoveryInspectTemplateModifiedCadence]
|
5740
|
+
# Governs when to update data profiles when the inspection rules
|
5741
|
+
# defined by the `InspectTemplate` change.
|
5742
|
+
# If not set, changing the template will not cause a data profile to be
|
5743
|
+
# updated.
|
5744
|
+
class DiscoveryVertexDatasetGenerationCadence
|
5745
|
+
include ::Google::Protobuf::MessageExts
|
5746
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5747
|
+
end
|
5748
|
+
|
5576
5749
|
# Combines all of the information about a DLP job.
|
5577
5750
|
# @!attribute [rw] name
|
5578
5751
|
# @return [::String]
|
@@ -5648,7 +5821,8 @@ module Google
|
|
5648
5821
|
end
|
5649
5822
|
end
|
5650
5823
|
|
5651
|
-
# The request message for
|
5824
|
+
# The request message for
|
5825
|
+
# {::Google::Cloud::Dlp::V2::DlpService::Client#get_dlp_job GetDlpJob}.
|
5652
5826
|
# @!attribute [rw] name
|
5653
5827
|
# @return [::String]
|
5654
5828
|
# Required. The name of the DlpJob resource.
|
@@ -6710,6 +6884,9 @@ module Google
|
|
6710
6884
|
# @!attribute [rw] create_time
|
6711
6885
|
# @return [::Google::Protobuf::Timestamp]
|
6712
6886
|
# The time at which the table was created.
|
6887
|
+
# @!attribute [rw] related_resources
|
6888
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::RelatedResource>]
|
6889
|
+
# Resources related to this profile.
|
6713
6890
|
class TableDataProfile
|
6714
6891
|
include ::Google::Protobuf::MessageExts
|
6715
6892
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -6976,14 +7153,16 @@ module Google
|
|
6976
7153
|
# profile.
|
6977
7154
|
# @!attribute [rw] location_type
|
6978
7155
|
# @return [::String]
|
6979
|
-
# The location type of the
|
6980
|
-
# If dual-region, expect data_storage_locations to be populated.
|
7156
|
+
# The location type of the file store (region, dual-region, multi-region,
|
7157
|
+
# etc). If dual-region, expect data_storage_locations to be populated.
|
6981
7158
|
# @!attribute [rw] file_store_path
|
6982
7159
|
# @return [::String]
|
6983
7160
|
# The file store path.
|
6984
7161
|
#
|
6985
7162
|
# * Cloud Storage: `gs://{bucket}`
|
6986
7163
|
# * Amazon S3: `s3://{bucket}`
|
7164
|
+
# * Vertex AI dataset:
|
7165
|
+
# `projects/{project_number}/locations/{location}/datasets/{dataset_id}`
|
6987
7166
|
# @!attribute [rw] full_resource
|
6988
7167
|
# @return [::String]
|
6989
7168
|
# The resource name of the resource profiled.
|
@@ -7039,6 +7218,9 @@ module Google
|
|
7039
7218
|
# @!attribute [rw] file_store_is_empty
|
7040
7219
|
# @return [::Boolean]
|
7041
7220
|
# The file store does not have any files.
|
7221
|
+
# @!attribute [rw] related_resources
|
7222
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::RelatedResource>]
|
7223
|
+
# Resources related to this profile.
|
7042
7224
|
class FileStoreDataProfile
|
7043
7225
|
include ::Google::Protobuf::MessageExts
|
7044
7226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -7077,6 +7259,19 @@ module Google
|
|
7077
7259
|
end
|
7078
7260
|
end
|
7079
7261
|
|
7262
|
+
# A related resource.
|
7263
|
+
# Examples:
|
7264
|
+
#
|
7265
|
+
# * The source BigQuery table for a Vertex AI dataset.
|
7266
|
+
# * The source Cloud Storage bucket for a Vertex AI dataset.
|
7267
|
+
# @!attribute [rw] full_resource
|
7268
|
+
# @return [::String]
|
7269
|
+
# The full resource name of the related resource.
|
7270
|
+
class RelatedResource
|
7271
|
+
include ::Google::Protobuf::MessageExts
|
7272
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
7273
|
+
end
|
7274
|
+
|
7080
7275
|
# Information regarding the discovered InfoType.
|
7081
7276
|
# @!attribute [rw] info_type
|
7082
7277
|
# @return [::Google::Cloud::Dlp::V2::InfoType]
|
@@ -7125,8 +7320,8 @@ module Google
|
|
7125
7320
|
# File extensions can be derived from the file name or the file content.
|
7126
7321
|
# @!attribute [rw] no_files_exist
|
7127
7322
|
# @return [::Boolean]
|
7128
|
-
# True if no files exist in this cluster. If the
|
7129
|
-
# could be listed, this will be false even if no files for this cluster
|
7323
|
+
# True if no files exist in this cluster. If the file store had more files
|
7324
|
+
# than could be listed, this will be false even if no files for this cluster
|
7130
7325
|
# were seen and file_extensions_seen is empty.
|
7131
7326
|
class FileClusterSummary
|
7132
7327
|
include ::Google::Protobuf::MessageExts
|
@@ -7479,8 +7674,8 @@ module Google
|
|
7479
7674
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
7480
7675
|
end
|
7481
7676
|
|
7482
|
-
# A data connection to allow DLP to profile data in locations that
|
7483
|
-
# additional configuration.
|
7677
|
+
# A data connection to allow the DLP API to profile data in locations that
|
7678
|
+
# require additional configuration.
|
7484
7679
|
# @!attribute [r] name
|
7485
7680
|
# @return [::String]
|
7486
7681
|
# Output only. Name of the connection:
|
@@ -7550,7 +7745,7 @@ module Google
|
|
7550
7745
|
# Note: The following fields are mutually exclusive: `cloud_sql_iam`, `username_password`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
7551
7746
|
# @!attribute [rw] max_connections
|
7552
7747
|
# @return [::Integer]
|
7553
|
-
# Required. DLP will limit its connections to max_connections.
|
7748
|
+
# Required. The DLP API will limit its connections to max_connections.
|
7554
7749
|
# Must be 2 or greater.
|
7555
7750
|
# @!attribute [rw] database_engine
|
7556
7751
|
# @return [::Google::Cloud::Dlp::V2::CloudSqlProperties::DatabaseEngine]
|
@@ -7638,6 +7833,47 @@ module Google
|
|
7638
7833
|
|
7639
7834
|
# Executable files like .exe, .class, .apk etc.
|
7640
7835
|
CLUSTER_EXECUTABLE = 9
|
7836
|
+
|
7837
|
+
# AI models like .tflite etc.
|
7838
|
+
CLUSTER_AI_MODEL = 10
|
7839
|
+
end
|
7840
|
+
end
|
7841
|
+
|
7842
|
+
# Configure processing location for discovery and inspection. For example,
|
7843
|
+
# image OCR is only provided in limited regions but configuring
|
7844
|
+
# ProcessingLocation will redirect OCR to a location where OCR is provided.
|
7845
|
+
# @!attribute [rw] image_fallback_location
|
7846
|
+
# @return [::Google::Cloud::Dlp::V2::ProcessingLocation::ImageFallbackLocation]
|
7847
|
+
# Image processing will fall back using this configuration.
|
7848
|
+
class ProcessingLocation
|
7849
|
+
include ::Google::Protobuf::MessageExts
|
7850
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
7851
|
+
|
7852
|
+
# Processing will happen in a multi-region that contains the current region
|
7853
|
+
# if available.
|
7854
|
+
class MultiRegionProcessing
|
7855
|
+
include ::Google::Protobuf::MessageExts
|
7856
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
7857
|
+
end
|
7858
|
+
|
7859
|
+
# Processing will happen in the global region.
|
7860
|
+
class GlobalProcessing
|
7861
|
+
include ::Google::Protobuf::MessageExts
|
7862
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
7863
|
+
end
|
7864
|
+
|
7865
|
+
# Configure image processing to fall back to the configured processing option
|
7866
|
+
# below if unavailable in the request location.
|
7867
|
+
# @!attribute [rw] multi_region_processing
|
7868
|
+
# @return [::Google::Cloud::Dlp::V2::ProcessingLocation::MultiRegionProcessing]
|
7869
|
+
# Processing will happen in a multi-region that contains the current region
|
7870
|
+
# if available.
|
7871
|
+
# @!attribute [rw] global_processing
|
7872
|
+
# @return [::Google::Cloud::Dlp::V2::ProcessingLocation::GlobalProcessing]
|
7873
|
+
# Processing will happen in the global region.
|
7874
|
+
class ImageFallbackLocation
|
7875
|
+
include ::Google::Protobuf::MessageExts
|
7876
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
7641
7877
|
end
|
7642
7878
|
end
|
7643
7879
|
|
@@ -8015,8 +8251,8 @@ module Google
|
|
8015
8251
|
# Unused
|
8016
8252
|
CONNECTION_STATE_UNSPECIFIED = 0
|
8017
8253
|
|
8018
|
-
# DLP automatically created this connection during an initial scan,
|
8019
|
-
# awaiting full configuration by a user.
|
8254
|
+
# The DLP API automatically created this connection during an initial scan,
|
8255
|
+
# and it is awaiting full configuration by a user.
|
8020
8256
|
MISSING_CREDENTIALS = 1
|
8021
8257
|
|
8022
8258
|
# A configured connection that has not encountered any errors.
|
@@ -851,7 +851,7 @@ module Google
|
|
851
851
|
# `<project_id>.<dataset_id>.<table_id>`.
|
852
852
|
# @!attribute [rw] project_id
|
853
853
|
# @return [::String]
|
854
|
-
# The Google Cloud
|
854
|
+
# The Google Cloud project ID of the project containing the table.
|
855
855
|
# If omitted, project ID is inferred from the API call.
|
856
856
|
# @!attribute [rw] dataset_id
|
857
857
|
# @return [::String]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-25 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
|
-
rubygems_version: 3.6.
|
127
|
+
rubygems_version: 3.6.5
|
128
128
|
specification_version: 4
|
129
129
|
summary: Discover and protect your sensitive data. A fully managed service designed
|
130
130
|
to help you discover, classify, and protect your valuable data assets with ease.
|