google-cloud-dlp-v2 0.7.0 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6f389444e196b5505473cdf19568ff503021eb4ca90d7ccf57cbb9ac35ea51d9
4
- data.tar.gz: d2d7a6c97169bef2bbdae00d010bbfa1256a521125e7b6fb1553451935851d4e
3
+ metadata.gz: 6510ec23fca41980b6dc811b377e3df7dcf55cf8eaf72f2ccc1c6f1fb1b2bbbf
4
+ data.tar.gz: 8d088ae6958de87947996999f8d2b999f9f2c7c516b87b879fcfb66dafd416c5
5
5
  SHA512:
6
- metadata.gz: f6e0845e1cef5f2a4663ff8b429927bb9074a2d179d11007cc24a7ebfe0a60bd175be0c3ba6a1c4317511626d6115cb783af4f99d53a859dd4dcd95e158079d7
7
- data.tar.gz: a0d2f917e6f697dfe0dca210ccf501c1549d3f16b011e4928e6a32de6630673b283d91814bd61d12c6a6fc2c21f16517f6f6db03cfb3efdc4c7aca8cd021e89c
6
+ metadata.gz: b39a024246c7cec2aaac822efd5eb5d90dfdb585d54ffaaf2aab8fb92c2425985d68cc0343e27133770580edf272ad36e30ea0710a1d74ff198e55b2c54c5854
7
+ data.tar.gz: 5c13a401e90af32a24df54290703b8f0625224fb78a359b47403d2bdf12e3caadcc17f2f1e5acba3d9ab3a656823fd9d651a4a9fa0070a5005f99518e78b1afa
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-dlp-v2
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Dlp::V2::DlpService::Credentials}):
68
68
 
69
- 1. `DLP_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `DLP_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `DLP_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `DLP_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/dlp/v2"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/dlp/v2"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Dlp::V2::DlpService::Client.new do |config|
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/dlp/v2"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/dlp/v2"
34
34
 
35
35
  client = ::Google::Cloud::Dlp::V2::DlpService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Dlp::V2::InspectContentRequest.new # (request fields as keyword arguments...)
37
37
  response = client.inspect_content request
38
38
  ```
39
39