google-apis-dlp_v2 0.97.0 → 0.99.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 +98 -0
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +46 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b13d34f86b6acb45c9654ab8773538b5f15cfe8a64aac57921cf4b99bd8c5e9
|
4
|
+
data.tar.gz: 48790a72b8eeceb4f336d067f4065ed6419539016873715ac5e08a711b64d76e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a2d2d6b0794abbda18f3eebf98ac6f560f75a6004e6f40fe562a042e20476d297137fbe241a8cc8ee54bce954331a4030bea0ddafe3d2e7e40944563b3a1611
|
7
|
+
data.tar.gz: f33fa7b91ca081d73bfc98b6e580ef5a59d58f512be170d0806fa4187c53eb833eaaa76622ec1abd7b686c19875ce44c47ee0914ab31da69166d70874cb895e9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
2
2
|
|
3
|
+
### v0.99.0 (2025-09-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250921
|
6
|
+
|
7
|
+
### v0.98.0 (2025-09-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250914
|
10
|
+
|
3
11
|
### v0.97.0 (2025-08-31)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250824
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog]
|
67
67
|
attr_accessor :publish_findings_to_cloud_data_catalog
|
68
68
|
|
69
|
+
# Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive-
|
70
|
+
# data-protection-job-result` aspect. To learn more about aspects, see [Send
|
71
|
+
# inspection results to Dataplex Universal Catalog as aspects](https://cloud.
|
72
|
+
# google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects
|
73
|
+
# are persisted in Dataplex Universal Catalog storage and are governed by
|
74
|
+
# service-specific policies for Dataplex Universal Catalog. For more information,
|
75
|
+
# see [Service Specific Terms](https://cloud.google.com/terms/service-terms).
|
76
|
+
# Only a single instance of this action can be specified. This action is allowed
|
77
|
+
# only if all resources being scanned are BigQuery tables. Compatible with:
|
78
|
+
# Inspect
|
79
|
+
# Corresponds to the JSON property `publishFindingsToDataplexCatalog`
|
80
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog]
|
81
|
+
attr_accessor :publish_findings_to_dataplex_catalog
|
82
|
+
|
69
83
|
# Publish the result summary of a DlpJob to [Security Command Center](https://
|
70
84
|
# cloud.google.com/security-command-center). This action is available for only
|
71
85
|
# projects that belong to an organization. This action publishes the count of
|
@@ -102,6 +116,7 @@ module Google
|
|
102
116
|
@job_notification_emails = args[:job_notification_emails] if args.key?(:job_notification_emails)
|
103
117
|
@pub_sub = args[:pub_sub] if args.key?(:pub_sub)
|
104
118
|
@publish_findings_to_cloud_data_catalog = args[:publish_findings_to_cloud_data_catalog] if args.key?(:publish_findings_to_cloud_data_catalog)
|
119
|
+
@publish_findings_to_dataplex_catalog = args[:publish_findings_to_dataplex_catalog] if args.key?(:publish_findings_to_dataplex_catalog)
|
105
120
|
@publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc)
|
106
121
|
@publish_to_stackdriver = args[:publish_to_stackdriver] if args.key?(:publish_to_stackdriver)
|
107
122
|
@save_findings = args[:save_findings] if args.key?(:save_findings)
|
@@ -5033,6 +5048,11 @@ module Google
|
|
5033
5048
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes]
|
5034
5049
|
attr_accessor :include_regexes
|
5035
5050
|
|
5051
|
+
# Tags to match against for filtering.
|
5052
|
+
# Corresponds to the JSON property `includeTags`
|
5053
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilters]
|
5054
|
+
attr_accessor :include_tags
|
5055
|
+
|
5036
5056
|
def initialize(**args)
|
5037
5057
|
update!(**args)
|
5038
5058
|
end
|
@@ -5040,6 +5060,7 @@ module Google
|
|
5040
5060
|
# Update properties of this object
|
5041
5061
|
def update!(**args)
|
5042
5062
|
@include_regexes = args[:include_regexes] if args.key?(:include_regexes)
|
5063
|
+
@include_tags = args[:include_tags] if args.key?(:include_tags)
|
5043
5064
|
end
|
5044
5065
|
end
|
5045
5066
|
|
@@ -7985,6 +8006,11 @@ module Google
|
|
7985
8006
|
# @return [String]
|
7986
8007
|
attr_accessor :output_schema
|
7987
8008
|
|
8009
|
+
# Message representing a single file or path in Cloud Storage.
|
8010
|
+
# Corresponds to the JSON property `storagePath`
|
8011
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath]
|
8012
|
+
attr_accessor :storage_path
|
8013
|
+
|
7988
8014
|
# Message defining the location of a BigQuery table. A table is uniquely
|
7989
8015
|
# identified by its project_id, dataset_id, and table_name. Within a query a
|
7990
8016
|
# table is often referenced with a string in the format of: `:.` or `..`.
|
@@ -7999,6 +8025,7 @@ module Google
|
|
7999
8025
|
# Update properties of this object
|
8000
8026
|
def update!(**args)
|
8001
8027
|
@output_schema = args[:output_schema] if args.key?(:output_schema)
|
8028
|
+
@storage_path = args[:storage_path] if args.key?(:storage_path)
|
8002
8029
|
@table = args[:table] if args.key?(:table)
|
8003
8030
|
end
|
8004
8031
|
end
|
@@ -8524,6 +8551,28 @@ module Google
|
|
8524
8551
|
end
|
8525
8552
|
end
|
8526
8553
|
|
8554
|
+
# Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive-
|
8555
|
+
# data-protection-job-result` aspect. To learn more about aspects, see [Send
|
8556
|
+
# inspection results to Dataplex Universal Catalog as aspects](https://cloud.
|
8557
|
+
# google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects
|
8558
|
+
# are persisted in Dataplex Universal Catalog storage and are governed by
|
8559
|
+
# service-specific policies for Dataplex Universal Catalog. For more information,
|
8560
|
+
# see [Service Specific Terms](https://cloud.google.com/terms/service-terms).
|
8561
|
+
# Only a single instance of this action can be specified. This action is allowed
|
8562
|
+
# only if all resources being scanned are BigQuery tables. Compatible with:
|
8563
|
+
# Inspect
|
8564
|
+
class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog
|
8565
|
+
include Google::Apis::Core::Hashable
|
8566
|
+
|
8567
|
+
def initialize(**args)
|
8568
|
+
update!(**args)
|
8569
|
+
end
|
8570
|
+
|
8571
|
+
# Update properties of this object
|
8572
|
+
def update!(**args)
|
8573
|
+
end
|
8574
|
+
end
|
8575
|
+
|
8527
8576
|
# Publish the result summary of a DlpJob to [Security Command Center](https://
|
8528
8577
|
# cloud.google.com/security-command-center). This action is available for only
|
8529
8578
|
# projects that belong to an organization. This action publishes the count of
|
@@ -10342,6 +10391,55 @@ module Google
|
|
10342
10391
|
end
|
10343
10392
|
end
|
10344
10393
|
|
10394
|
+
# A single tag to filter against.
|
10395
|
+
class GooglePrivacyDlpV2TagFilter
|
10396
|
+
include Google::Apis::Core::Hashable
|
10397
|
+
|
10398
|
+
# The namespaced name for the tag key. Must be in the format ``parent_id`/`
|
10399
|
+
# tag_key_short_name``, for example, "123456/sensitive" for an organization
|
10400
|
+
# parent, or "my-project/sensitive" for a project parent.
|
10401
|
+
# Corresponds to the JSON property `namespacedTagKey`
|
10402
|
+
# @return [String]
|
10403
|
+
attr_accessor :namespaced_tag_key
|
10404
|
+
|
10405
|
+
# The namespaced name for the tag value. Must be in the format ``parent_id`/`
|
10406
|
+
# tag_key_short_name`/`short_name``, for example, "123456/environment/prod" for
|
10407
|
+
# an organization parent, or "my-project/environment/prod" for a project parent.
|
10408
|
+
# Corresponds to the JSON property `namespacedTagValue`
|
10409
|
+
# @return [String]
|
10410
|
+
attr_accessor :namespaced_tag_value
|
10411
|
+
|
10412
|
+
def initialize(**args)
|
10413
|
+
update!(**args)
|
10414
|
+
end
|
10415
|
+
|
10416
|
+
# Update properties of this object
|
10417
|
+
def update!(**args)
|
10418
|
+
@namespaced_tag_key = args[:namespaced_tag_key] if args.key?(:namespaced_tag_key)
|
10419
|
+
@namespaced_tag_value = args[:namespaced_tag_value] if args.key?(:namespaced_tag_value)
|
10420
|
+
end
|
10421
|
+
end
|
10422
|
+
|
10423
|
+
# Tags to match against for filtering.
|
10424
|
+
class GooglePrivacyDlpV2TagFilters
|
10425
|
+
include Google::Apis::Core::Hashable
|
10426
|
+
|
10427
|
+
# Required. A resource must match ALL of the specified tag filters to be
|
10428
|
+
# included in the collection.
|
10429
|
+
# Corresponds to the JSON property `tagFilters`
|
10430
|
+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilter>]
|
10431
|
+
attr_accessor :tag_filters
|
10432
|
+
|
10433
|
+
def initialize(**args)
|
10434
|
+
update!(**args)
|
10435
|
+
end
|
10436
|
+
|
10437
|
+
# Update properties of this object
|
10438
|
+
def update!(**args)
|
10439
|
+
@tag_filters = args[:tag_filters] if args.key?(:tag_filters)
|
10440
|
+
end
|
10441
|
+
end
|
10442
|
+
|
10345
10443
|
# If set, attaches the [tags] (https://cloud.google.com/resource-manager/docs/
|
10346
10444
|
# tags/tags-overview) provided to profiled resources. Tags support [access
|
10347
10445
|
# control](https://cloud.google.com/iam/docs/tags-access-control). You can
|
@@ -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.99.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250921"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1468,6 +1468,12 @@ module Google
|
|
1468
1468
|
include Google::Apis::Core::JsonObjectSupport
|
1469
1469
|
end
|
1470
1470
|
|
1471
|
+
class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
|
+
|
1474
|
+
include Google::Apis::Core::JsonObjectSupport
|
1475
|
+
end
|
1476
|
+
|
1471
1477
|
class GooglePrivacyDlpV2PublishSummaryToCscc
|
1472
1478
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1473
1479
|
|
@@ -1822,6 +1828,18 @@ module Google
|
|
1822
1828
|
include Google::Apis::Core::JsonObjectSupport
|
1823
1829
|
end
|
1824
1830
|
|
1831
|
+
class GooglePrivacyDlpV2TagFilter
|
1832
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1833
|
+
|
1834
|
+
include Google::Apis::Core::JsonObjectSupport
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
class GooglePrivacyDlpV2TagFilters
|
1838
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1839
|
+
|
1840
|
+
include Google::Apis::Core::JsonObjectSupport
|
1841
|
+
end
|
1842
|
+
|
1825
1843
|
class GooglePrivacyDlpV2TagResources
|
1826
1844
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1827
1845
|
|
@@ -2073,6 +2091,8 @@ module Google
|
|
2073
2091
|
|
2074
2092
|
property :publish_findings_to_cloud_data_catalog, as: 'publishFindingsToCloudDataCatalog', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToCloudDataCatalog::Representation
|
2075
2093
|
|
2094
|
+
property :publish_findings_to_dataplex_catalog, as: 'publishFindingsToDataplexCatalog', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog::Representation
|
2095
|
+
|
2076
2096
|
property :publish_summary_to_cscc, as: 'publishSummaryToCscc', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc::Representation
|
2077
2097
|
|
2078
2098
|
property :publish_to_stackdriver, as: 'publishToStackdriver', class: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToStackdriver::Representation
|
@@ -3530,6 +3550,8 @@ module Google
|
|
3530
3550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3531
3551
|
property :include_regexes, as: 'includeRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes::Representation
|
3532
3552
|
|
3553
|
+
property :include_tags, as: 'includeTags', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilters, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilters::Representation
|
3554
|
+
|
3533
3555
|
end
|
3534
3556
|
end
|
3535
3557
|
|
@@ -4444,6 +4466,8 @@ module Google
|
|
4444
4466
|
# @private
|
4445
4467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4446
4468
|
property :output_schema, as: 'outputSchema'
|
4469
|
+
property :storage_path, as: 'storagePath', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath::Representation
|
4470
|
+
|
4447
4471
|
property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
|
4448
4472
|
|
4449
4473
|
end
|
@@ -4592,6 +4616,12 @@ module Google
|
|
4592
4616
|
end
|
4593
4617
|
end
|
4594
4618
|
|
4619
|
+
class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog
|
4620
|
+
# @private
|
4621
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4622
|
+
end
|
4623
|
+
end
|
4624
|
+
|
4595
4625
|
class GooglePrivacyDlpV2PublishSummaryToCscc
|
4596
4626
|
# @private
|
4597
4627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5165,6 +5195,22 @@ module Google
|
|
5165
5195
|
end
|
5166
5196
|
end
|
5167
5197
|
|
5198
|
+
class GooglePrivacyDlpV2TagFilter
|
5199
|
+
# @private
|
5200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5201
|
+
property :namespaced_tag_key, as: 'namespacedTagKey'
|
5202
|
+
property :namespaced_tag_value, as: 'namespacedTagValue'
|
5203
|
+
end
|
5204
|
+
end
|
5205
|
+
|
5206
|
+
class GooglePrivacyDlpV2TagFilters
|
5207
|
+
# @private
|
5208
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5209
|
+
collection :tag_filters, as: 'tagFilters', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilter::Representation
|
5210
|
+
|
5211
|
+
end
|
5212
|
+
end
|
5213
|
+
|
5168
5214
|
class GooglePrivacyDlpV2TagResources
|
5169
5215
|
# @private
|
5170
5216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dlp_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.99.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.99.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|