Skip to content

Commit 0846085

Browse files
feat: Automated regeneration of dlp v2 client (#24317)
Auto-created at 2025-09-21 09:19:29 +0000 using the toys pull request generator.
1 parent 3d019fb commit 0846085

File tree

5 files changed

+107
-2
lines changed

5 files changed

+107
-2
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228769,6 +228769,7 @@
228769228769
"/dlp:v2/GooglePrivacyDlpV2FileSet/url": url
228770228770
"/dlp:v2/GooglePrivacyDlpV2FileStoreCollection": google_privacy_dlp_v2_file_store_collection
228771228771
"/dlp:v2/GooglePrivacyDlpV2FileStoreCollection/includeRegexes": include_regexes
228772+
"/dlp:v2/GooglePrivacyDlpV2FileStoreCollection/includeTags": include_tags
228772228773
"/dlp:v2/GooglePrivacyDlpV2FileStoreDataProfile": google_privacy_dlp_v2_file_store_data_profile
228773228774
"/dlp:v2/GooglePrivacyDlpV2FileStoreDataProfile/configSnapshot": config_snapshot
228774228775
"/dlp:v2/GooglePrivacyDlpV2FileStoreDataProfile/createTime": create_time
@@ -229168,6 +229169,7 @@
229168229169
"/dlp:v2/GooglePrivacyDlpV2OtherInfoTypeSummary/infoType": info_type
229169229170
"/dlp:v2/GooglePrivacyDlpV2OutputStorageConfig": google_privacy_dlp_v2_output_storage_config
229170229171
"/dlp:v2/GooglePrivacyDlpV2OutputStorageConfig/outputSchema": output_schema
229172+
"/dlp:v2/GooglePrivacyDlpV2OutputStorageConfig/storagePath": storage_path
229171229173
"/dlp:v2/GooglePrivacyDlpV2OutputStorageConfig/table": table
229172229174
"/dlp:v2/GooglePrivacyDlpV2PartitionId": google_privacy_dlp_v2_partition_id
229173229175
"/dlp:v2/GooglePrivacyDlpV2PartitionId/namespaceId": namespace_id
@@ -229453,6 +229455,12 @@
229453229455
"/dlp:v2/GooglePrivacyDlpV2TagCondition": google_privacy_dlp_v2_tag_condition
229454229456
"/dlp:v2/GooglePrivacyDlpV2TagCondition/sensitivityScore": sensitivity_score
229455229457
"/dlp:v2/GooglePrivacyDlpV2TagCondition/tag": tag
229458+
"/dlp:v2/GooglePrivacyDlpV2TagFilter": google_privacy_dlp_v2_tag_filter
229459+
"/dlp:v2/GooglePrivacyDlpV2TagFilter/namespacedTagKey": namespaced_tag_key
229460+
"/dlp:v2/GooglePrivacyDlpV2TagFilter/namespacedTagValue": namespaced_tag_value
229461+
"/dlp:v2/GooglePrivacyDlpV2TagFilters": google_privacy_dlp_v2_tag_filters
229462+
"/dlp:v2/GooglePrivacyDlpV2TagFilters/tagFilters": tag_filters
229463+
"/dlp:v2/GooglePrivacyDlpV2TagFilters/tagFilters/tag_filter": tag_filter
229456229464
"/dlp:v2/GooglePrivacyDlpV2TagResources": google_privacy_dlp_v2_tag_resources
229457229465
"/dlp:v2/GooglePrivacyDlpV2TagResources/lowerDataRiskToLow": lower_data_risk_to_low
229458229466
"/dlp:v2/GooglePrivacyDlpV2TagResources/profileGenerationsToTag": profile_generations_to_tag

generated/google-apis-dlp_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-dlp_v2
22

3+
### v0.98.0 (2025-09-21)
4+
5+
* Regenerated from discovery document revision 20250914
6+
37
### v0.97.0 (2025-08-31)
48

59
* Regenerated from discovery document revision 20250824

generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5033,13 +5033,19 @@ class GooglePrivacyDlpV2FileStoreCollection
50335033
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes]
50345034
attr_accessor :include_regexes
50355035

5036+
# Tags to match against for filtering.
5037+
# Corresponds to the JSON property `includeTags`
5038+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilters]
5039+
attr_accessor :include_tags
5040+
50365041
def initialize(**args)
50375042
update!(**args)
50385043
end
50395044

50405045
# Update properties of this object
50415046
def update!(**args)
50425047
@include_regexes = args[:include_regexes] if args.key?(:include_regexes)
5048+
@include_tags = args[:include_tags] if args.key?(:include_tags)
50435049
end
50445050
end
50455051

@@ -7985,6 +7991,11 @@ class GooglePrivacyDlpV2OutputStorageConfig
79857991
# @return [String]
79867992
attr_accessor :output_schema
79877993

7994+
# Message representing a single file or path in Cloud Storage.
7995+
# Corresponds to the JSON property `storagePath`
7996+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath]
7997+
attr_accessor :storage_path
7998+
79887999
# Message defining the location of a BigQuery table. A table is uniquely
79898000
# identified by its project_id, dataset_id, and table_name. Within a query a
79908001
# table is often referenced with a string in the format of: `:.` or `..`.
@@ -7999,6 +8010,7 @@ def initialize(**args)
79998010
# Update properties of this object
80008011
def update!(**args)
80018012
@output_schema = args[:output_schema] if args.key?(:output_schema)
8013+
@storage_path = args[:storage_path] if args.key?(:storage_path)
80028014
@table = args[:table] if args.key?(:table)
80038015
end
80048016
end
@@ -10342,6 +10354,55 @@ def update!(**args)
1034210354
end
1034310355
end
1034410356

