google-cloud-dlp-v2 0.7.1 → 0.8.0

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: a9a93fc9551d503fbe23b792f90def774d1a843d70baace92b79dea0ae8e9d9c
4
- data.tar.gz: ce3aa0503e675f8db70c703d89a6d77c7a3d86f8d9f9ba9366d5e9f9cc24e66f
3
+ metadata.gz: d1001ba85c933730e5caad675f6d368f2c473970d29fc13e1f5c7530fd6d8184
4
+ data.tar.gz: e09627fd688a5f42fd79ed0b6455aa48ca335c5fb2e6916697230421d5a84b66
5
5
  SHA512:
6
- metadata.gz: 2f2065905d0d97a87764f27b84025e52ed73e585943290971422acbf421d9f378415a8f2e60b821bf572cf30c27aa24fa72ca024c83702657e12c7b0e08b8818
7
- data.tar.gz: b86bc9d5c4f36be45fe466eeb51aa27534c9fddc76d7681bd79be54175f652d305c1ad5f454426aa56977093068c59cd03b63f6e20044bf81302949590224702
6
+ metadata.gz: b6441e1df665f491651e6b63e156bef3b54745e5206f2e39cfd5cee14340fa39546cbe7f8ca6b32510796ac17f8a420a58989b04add47289209980c9e8927018
7
+ data.tar.gz: 25e84ffb76a227844843f04b5f7513236b7bb719aaa2f6ff5637d118d2d0b87e962488c531f4e8e14cd77c37ca1a249ddac3873bde8070a86e23841ec6f1a338
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