google-apis-dlp_v2 0.109.0 → 0.110.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/dlp_v2/classes.rb +70 -1
- data/lib/google/apis/dlp_v2/gem_version.rb +3 -3
- data/lib/google/apis/dlp_v2/representations.rb +44 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d766e261b0d3a0ff13f34d2b2971db1566469b05bc4508a59ac394c12c1af27
|
|
4
|
+
data.tar.gz: ea447e6ae788834f47c26b7075e588e47f58eeb817af3201fa758e43f20527de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6182f5637c7587eb4caecc035c2da818c41c1e878cae0b4fe824db4ac1bd1af81f3162805c89492c5191e7779885f2de165585f0e3e95899256ad4d5e500a6ec
|
|
7
|
+
data.tar.gz: e579305e1e9929228880b4c76e79513816216099b6ff3fa015d2dd781aa05d08c5f4301234a1d06e564e3bf8233a1264bf996efdf20a92f79e08693e15f69491
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-dlp_v2
|
|
2
2
|
|
|
3
|
+
### v0.110.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260530
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
3
8
|
### v0.109.0 (2026-05-24)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20260516
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/sensitive-data-protection/d
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -613,6 +613,44 @@ module Google
|
|
|
613
613
|
end
|
|
614
614
|
end
|
|
615
615
|
|
|
616
|
+
# Represents a batch of content to inspect or redact.
|
|
617
|
+
class GooglePrivacyDlpV2BatchContentItem
|
|
618
|
+
include Google::Apis::Core::Hashable
|
|
619
|
+
|
|
620
|
+
# Represents a batch of string values to inspect or redact.
|
|
621
|
+
# Corresponds to the JSON property `stringValueBatch`
|
|
622
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StringValueBatch]
|
|
623
|
+
attr_accessor :string_value_batch
|
|
624
|
+
|
|
625
|
+
def initialize(**args)
|
|
626
|
+
update!(**args)
|
|
627
|
+
end
|
|
628
|
+
|
|
629
|
+
# Update properties of this object
|
|
630
|
+
def update!(**args)
|
|
631
|
+
@string_value_batch = args[:string_value_batch] if args.key?(:string_value_batch)
|
|
632
|
+
end
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
# Location within a batch of content.
|
|
636
|
+
class GooglePrivacyDlpV2BatchContentLocation
|
|
637
|
+
include Google::Apis::Core::Hashable
|
|
638
|
+
|
|
639
|
+
# Matches an index of a batch item in the batch provided in the request.
|
|
640
|
+
# Corresponds to the JSON property `itemIndex`
|
|
641
|
+
# @return [Fixnum]
|
|
642
|
+
attr_accessor :item_index
|
|
643
|
+
|
|
644
|
+
def initialize(**args)
|
|
645
|
+
update!(**args)
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
# Update properties of this object
|
|
649
|
+
def update!(**args)
|
|
650
|
+
@item_index = args[:item_index] if args.key?(:item_index)
|
|
651
|
+
end
|
|
652
|
+
end
|
|
653
|
+
|
|
616
654
|
# Target used to match against for discovery with BigQuery tables
|
|
617
655
|
class GooglePrivacyDlpV2BigQueryDiscoveryTarget
|
|
618
656
|
include Google::Apis::Core::Hashable
|
|
@@ -1953,6 +1991,11 @@ module Google
|
|
|
1953
1991
|
class GooglePrivacyDlpV2ContentItem
|
|
1954
1992
|
include Google::Apis::Core::Hashable
|
|
1955
1993
|
|
|
1994
|
+
# Represents a batch of content to inspect or redact.
|
|
1995
|
+
# Corresponds to the JSON property `batchContentItem`
|
|
1996
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BatchContentItem]
|
|
1997
|
+
attr_accessor :batch_content_item
|
|
1998
|
+
|
|
1956
1999
|
# Container for bytes to inspect or redact.
|
|
1957
2000
|
# Corresponds to the JSON property `byteItem`
|
|
1958
2001
|
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem]
|
|
@@ -1987,6 +2030,7 @@ module Google
|
|
|
1987
2030
|
|
|
1988
2031
|
# Update properties of this object
|
|
1989
2032
|
def update!(**args)
|
|
2033
|
+
@batch_content_item = args[:batch_content_item] if args.key?(:batch_content_item)
|
|
1990
2034
|
@byte_item = args[:byte_item] if args.key?(:byte_item)
|
|
1991
2035
|
@content_metadata = args[:content_metadata] if args.key?(:content_metadata)
|
|
1992
2036
|
@conversation = args[:conversation] if args.key?(:conversation)
|
|
@@ -2000,6 +2044,11 @@ module Google
|
|
|
2000
2044
|
class GooglePrivacyDlpV2ContentLocation
|
|
2001
2045
|
include Google::Apis::Core::Hashable
|
|
2002
2046
|
|
|
2047
|
+
# Location within a batch of content.
|
|
2048
|
+
# Corresponds to the JSON property `batchContentLocation`
|
|
2049
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BatchContentLocation]
|
|
2050
|
+
attr_accessor :batch_content_location
|
|
2051
|
+
|
|
2003
2052
|
# Name of the container where the finding is located. The top level name is the
|
|
2004
2053
|
# source file name or table name. Names of some common storage containers are
|
|
2005
2054
|
# formatted as follows: * BigQuery tables: ``project_id`:`dataset_id`.`table_id``
|
|
@@ -2054,6 +2103,7 @@ module Google
|
|
|
2054
2103
|
|
|
2055
2104
|
# Update properties of this object
|
|
2056
2105
|
def update!(**args)
|
|
2106
|
+
@batch_content_location = args[:batch_content_location] if args.key?(:batch_content_location)
|
|
2057
2107
|
@container_name = args[:container_name] if args.key?(:container_name)
|
|
2058
2108
|
@container_timestamp = args[:container_timestamp] if args.key?(:container_timestamp)
|
|
2059
2109
|
@container_version = args[:container_version] if args.key?(:container_version)
|
|
@@ -2145,7 +2195,7 @@ module Google
|
|
|
2145
2195
|
# @return [String]
|
|
2146
2196
|
attr_accessor :message_type
|
|
2147
2197
|
|
|
2148
|
-
# Optional. The identifier of the participant
|
|
2198
|
+
# Optional. The identifier of the participant, for example 'test-user' or '
|
|
2149
2199
|
# gemini'. The participant ID can contain lowercase letters, numbers, and
|
|
2150
2200
|
# hyphens; that is, it must match the regular expression: `^[a-z]([a-z0-9-]`0,61`
|
|
2151
2201
|
# [a-z0-9])?$`. The maximum length is 63 characters.
|
|
@@ -10464,6 +10514,25 @@ module Google
|
|
|
10464
10514
|
end
|
|
10465
10515
|
end
|
|
10466
10516
|
|
|
10517
|
+
# Represents a batch of string values to inspect or redact.
|
|
10518
|
+
class GooglePrivacyDlpV2StringValueBatch
|
|
10519
|
+
include Google::Apis::Core::Hashable
|
|
10520
|
+
|
|
10521
|
+
# Optional. Represents string data to inspect or redact.
|
|
10522
|
+
# Corresponds to the JSON property `values`
|
|
10523
|
+
# @return [Array<String>]
|
|
10524
|
+
attr_accessor :values
|
|
10525
|
+
|
|
10526
|
+
def initialize(**args)
|
|
10527
|
+
update!(**args)
|
|
10528
|
+
end
|
|
10529
|
+
|
|
10530
|
+
# Update properties of this object
|
|
10531
|
+
def update!(**args)
|
|
10532
|
+
@values = args[:values] if args.key?(:values)
|
|
10533
|
+
end
|
|
10534
|
+
end
|
|
10535
|
+
|
|
10467
10536
|
# A collection that informs the user the number of times a particular `
|
|
10468
10537
|
# TransformationResultCode` and error details occurred.
|
|
10469
10538
|
class GooglePrivacyDlpV2SummaryResult
|
|
@@ -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.110.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260530"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -142,6 +142,18 @@ module Google
|
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
143
|
end
|
|
144
144
|
|
|
145
|
+
class GooglePrivacyDlpV2BatchContentItem
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
class GooglePrivacyDlpV2BatchContentLocation
|
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
+
|
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
+
end
|
|
156
|
+
|
|
145
157
|
class GooglePrivacyDlpV2BigQueryDiscoveryTarget
|
|
146
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
159
|
|
|
@@ -1870,6 +1882,12 @@ module Google
|
|
|
1870
1882
|
include Google::Apis::Core::JsonObjectSupport
|
|
1871
1883
|
end
|
|
1872
1884
|
|
|
1885
|
+
class GooglePrivacyDlpV2StringValueBatch
|
|
1886
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1887
|
+
|
|
1888
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1889
|
+
end
|
|
1890
|
+
|
|
1873
1891
|
class GooglePrivacyDlpV2SummaryResult
|
|
1874
1892
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1875
1893
|
|
|
@@ -2365,6 +2383,21 @@ module Google
|
|
|
2365
2383
|
end
|
|
2366
2384
|
end
|
|
2367
2385
|
|
|
2386
|
+
class GooglePrivacyDlpV2BatchContentItem
|
|
2387
|
+
# @private
|
|
2388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2389
|
+
property :string_value_batch, as: 'stringValueBatch', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StringValueBatch, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StringValueBatch::Representation
|
|
2390
|
+
|
|
2391
|
+
end
|
|
2392
|
+
end
|
|
2393
|
+
|
|
2394
|
+
class GooglePrivacyDlpV2BatchContentLocation
|
|
2395
|
+
# @private
|
|
2396
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2397
|
+
property :item_index, as: 'itemIndex'
|
|
2398
|
+
end
|
|
2399
|
+
end
|
|
2400
|
+
|
|
2368
2401
|
class GooglePrivacyDlpV2BigQueryDiscoveryTarget
|
|
2369
2402
|
# @private
|
|
2370
2403
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2733,6 +2766,8 @@ module Google
|
|
|
2733
2766
|
class GooglePrivacyDlpV2ContentItem
|
|
2734
2767
|
# @private
|
|
2735
2768
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2769
|
+
property :batch_content_item, as: 'batchContentItem', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BatchContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BatchContentItem::Representation
|
|
2770
|
+
|
|
2736
2771
|
property :byte_item, as: 'byteItem', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem::Representation
|
|
2737
2772
|
|
|
2738
2773
|
property :content_metadata, as: 'contentMetadata', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentMetadata, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentMetadata::Representation
|
|
@@ -2748,6 +2783,8 @@ module Google
|
|
|
2748
2783
|
class GooglePrivacyDlpV2ContentLocation
|
|
2749
2784
|
# @private
|
|
2750
2785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2786
|
+
property :batch_content_location, as: 'batchContentLocation', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BatchContentLocation, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BatchContentLocation::Representation
|
|
2787
|
+
|
|
2751
2788
|
property :container_name, as: 'containerName'
|
|
2752
2789
|
property :container_timestamp, as: 'containerTimestamp'
|
|
2753
2790
|
property :container_version, as: 'containerVersion'
|
|
@@ -5330,6 +5367,13 @@ module Google
|
|
|
5330
5367
|
end
|
|
5331
5368
|
end
|
|
5332
5369
|
|
|
5370
|
+
class GooglePrivacyDlpV2StringValueBatch
|
|
5371
|
+
# @private
|
|
5372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5373
|
+
collection :values, as: 'values'
|
|
5374
|
+
end
|
|
5375
|
+
end
|
|
5376
|
+
|
|
5333
5377
|
class GooglePrivacyDlpV2SummaryResult
|
|
5334
5378
|
# @private
|
|
5335
5379
|
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.110.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.110.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:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|