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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 156f5c64115fac0a5436276d2bfca9ad3cfe7aa31359a7b35782aeeebe6b6359
4
- data.tar.gz: 5549d08e880d5730235385210f69340581fcbd3dc3eea4a5a53843c8e1fe5b41
3
+ metadata.gz: cf7a8c626aa4521904eeb0db0ea563d5ac61bf8978a67c3f43e3a75240c7e75f
4
+ data.tar.gz: 13ab38d4f0409613e8dfbba11a73667b9ae0b29d9aff599217aa0769f59634e5
5
5
  SHA512:
6
- metadata.gz: 052602ba54bc335eed991f7c50b6d134b1d451eaeb561dd0e2f53219b9f50cfb74aef273f857eb4f79888181f973b1db72c5fdf482557aa1e520f4aecd61a6e2
7
- data.tar.gz: e3d2f5518ec787576f3cad9920b99c08ad23e338569acdaa1edb017650bb82322d3d529c744e6fcabd63e3a66dc74ffa0d0d746a7a4e67442f11b4204b4f07f1
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
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "1.7.0"
24
+ VERSION = "1.9.0"
25
25
  end
26
26
  end
27
27
  end