Skip to content

Commit 7158c67

Browse files
feat: Automated regeneration of dlp v2 client (googleapis#23796)
Auto-created at 2025-07-27 10:24:33 +0000 using the toys pull request generator.
1 parent 84019c1 commit 7158c67

File tree

5 files changed

+75
-15
lines changed

5 files changed

+75
-15
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221735,6 +221735,9 @@
221735221735
"/dlp:v2/GooglePrivacyDlpV2DlpJob/startTime": start_time
221736221736
"/dlp:v2/GooglePrivacyDlpV2DlpJob/state": state
221737221737
"/dlp:v2/GooglePrivacyDlpV2DlpJob/type": type
221738+
"/dlp:v2/GooglePrivacyDlpV2DocumentFallbackLocation": google_privacy_dlp_v2_document_fallback_location
221739+
"/dlp:v2/GooglePrivacyDlpV2DocumentFallbackLocation/globalProcessing": global_processing
221740+
"/dlp:v2/GooglePrivacyDlpV2DocumentFallbackLocation/multiRegionProcessing": multi_region_processing
221738221741
"/dlp:v2/GooglePrivacyDlpV2DocumentLocation": google_privacy_dlp_v2_document_location
221739221742
"/dlp:v2/GooglePrivacyDlpV2DocumentLocation/fileOffset": file_offset
221740221743
"/dlp:v2/GooglePrivacyDlpV2Domain": google_privacy_dlp_v2_domain
@@ -222219,6 +222222,7 @@
222219222222
"/dlp:v2/GooglePrivacyDlpV2PrivacyMetric/lDiversityConfig": l_diversity_config
222220222223
"/dlp:v2/GooglePrivacyDlpV2PrivacyMetric/numericalStatsConfig": numerical_stats_config
222221222224
"/dlp:v2/GooglePrivacyDlpV2ProcessingLocation": google_privacy_dlp_v2_processing_location
222225+
"/dlp:v2/GooglePrivacyDlpV2ProcessingLocation/documentFallbackLocation": document_fallback_location
222222222226
"/dlp:v2/GooglePrivacyDlpV2ProcessingLocation/imageFallbackLocation": image_fallback_location
222223222227
"/dlp:v2/GooglePrivacyDlpV2ProfileStatus": google_privacy_dlp_v2_profile_status
222224222228
"/dlp:v2/GooglePrivacyDlpV2ProfileStatus/status": status

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.93.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250720
6+
37
### v0.92.0 (2025-07-06)
48

59
* Regenerated from discovery document revision 20250629

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

Lines changed: 47 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4500,6 +4500,33 @@ def update!(**args)
45004500
end
45014501
end
45024502

4503+
# Configure document processing to fall back to any of the following processing
4504+
# options if document processing is unavailable in the original request location.
4505+
class GooglePrivacyDlpV2DocumentFallbackLocation
4506+
include Google::Apis::Core::Hashable
4507+
4508+
# Processing occurs in the global region.
4509+
# Corresponds to the JSON property `globalProcessing`
4510+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing]
4511+
attr_accessor :global_processing
4512+
4513+
# Processing occurs in a multi-region that contains the current region if
4514+
# available.
4515+
# Corresponds to the JSON property `multiRegionProcessing`
4516+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing]
4517+
attr_accessor :multi_region_processing
4518+
4519+
def initialize(**args)
4520+
update!(**args)
4521+
end
4522+
4523+
# Update properties of this object
4524+
def update!(**args)
4525+
@global_processing = args[:global_processing] if args.key?(:global_processing)
4526+
@multi_region_processing = args[:multi_region_processing] if args.key?(:multi_region_processing)
4527+
end
4528+
end
4529+
45034530
# Location of a finding within a document.
45044531
class GooglePrivacyDlpV2DocumentLocation
45054532
include Google::Apis::Core::Hashable
@@ -5487,7 +5514,7 @@ def update!(**args)
54875514
end
54885515
end
54895516

5490-
# Processing will happen in the global region.
5517+
# Processing occurs in the global region.
54915518
class GooglePrivacyDlpV2GlobalProcessing
54925519
include Google::Apis::Core::Hashable
54935520

@@ -5750,17 +5777,17 @@ def update!(**args)
57505777
end
57515778
end
57525779

5753-
# Configure image processing to fall back to the configured processing option
5754-
# below if unavailable in the request location.
5780+
# Configure image processing to fall back to any of the following processing
5781+
# options if image processing is unavailable in the original request location.
57555782
class GooglePrivacyDlpV2ImageFallbackLocation
57565783
include Google::Apis::Core::Hashable
57575784

5758-
# Processing will happen in the global region.
5785+
# Processing occurs in the global region.
57595786
# Corresponds to the JSON property `globalProcessing`
57605787
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing]
57615788
attr_accessor :global_processing
57625789

5763-
# Processing will happen in a multi-region that contains the current region if
5790+
# Processing occurs in a multi-region that contains the current region if
57645791
# available.
57655792
# Corresponds to the JSON property `multiRegionProcessing`
57665793
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing]
@@ -6344,7 +6371,7 @@ class GooglePrivacyDlpV2InspectDataSourceDetails
63446371
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedOptions]
63456372
attr_accessor :requested_options
63466373

