google-cloud-security_center 0.8.0 → 0.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed0e40fee5f492ba9d132c9ff6553d5ef0afeb28a98bd36392c244b100627c1c
|
|
4
|
+
data.tar.gz: ce2bb3ae51a950756200d0b313169f0e3ac29eff6f241f7bdd43a99035ed01f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01c9cbffca8708b309c97c3b8bddb7b9c0230f6e6be92b7273b6a262db28d7fe1187762f5f80c77b05e612a6029ead9778c1a89149543f2a1d655c064bd3b0f8
|
|
7
|
+
data.tar.gz: bb1fcd8fe3bdf92760ae90226b103f536bdb339e4e58f7c7b28061ed178e347ef520c679c672b318b0c38742624c9b48eb63af3177aba15fb8dd5405cacc9365
|
|
@@ -324,6 +324,9 @@ module Google
|
|
|
324
324
|
google_api_client.freeze
|
|
325
325
|
|
|
326
326
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
327
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
328
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
329
|
+
end
|
|
327
330
|
headers.merge!(metadata) unless metadata.nil?
|
|
328
331
|
client_config_file = Pathname.new(__dir__).join(
|
|
329
332
|
"security_center_client_config.json"
|
|
@@ -284,6 +284,9 @@ module Google
|
|
|
284
284
|
google_api_client.freeze
|
|
285
285
|
|
|
286
286
|
headers = { :"x-goog-api-client" => google_api_client }
|
|
287
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
|
288
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
|
289
|
+
end
|
|
287
290
|
headers.merge!(metadata) unless metadata.nil?
|
|
288
291
|
client_config_file = Pathname.new(__dir__).join(
|
|
289
292
|
"security_center_client_config.json"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-security_center
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-03-
|
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-gax
|