google-apis-core 0.14.1 → 0.15.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: c3c57ca24b4836ea6e800df3a184b040c9c51c64149d743d4d3335d6ac76094d
4
- data.tar.gz: 42a724598b2ff3656cac8df432bae7428e5a4a53bede1366ee92080d0738d5c7
3
+ metadata.gz: ce67af03cec391ae12f32828eb7c0df504eb7d04e0b92694aac6adf98d4f31d8
4
+ data.tar.gz: fd5227cea10440d966385242ab7330f4e686c4c0bb74f6d98a99e815286b04f4
5
5
  SHA512:
6
- metadata.gz: 28b3c7e49fde2eab1cd10bb5a1e898b5c99f1ee14930b4f8a2b7d66d6ac77731eb6bdfd5e7fa0940f044d58c5ceb8205b460ffc56ea9331f7e166da88504c808
7
- data.tar.gz: 95cedbafcc1a7d1dd7a8dc8ce63090bba5a1c4c96b8cb247ae0c4dc1851e98b78afcd3a162aeca50c94a6a8a37fa0c8cf7afcdb6f838a5f3fc73858898bf82a8
6
+ metadata.gz: 647712dad491d16745a70a63e2dc808c43f98f63853a58ef8d46b7f620f73f0b3116668f43a79b1f4819bab988e83c64e33952b877b396bf8c600fbe88a6983a
7
+ data.tar.gz: 670c0199907867b49f6db7bd8b25a7d6cc2760cab4d57038314adf13e51119513a3968e78394e15ad9f09ed69fbfa3a5fb2633a44f802eac9da4e842f2a37065
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 0.15.0 (2024-05-13)
4
+
5
+ #### Features
6
+
7
+ * Introduce api_version to discovery clients ([#18969](https://github.com/googleapis/google-api-ruby-client/issues/18969))
8
+
3
9
  ### 0.14.1 (2024-03-13)
4
10
 
5
11
  #### Bug Fixes
@@ -348,6 +348,12 @@ module Google
348
348
  [:post, :put].include?(method) && body.nil?
349
349
  end
350
350
 
351
+ # Set the API version header for the service if not empty.
352
+ # @return [void]
353
+ def set_api_version_header api_version
354
+ self.header['X-Goog-Api-Version'] = api_version unless api_version.empty?
355
+ end
356
+
351
357
  private
352
358
 
353
359
  UNSAFE_CLASS_NAMES = [
@@ -16,7 +16,7 @@ module Google
16
16
  module Apis
17
17
  module Core
18
18
  # Core version
19
- VERSION = "0.14.1".freeze
19
+ VERSION = "0.15.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-apis-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.15.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: 2024-03-13 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: representable
@@ -166,7 +166,7 @@ licenses:
166
166
  metadata:
167
167
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
168
168
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core/CHANGELOG.md
169
- documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.14.1
169
+ documentation_uri: https://googleapis.dev/ruby/google-apis-core/v0.15.0
170
170
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/google-apis-core
171
171
  post_install_message:
172
172
  rdoc_options: []