10357+
# A single tag to filter against.
10358+
class GooglePrivacyDlpV2TagFilter
10359+
include Google::Apis::Core::Hashable
10360+
10361+
# The namespaced name for the tag key. Must be in the format ``parent_id`/`
10362+
# tag_key_short_name``, for example, "123456/sensitive" for an organization
10363+
# parent, or "my-project/sensitive" for a project parent.
10364+
# Corresponds to the JSON property `namespacedTagKey`
10365+
# @return [String]
10366+
attr_accessor :namespaced_tag_key
10367+
10368+
# The namespaced name for the tag value. Must be in the format ``parent_id`/`
10369+
# tag_key_short_name`/`short_name``, for example, "123456/environment/prod" for
10370+
# an organization parent, or "my-project/environment/prod" for a project parent.
10371+
# Corresponds to the JSON property `namespacedTagValue`
10372+
# @return [String]
10373+
attr_accessor :namespaced_tag_value
10374+
10375+
def initialize(**args)
10376+
update!(**args)
10377+
end
10378+
10379+
# Update properties of this object
10380+
def update!(**args)
10381+
@namespaced_tag_key = args[:namespaced_tag_key] if args.key?(:namespaced_tag_key)
10382+
@namespaced_tag_value = args[:namespaced_tag_value] if args.key?(:namespaced_tag_value)
10383+
end
10384+
end
10385+
10386+
# Tags to match against for filtering.
10387+
class GooglePrivacyDlpV2TagFilters
10388+
include Google::Apis::Core::Hashable
10389+
10390+
# Required. A resource must match ALL of the specified tag filters to be
10391+
# included in the collection.
10392+
# Corresponds to the JSON property `tagFilters`
10393+
# @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilter>]
10394+
attr_accessor :tag_filters
10395+
10396+
def initialize(**args)
10397+
update!(**args)
10398+
end
10399+
10400+
# Update properties of this object
10401+
def update!(**args)
10402+
@tag_filters = args[:tag_filters] if args.key?(:tag_filters)
10403+
end
10404+
end
10405+
1034510406
# If set, attaches the [tags] (https://cloud.google.com/resource-manager/docs/
1034610407
# tags/tags-overview) provided to profiled resources. Tags support [access
1034710408
# control](https://cloud.google.com/iam/docs/tags-access-control). You can

generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DlpV2
1818
# Version of the google-apis-dlp_v2 gem
19-
GEM_VERSION = "0.97.0"
19+
GEM_VERSION = "0.98.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250824"
25+
REVISION = "20250914"
2626
end
2727
end
2828
end

generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,6 +1822,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
18221822
include Google::Apis::Core::JsonObjectSupport
18231823
end
18241824

1825+
class GooglePrivacyDlpV2TagFilter
1826+
class Representation < Google::Apis::Core::JsonRepresentation; end
1827+
1828+
include Google::Apis::Core::JsonObjectSupport
1829+
end
1830+
1831+
class GooglePrivacyDlpV2TagFilters
1832+
class Representation < Google::Apis::Core::JsonRepresentation; end
1833+
1834+
include Google::Apis::Core::JsonObjectSupport
1835+
end
1836+
18251837
class GooglePrivacyDlpV2TagResources
18261838
class Representation < Google::Apis::Core::JsonRepresentation; end
18271839

@@ -3530,6 +3542,8 @@ class GooglePrivacyDlpV2FileStoreCollection
35303542
class Representation < Google::Apis::Core::JsonRepresentation
35313543
property :include_regexes, as: 'includeRegexes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreRegexes::Representation
35323544

3545+
property :include_tags, as: 'includeTags', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilters, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilters::Representation
3546+
35333547
end
35343548
end
35353549

@@ -4444,6 +4458,8 @@ class GooglePrivacyDlpV2OutputStorageConfig
44444458
# @private
44454459
class Representation < Google::Apis::Core::JsonRepresentation
44464460
property :output_schema, as: 'outputSchema'
4461+
property :storage_path, as: 'storagePath', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath::Representation
4462+
44474463
property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
44484464

44494465
end
@@ -5165,6 +5181,22 @@ class Representation < Google::Apis::Core::JsonRepresentation
51655181
end
51665182
end
51675183

5184+
class GooglePrivacyDlpV2TagFilter
5185+
# @private
5186+
class Representation < Google::Apis::Core::JsonRepresentation
5187+
property :namespaced_tag_key, as: 'namespacedTagKey'
5188+
property :namespaced_tag_value, as: 'namespacedTagValue'
5189+
end
5190+
end
5191+
5192+
class GooglePrivacyDlpV2TagFilters
5193+
# @private
5194+
class Representation < Google::Apis::Core::JsonRepresentation
5195+
collection :tag_filters, as: 'tagFilters', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilter, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TagFilter::Representation
5196+
5197+
end
5198+
end
5199+
51685200
class GooglePrivacyDlpV2TagResources
51695201
# @private
51705202
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)