google-cloud-security_center-v1p1beta1 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: cd23c05011239f48ff73594d6212a94e0550eda084a771d0f70a2d7f29fc4499
4
- data.tar.gz: 58d4f2637af89e5270742234a396ea9a2cd93843255e7fdd198ec27390c4124f
3
+ metadata.gz: 5578bc9d410525f6a41973673608d53b92a11276db989f6b7da31e796f55df0f
4
+ data.tar.gz: 9971bbd9fbe1e6c284cfb63c95435c71b78bff41250f6add2c9be296afc0de48
5
5
  SHA512:
6
- metadata.gz: f013e8f67e42714de297c4c0e85b97af4b0e1edc776e41688fb5e88b127a4b1dd98b03dc331f9c488c246d8c61042b91cfe57c10374ac1a61fa220c45b514d19
7
- data.tar.gz: 41b592ab64b3a48556fca8fc053f1f7b74d3d87e6aba73be58b784b4e90c34f0e2aeaf348b1c10c4eb398b05bfe4cbc3259c0c76ef001da62480105a291d7dab
6
+ metadata.gz: f4e61afb0aa0a996f815711c2fc39b9b6bb31d409e1f494e0f7b8d0d949730576a7c3ae0e3aacb6f8589acf16ba55c797030d2bba4cfb1087b387abe36c8e737
7
+ data.tar.gz: 0fce8b67898544d298bf52161ed39a311e485b3d1c6aa5fcde09b6b934ea783332072bb3442878aa6c1ecf6de15833aa0b68e0cac0cbd5437740ce9936111da1
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-security_center-v1p1beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenter::Credentials}):
68
68
 
69
- 1. `SECURITY_CENTER_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `SECURITY_CENTER_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
+ * `SECURITY_CENTER_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `SECURITY_CENTER_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/security_center/v1p1beta1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenter::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/security_center/v1p1beta1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenter::Client.new
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/security_center/v1p1beta1"
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/security_center/v1p1beta1"
34
34
 
35
35
  client = ::Google::Cloud::SecurityCenter::V1p1beta1::SecurityCenter::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::SecurityCenter::V1p1beta1::CreateSourceRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_source request
38
38
  ```
39
39