google-cloud-resource_manager 0.22.0 → 0.23.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
  SHA1:
3
- metadata.gz: 6aa157b8f49f6dbeade8125aa0a680d95b79d8a3
4
- data.tar.gz: 2e90628f9cc9a7ebe80d402a3124129fb159c64f
3
+ metadata.gz: d0bc626e7bc00bfdadf71239ee4a23e94865f5eb
4
+ data.tar.gz: e1b09623c4190932fba95a92d366ae7c6c0af2ae
5
5
  SHA512:
6
- metadata.gz: f9944944b4c48f5918ba1b0c1f1ef6914830072eab0894a03d860adcdffef03dde0e4cac52ebd84f0bd09d52223c061679508136c167e5f8e8a1032d19fb4e71
7
- data.tar.gz: 16ae5afb7ca52a3b54315cef0425a8c0f5b18c82208c72651787b3d7029eb8645f6ad0aa4bb2d28421e9e344c26fa2398bc780369ea13025b8537f31bfa942b4
6
+ metadata.gz: 112fa52cde2dc1b20fbef525a63b219a47fec8dc80c1f18f8bbb2e82522c83a3dc774248c1d2d8c5d4176133bf5f7e4e6a96d5ab09c464e0a9d2369d1bacd1d4
7
+ data.tar.gz: b1825ecd455c30a242fb979b111e953abba4022b63574908790473d757c0a0054abaf71801cc7275feb8a81f67b5ccb5cbd12f1e415bafb836b09740d8f7ac02
data/README.md CHANGED
@@ -9,7 +9,7 @@ programmatically manage container resources such as Organizations and Projects,
9
9
  * Delete projects
10
10
  * Undelete, or recover, projects that you don't want to delete
11
11
 
12
- - [google-cloud-resource_manager API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-resource_manager/master/google/cloud/resourcemanager)
12
+ - [google-cloud-resource_manager API documentation](http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-resource_manager/latest)
13
13
  - [google-cloud-resource_manager on RubyGems](https://rubygems.org/gems/google-cloud-resource_manager)
14
14
  - [Google Cloud Resource Manager documentation](https://cloud.google.com/resource-manager/)
15
15
 
@@ -73,15 +73,15 @@ module Google
73
73
  end
74
74
 
75
75
  ##
76
- # Retrieves all projects by repeatedly loading {#next} until {#next?}
77
- # returns `false`. Calls the given block once for each project, which
78
- # is passed as the parameter.
76
+ # Retrieves remaining results by repeatedly invoking {#next} until
77
+ # {#next?} returns `false`. Calls the given block once for each
78
+ # result, which is passed as the argument to the block.
79
79
  #
80
80
  # An Enumerator is returned if no block is given.
81
81
  #
82
- # This method may make several API calls until all projects are
83
- # retrieved. Be sure to use as narrow a search criteria as possible.
84
- # Please use with caution.
82
+ # This method will make repeated API calls until all remaining results
83
+ # are retrieved. (Unlike `#each`, for example, which merely iterates
84
+ # over the results returned by a single API call.) Use with caution.
85
85
  #
86
86
  # @param [Integer] request_limit The upper limit of API requests to
87
87
  # make to load all projects. Default is no limit.
@@ -43,6 +43,10 @@ module Google
43
43
  @service.request_options.retries = retries || 3
44
44
  @service.request_options.timeout_sec = timeout
45
45
  @service.request_options.open_timeout_sec = timeout
46
+ @service.request_options.header ||= {}
47
+ @service.request_options.header["x-goog-api-client"] = \
48
+ "gl-ruby/#{RUBY_VERSION} " \
49
+ "gccl/#{Google::Cloud::ResourceManager::VERSION}"
46
50
  @service.authorization = @credentials.client
47
51
  end
48
52
 
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module ResourceManager
19
- VERSION = "0.22.0"
19
+ VERSION = "0.23.0"
20
20
  end
21
21
  end
22
22
  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.22.0
4
+ version: 0.23.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: 2017-03-04 00:00:00.000000000 Z
12
+ date: 2017-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 0.21.0
20
+ version: '1.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 0.21.0
27
+ version: '1.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: google-api-client
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -207,7 +207,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  requirements: []
209
209
  rubyforge_project:
210
- rubygems_version: 2.6.10
210
+ rubygems_version: 2.6.11
211
211
  signing_key:
212
212
  specification_version: 4
213
213
  summary: API Client library for Google Cloud Resource Manager