google-cloud-dlp-v2 1.7.0 → 1.9.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 +4 -1
- data/lib/google/cloud/dlp/v2/dlp_service/rest/client.rb +4 -1
- data/lib/google/cloud/dlp/v2/dlp_service/rest/service_stub.rb +14 -0
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +18 -1
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +388 -32
- data/proto_docs/google/privacy/dlp/v2/storage.rb +1 -1
- 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: cf7a8c626aa4521904eeb0db0ea563d5ac61bf8978a67c3f43e3a75240c7e75f
|
4
|
+
data.tar.gz: 13ab38d4f0409613e8dfbba11a73667b9ae0b29d9aff599217aa0769f59634e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 787681cffef8fbbb6dbeda7914ec0f147ded0d7408ae2d6540fe2c93ff20539b456422d0881a22152f6d831ef20f59de1409e51b0fbb3f5787254538b151e134
|
7
|
+
data.tar.gz: 74025713667acc524ae5be87307d878c4a6a97201f2a13a96c375502e67771548cc9b6f0f2aeaae9ad36d0ce66eedc56b6ed48d1e584efd7de4caf80b839120b
|
@@ -529,6 +529,9 @@ module Google
|
|
529
529
|
# system will automatically choose what detectors to run. By default this may
|
530
530
|
# be all types, but may change over time as detectors are updated.
|
531
531
|
#
|
532
|
+
# Only the first frame of each multiframe image is redacted. Metadata and
|
533
|
+
# other frames are omitted in the response.
|
534
|
+
#
|
532
535
|
# @overload redact_image(request, options = nil)
|
533
536
|
# Pass arguments to `redact_image` via a request object, either of type
|
534
537
|
# {::Google::Cloud::Dlp::V2::RedactImageRequest} or an equivalent Hash.
|
@@ -911,7 +914,7 @@ module Google
|
|
911
914
|
end
|
912
915
|
|
913
916
|
##
|
914
|
-
# Returns a list of the sensitive information types that DLP API
|
917
|
+
# Returns a list of the sensitive information types that the DLP API
|
915
918
|
# supports. See
|
916
919
|
# https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
|
917
920
|
# to learn more.
|
@@ -515,6 +515,9 @@ module Google
|
|
515
515
|
# system will automatically choose what detectors to run. By default this may
|
516
516
|
# be all types, but may change over time as detectors are updated.
|
517
517
|
#
|
518
|
+
# Only the first frame of each multiframe image is redacted. Metadata and
|
519
|
+
# other frames are omitted in the response.
|
520
|
+
#
|
518
521
|
# @overload redact_image(request, options = nil)
|
519
522
|
# Pass arguments to `redact_image` via a request object, either of type
|
520
523
|
# {::Google::Cloud::Dlp::V2::RedactImageRequest} or an equivalent Hash.
|
@@ -876,7 +879,7 @@ module Google
|
|
876
879
|
end
|
877
880
|
|
878
881
|
##
|
879
|
-
# Returns a list of the sensitive information types that DLP API
|
882
|
+
# Returns a list of the sensitive information types that the DLP API
|
880
883
|
# supports. See
|
881
884
|
# https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
|
882
885
|
# to learn more.
|
@@ -2416,6 +2416,20 @@ module Google
|
|
2416
2416
|
["parent", %r{^locations/[^/]+/?$}, false]
|
2417
2417
|
]
|
2418
2418
|
)
|
2419
|
+
.with_bindings(
|
2420
|
+
uri_method: :get,
|
2421
|
+
uri_template: "/v2/{parent}/infoTypes",
|
2422
|
+
matches: [
|
2423
|
+
["parent", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
2424
|
+
]
|
2425
|
+
)
|
2426
|
+
.with_bindings(
|
2427
|
+
uri_method: :get,
|
2428
|
+
uri_template: "/v2/{parent}/infoTypes",
|
2429
|
+
matches: [
|
2430
|
+
["parent", %r{^organizations/[^/]+/locations/[^/]+/?$}, false]
|
2431
|
+
]
|
2432
|
+
)
|
2419
2433
|
transcoder.transcode request_pb
|
2420
2434
|
end
|
2421
2435
|
|