google-apis-books_v1 0.14.0 → 0.16.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: a99378cdda350b5be7a3584c0d931daed30ca0d871fcf4b952dbccc4be342645
4
- data.tar.gz: 2f3cb4d6fa61167669eaae26be0f8fa724a5f26f011232bbe9fabd982de62059
3
+ metadata.gz: bc27e9ddc8257b8435cd52dbffdb8e2721a3f5b278fb9247e42cdd6be6d80e5f
4
+ data.tar.gz: 6a39707d28a8b67c26cf6066a7a9a9ee01f0dc71220fdc541f625b94c35f6963
5
5
  SHA512:
6
- metadata.gz: cb471c1754159a2670860193db845027e0afd56179b91c891eb67abe09e0c332f8fda6c485b496b676aac25cf8e2c2035a01c3268df4ff52f983482636f14200
7
- data.tar.gz: f68d39ce1e9933e3e09ea9c5dcf41e53ac452d4c7372e509c6b36ce2c1d14fce53a3b9d463093c61a4dcb7932409368d1f1ffd0e19fa000e493c8edb9e9ff438
6
+ metadata.gz: 8a146156c2815a735598bedd8221530e3511044b1d31d6b006292574d46e08c270620bfbf3684931bd96be3400705a2cf95d65831b05fa5e95cb251f89ce0956
7
+ data.tar.gz: 35970d9e61da065c55e4922a8f6ff7b28fd4077cc12c2b5284017c0aaa18447a7a026cff212c1092cc395ca9b5ea42ab402b10f0565e74962af20897442afe67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-books_v1
2
2
 
3
+ ### v0.16.0 (2024-02-18)
4
+
5
+ * Regenerated from discovery document revision 20240214
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.15.0 (2024-01-23)
9
+
10
+ * Regenerated using generator version 0.13.0
11
+
3
12
  ### v0.14.0 (2023-02-26)
4
13
 
5
14
  * Regenerated from discovery document revision 20230203
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BooksV1
18
18
  # Version of the google-apis-books_v1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230203"
25
+ REVISION = "20240214"
26
26
  end
27
27
  end
28
28
  end
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://code.google.com/apis/books/docs/v1/getting_started.html
34
34
  class BooksService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://books.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://books.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-books_v1',
48
50
  client_version: Google::Apis::BooksV1::GEM_VERSION)
49
51
  @batch_path = 'batch'
@@ -1066,6 +1068,8 @@ module Google
1066
1068
  # Array of layer IDs to get the summary for.
1067
1069
  # @param [String] volume_id
1068
1070
  # Volume id to get the summary for.
1071
+ # @param [String] source
1072
+ # Optional. String to identify the originator of this request.
1069
1073
  # @param [String] fields
1070
1074
  # Selector specifying which fields to include in a partial response.
1071
1075
  # @param [String] quota_user
@@ -1083,11 +1087,12 @@ module Google
1083
1087
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1084
1088
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1085
1089
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1086
- def summarize_my_library_annotation(layer_ids, volume_id, fields: nil, quota_user: nil, options: nil, &block)
1090
+ def summarize_my_library_annotation(layer_ids, volume_id, source: nil, fields: nil, quota_user: nil, options: nil, &block)
1087
1091
  command = make_simple_command(:post, 'books/v1/mylibrary/annotations/summary', options)
1088
1092
  command.response_representation = Google::Apis::BooksV1::AnnotationsSummary::Representation
1089
1093
  command.response_class = Google::Apis::BooksV1::AnnotationsSummary
1090
1094
  command.query['layerIds'] = layer_ids unless layer_ids.nil?
1095
+ command.query['source'] = source unless source.nil?
1091
1096
  command.query['volumeId'] = volume_id unless volume_id.nil?
1092
1097
  command.query['fields'] = fields unless fields.nil?
1093
1098
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-books_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.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: 2023-02-26 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-books_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-books_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-books_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-books_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Books API V1