google-cloud-resource_manager 0.33.3 → 0.34.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4b9c3bb322fdb1c921545da8c4954e590c0173bec1b540602b10113c47e2971
|
4
|
+
data.tar.gz: a26d185bf6f7d1960826c4fedfdac8aea0996c66e794a2d8dc7f22d48e32f93c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6cdae2bbb42fe40ebe2655a735ffebc0d9ab4197f622c7e82de947145606159f5641dccdd1c33478fe55c8fb1edbb088f3ae6bd13a264cfa1c8b7759f74dd23
|
7
|
+
data.tar.gz: 10f072fb29ac026d4e144130bdeb2d30dadf833af91895faf55847d3151f1e8d1583474da0617c8439d83aa1d0756ea1fba547e48d425422b6214067ebf75581
|
data/CHANGELOG.md
CHANGED
@@ -125,6 +125,7 @@ Google::Cloud.configure.add_config! :resource_manager do |config|
|
|
125
125
|
allow_nil: true
|
126
126
|
config.add_alias! :keyfile, :credentials
|
127
127
|
config.add_field! :scope, nil, match: [String, Array]
|
128
|
+
config.add_field! :quota_project, nil, match: String
|
128
129
|
config.add_field! :retries, nil, match: Integer
|
129
130
|
config.add_field! :timeout, nil, match: Integer
|
130
131
|
config.add_field! :endpoint, nil, match: String
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
|
81
81
|
ResourceManager::Manager.new(
|
82
82
|
ResourceManager::Service.new(
|
83
|
-
credentials, retries: retries, timeout: timeout, host: endpoint
|
83
|
+
credentials, retries: retries, timeout: timeout, host: endpoint, quota_project: configure.quota_project
|
84
84
|
)
|
85
85
|
)
|
86
86
|
end
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
|
34
34
|
##
|
35
35
|
# Creates a new Service instance.
|
36
|
-
def initialize credentials, retries: nil, timeout: nil, host: nil
|
36
|
+
def initialize credentials, retries: nil, timeout: nil, host: nil, quota_project: nil
|
37
37
|
@credentials = credentials
|
38
38
|
@service = API::CloudResourceManagerService.new
|
39
39
|
@service.client_options.application_name = \
|
@@ -48,6 +48,7 @@ module Google
|
|
48
48
|
@service.request_options.header["x-goog-api-client"] = \
|
49
49
|
"gl-ruby/#{RUBY_VERSION} " \
|
50
50
|
"gccl/#{Google::Cloud::ResourceManager::VERSION}"
|
51
|
+
@service.request_options.quota_project = quota_project if quota_project
|
51
52
|
@service.authorization = @credentials.client
|
52
53
|
@service.root_url = host if host
|
53
54
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-resource_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-09-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
241
241
|
- !ruby/object:Gem::Version
|
242
242
|
version: '0'
|
243
243
|
requirements: []
|
244
|
-
rubygems_version: 3.
|
244
|
+
rubygems_version: 3.1.4
|
245
245
|
signing_key:
|
246
246
|
specification_version: 4
|
247
247
|
summary: API Client library for Google Cloud Resource Manager
|