google-cloud-dlp 1.8.2 → 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: ae68659cd04e562d42a9b22669cbd120f707479515fbd3c0abaaa84eeef4fa9e
4
- data.tar.gz: 4237c1912521327442e7481bdfd1d5c6b11de286f66d41a41a002ec28643a0e1
3
+ metadata.gz: a9cf12f53fcd5ba4af63bd8713d919e6d9b311c07d1356d521ce6ce23c42974a
4
+ data.tar.gz: af6a3b6bf41c082922b55e4b5e22f9e48d4ab4bba55a0f8ab23acdef17e62200
5
5
  SHA512:
6
- metadata.gz: 32203fb17010e1375a2b9d3ba91d430610b2cce2579dc1b944c261b1ff3b09a156b59e47e58797f6f66e0e554694c3156c84ccd3720b9990901ae9f476aa77ad
7
- data.tar.gz: fd0e4433a04f35d57e82cd22c9db4bfd678f223a8b85d5d6ecd133807ea990c025eef6d953c9e2e8ddee30ac3a9c4b6d9a3760fffe62818686eb0457797e567d
6
+ metadata.gz: 5207157d29c54388a93a03fe9d7c1e8fc32220660d6f490af523155b8ca16ce88024d46aeadb2720b8ac74654d7eb40566318d8b987d4997425071254f1a8f5b
7
+ data.tar.gz: f300a1eb3c305265e94e81a65323594aec136e075bedd64db6b320bd986a4ce5a65f472381556c58356e62cd2ad47ab65fac7a8f519eee45372bb7f4668092ef
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/dlp.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/dlp"
39
+
40
+ client = Google::Cloud::Dlp.dlp_service
41
+ request = ::Google::Cloud::Dlp::V2::InspectContentRequest.new # (request fields as keyword arguments...)
42
+ response = client.inspect_content request
43
+ ```
44
+
37
45
  ## Migrating from 0.x versions
38
46
 
39
47
  The 1.0 release of the google-cloud-dlp client is a significant upgrade
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module Dlp
23
- VERSION = "1.8.2"
23
+ VERSION = "1.9.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -69,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: '3.0'
72
+ version: '3.2'
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="