6347-
# All result fields mentioned below are updated while the job is processing.
6374+
# All Result fields are updated while the job is processing.
63486375
# Corresponds to the JSON property `result`
63496376
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Result]
63506377
attr_accessor :result
@@ -7595,7 +7622,7 @@ def update!(**args)
75957622
end
75967623
end
75977624

7598-
# Processing will happen in a multi-region that contains the current region if
7625+
# Processing occurs in a multi-region that contains the current region if
75997626
# available.
76007627
class GooglePrivacyDlpV2MultiRegionProcessing
76017628
include Google::Apis::Core::Hashable
@@ -8200,8 +8227,14 @@ def update!(**args)
82008227
class GooglePrivacyDlpV2ProcessingLocation
82018228
include Google::Apis::Core::Hashable
82028229

8203-
# Configure image processing to fall back to the configured processing option
8204-
# below if unavailable in the request location.
8230+
# Configure document processing to fall back to any of the following processing
8231+
# options if document processing is unavailable in the original request location.
8232+
# Corresponds to the JSON property `documentFallbackLocation`
8233+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentFallbackLocation]
8234+
attr_accessor :document_fallback_location
8235+
8236+
# Configure image processing to fall back to any of the following processing
8237+
# options if image processing is unavailable in the original request location.
82058238
# Corresponds to the JSON property `imageFallbackLocation`
82068239
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation]
82078240
attr_accessor :image_fallback_location
@@ -8212,6 +8245,7 @@ def initialize(**args)
82128245

82138246
# Update properties of this object
82148247
def update!(**args)
8248+
@document_fallback_location = args[:document_fallback_location] if args.key?(:document_fallback_location)
82158249
@image_fallback_location = args[:image_fallback_location] if args.key?(:image_fallback_location)
82168250
end
82178251
end
@@ -8576,7 +8610,7 @@ class GooglePrivacyDlpV2QuasiId
85768610

85778611
# A column can be tagged with a custom tag. In this case, the user must indicate
85788612
# an auxiliary table that contains statistical information on the possible
8579-
# values of this column (below).
8613+
# values of this column.
85808614
# Corresponds to the JSON property `customTag`
85818615
# @return [String]
85828616
attr_accessor :custom_tag
@@ -8645,7 +8679,7 @@ class GooglePrivacyDlpV2QuasiIdentifierField
86458679

86468680
# A column can be tagged with a custom tag. In this case, the user must indicate
86478681
# an auxiliary table that contains statistical information on the possible
8648-
# values of this column (below).
8682+
# values of this column.
86498683
# Corresponds to the JSON property `customTag`
86508684
# @return [String]
86518685
attr_accessor :custom_tag
@@ -9236,7 +9270,7 @@ def update!(**args)
92369270
end
92379271
end
92389272

9239-
# All result fields mentioned below are updated while the job is processing.
9273+
# All Result fields are updated while the job is processing.
92409274
class GooglePrivacyDlpV2Result
92419275
include Google::Apis::Core::Hashable
92429276

@@ -10348,7 +10382,7 @@ class GooglePrivacyDlpV2TaggedField
1034810382

1034910383
# A column can be tagged with a custom tag. In this case, the user must indicate
1035010384
# an auxiliary table that contains statistical information on the possible
10351-
# values of this column (below).
10385+
# values of this column.
1035210386
# Corresponds to the JSON property `customTag`
1035310387
# @return [String]
1035410388
attr_accessor :custom_tag

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.92.0"
19+
GEM_VERSION = "0.93.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 = "20250629"
25+
REVISION = "20250720"
2626
end
2727
end
2828
end

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
754754
include Google::Apis::Core::JsonObjectSupport
755755
end
756756

757+
class GooglePrivacyDlpV2DocumentFallbackLocation
758+
class Representation < Google::Apis::Core::JsonRepresentation; end
759+
760+
include Google::Apis::Core::JsonObjectSupport
761+
end
762+
757763
class GooglePrivacyDlpV2DocumentLocation
758764
class Representation < Google::Apis::Core::JsonRepresentation; end
759765

@@ -3341,6 +3347,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
33413347
end
33423348
end
33433349

3350+
class GooglePrivacyDlpV2DocumentFallbackLocation
3351+
# @private
3352+
class Representation < Google::Apis::Core::JsonRepresentation
3353+
property :global_processing, as: 'globalProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2GlobalProcessing::Representation
3354+
3355+
property :multi_region_processing, as: 'multiRegionProcessing', class: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2MultiRegionProcessing::Representation
3356+
3357+
end
3358+
end
3359+
33443360
class GooglePrivacyDlpV2DocumentLocation
33453361
# @private
33463362
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4473,6 +4489,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
44734489
class GooglePrivacyDlpV2ProcessingLocation
44744490
# @private
44754491
class Representation < Google::Apis::Core::JsonRepresentation
4492+
property :document_fallback_location, as: 'documentFallbackLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentFallbackLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2DocumentFallbackLocation::Representation
4493+
44764494
property :image_fallback_location, as: 'imageFallbackLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageFallbackLocation::Representation
44774495

44784496
end

0 commit comments

Comments
 (0)