google-cloud-debugger 0.35.2 → 0.36.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: 1d3ec1053f9e75324201bf1d4416c847a9be07d0f8fcffb0d46c3f6e80c4898a
4
- data.tar.gz: cfeae8ae152ed23cad068ea6dc8f7742b65e2d6d4130e669a0dac54dbe227525
3
+ metadata.gz: ad79b448fed48efe52275b51da3a069f7d355acdda6ea3457fa39a920408bb8b
4
+ data.tar.gz: 24238cef31d14f84c4526888e9997b1d0b56b9498c19fcf0a9c9b257ad861bcd
5
5
  SHA512:
6
- metadata.gz: 7789a4d3ba27e63bbd3c49b2f9ffab523d0178ebdbea97d106ecf98808f4f7b37ac2f26cbdcd6530cb755e33a20658177049f2c557940da240cd6422b731d5ac
7
- data.tar.gz: 06307c070f9e122853533e16389c0868276b643ab0886999f1a76eb41d6a68cb1c73feca884e7d55f37cf11d155a33057d344868fb8d205ae6c932f1b65d8169
6
+ metadata.gz: 203a11b38ac61604bb82f9b49eaa7d63144f7de8427da90dd4c79f5f93ab9692b3a99afc3bfe0d640f03071d7aa27d22eb4cfdb392c455d5f1d693d2abd0bc7e
7
+ data.tar.gz: 9d6bd22979ec6706a591c5951f551065249821a3be6a05d13acb637aea4365fe32b918c01824c4e98ae0ca784b8811d6e794f4af8a426dc3588f403f4eb8c1b3
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 0.36.0 / 2020-03-11
4
+
5
+ #### Features
6
+
7
+ * Support separate project setting for quota/billing
8
+
3
9
  ### 0.35.2 / 2020-01-23
4
10
 
5
11
  #### Documentation
@@ -22,7 +22,7 @@ module Google
22
22
  # rubocop:disable LineLength
23
23
 
24
24
  ##
25
- # # Ruby Client for Stackdriver Debugger API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
25
+ # # Ruby Client for Stackdriver Debugger API
26
26
  #
27
27
  # [Stackdriver Debugger API][Product Documentation]:
28
28
  # Examines the call stack and variables of a running application without
@@ -156,6 +156,9 @@ module Google
156
156
  google_api_client.freeze
157
157
 
158
158
  headers = { :"x-goog-api-client" => google_api_client }
159
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
160
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
161
+ end
159
162
  headers.merge!(metadata) unless metadata.nil?
160
163
  client_config_file = Pathname.new(__dir__).join(
161
164
  "controller2_client_config.json"
@@ -148,6 +148,9 @@ module Google
148
148
  google_api_client.freeze
149
149
 
150
150
  headers = { :"x-goog-api-client" => google_api_client }
151
+ if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
152
+ headers[:"x-goog-user-project"] = credentials.quota_project_id
153
+ end
151
154
  headers.merge!(metadata) unless metadata.nil?
152
155
  client_config_file = Pathname.new(__dir__).join(
153
156
  "debugger2_client_config.json"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Debugger
19
- VERSION = "0.35.2".freeze
19
+ VERSION = "0.36.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-debugger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.2
4
+ version: 0.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Heng Xiong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-23 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller