google-apis-games_configuration_v1configuration 0.13.0 → 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: cf786b3bfeb283647ea3bd45776d7f9dc60fbc065f38fc9f64282b20ffd3934b
4
- data.tar.gz: da1339b6ec928486e4bb54829109c71c60892bbd2e13bf56aa43447bc1425caa
3
+ metadata.gz: 48a1fe70a20ab9c8118a1797a481a386f96460f71aefbca3ef04cf5749a45a20
4
+ data.tar.gz: d421df10d6d0075392c11b400838823952397dbf378f6af7efa181218113b82d
5
5
  SHA512:
6
- metadata.gz: 2bfb206b7326d27e32a8479dcfbbeb7e17b1da9f82960d3e7fd5f618b5358ca76ac2c08389f6f4afcedf5ca5808a3bd9c4cc7031b769a4d430f77875108ca521
7
- data.tar.gz: 2ce9cfa491e6b9debdf95f17b02d57e148273df41b4eed69207210fadc12ca063d21176dbf3343a4489bafb78490873a79514593b5464d1e99a64a320ee86245
6
+ metadata.gz: eaab50d633d15461bbbba74c0342698558efcce1c14c3c424ce4bf66cec92bdee947745a829eff1c889f15c8f36c0b026775ba9700bb7056e6976663834e3217
7
+ data.tar.gz: 844e48f7b877147f31d2e6709e79d2fca25bc4177969b57f212594e4bb53fdbd6181763f01df11927a415ef360b2369a69ba1ff383185ff2fcd795587f4ce8a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-games_configuration_v1configuration
2
2
 
3
+ ### v0.15.0 (2023-02-26)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.14.0 (2022-12-03)
8
+
9
+ * Regenerated from discovery document revision 20221124
10
+
3
11
  ### v0.13.0 (2022-11-04)
4
12
 
5
13
  * Regenerated using generator version 0.11.0
@@ -252,44 +252,6 @@ module Google
252
252
  end
253
253
  end
254
254
 
255
- # An image configuration resource.
256
- class ImageConfiguration
257
- include Google::Apis::Core::Hashable
258
-
259
- # The image type for the image.
260
- # Corresponds to the JSON property `imageType`
261
- # @return [String]
262
- attr_accessor :image_type
263
-
264
- # Uniquely identifies the type of this resource. Value is always the fixed
265
- # string `gamesConfiguration#imageConfiguration`.
266
- # Corresponds to the JSON property `kind`
267
- # @return [String]
268
- attr_accessor :kind
269
-
270
- # The resource ID of resource which the image belongs to.
271
- # Corresponds to the JSON property `resourceId`
272
- # @return [String]
273
- attr_accessor :resource_id
274
-
275
- # The url for this image.
276
- # Corresponds to the JSON property `url`
277
- # @return [String]
278
- attr_accessor :url
279
-
280
- def initialize(**args)
281
- update!(**args)
282
- end
283
-
284
- # Update properties of this object
285
- def update!(**args)
286
- @image_type = args[:image_type] if args.key?(:image_type)
287
- @kind = args[:kind] if args.key?(:kind)
288
- @resource_id = args[:resource_id] if args.key?(:resource_id)
289
- @url = args[:url] if args.key?(:url)
290
- end
291
- end
292
-
293
255
  # An leaderboard configuration resource.
294
256
  class LeaderboardConfiguration
295
257
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GamesConfigurationV1configuration
18
18
  # Version of the google-apis-games_configuration_v1configuration gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20200811"
25
+ REVISION = "20221124"
26
26
  end
27
27
  end
28
28
  end
@@ -52,12 +52,6 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class ImageConfiguration
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
55
  class LeaderboardConfiguration
62
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
57
 
@@ -157,16 +151,6 @@ module Google
157
151
  end
158
152
  end
159
153
 
160
- class ImageConfiguration
161
- # @private
162
- class Representation < Google::Apis::Core::JsonRepresentation
163
- property :image_type, as: 'imageType'
164
- property :kind, as: 'kind'
165
- property :resource_id, as: 'resourceId'
166
- property :url, as: 'url'
167
- end
168
- end
169
-
170
154
  class LeaderboardConfiguration
171
155
  # @private
172
156
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -212,49 +212,6 @@ module Google
212
212
  execute_or_queue_command(command, &block)
213
213
  end
214
214
 
215
- # Uploads an image for a resource with the given ID and image type.
216
- # @param [String] resource_id
217
- # The ID of the resource used by this method.
218
- # @param [String] image_type
219
- # Selects which image in a resource for this method.
220
- # @param [String] fields
221
- # Selector specifying which fields to include in a partial response.
222
- # @param [String] quota_user
223
- # Available to use for quota purposes for server-side applications. Can be any
224
- # arbitrary string assigned to a user, but should not exceed 40 characters.
225
- # @param [IO, String] upload_source
226
- # IO stream or filename containing content to upload
227
- # @param [String] content_type
228
- # Content type of the uploaded content.
229
- # @param [Google::Apis::RequestOptions] options
230
- # Request-specific options
231
- #
232
- # @yield [result, err] Result & error if block supplied
233
- # @yieldparam result [Google::Apis::GamesConfigurationV1configuration::ImageConfiguration] parsed result object
234
- # @yieldparam err [StandardError] error object if request failed
235
- #
236
- # @return [Google::Apis::GamesConfigurationV1configuration::ImageConfiguration]
237
- #
238
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
239
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
240
- # @raise [Google::Apis::AuthorizationError] Authorization is required
241
- def upload_image_configuration(resource_id, image_type, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
242
- if upload_source.nil?
243
- command = make_simple_command(:post, 'games/v1configuration/images/{resourceId}/imageType/{imageType}', options)
244
- else
245
- command = make_upload_command(:post, 'games/v1configuration/images/{resourceId}/imageType/{imageType}', options)
246
- command.upload_source = upload_source
247
- command.upload_content_type = content_type
248
- end
249
- command.response_representation = Google::Apis::GamesConfigurationV1configuration::ImageConfiguration::Representation
250
- command.response_class = Google::Apis::GamesConfigurationV1configuration::ImageConfiguration
251
- command.params['resourceId'] = resource_id unless resource_id.nil?
252
- command.params['imageType'] = image_type unless image_type.nil?
253
- command.query['fields'] = fields unless fields.nil?
254
- command.query['quotaUser'] = quota_user unless quota_user.nil?
255
- execute_or_queue_command(command, &block)
256
- end
257
-
258
215
  # Delete the leaderboard configuration with the given ID.
259
216
  # @param [String] leaderboard_id
260
217
  # The ID of the leaderboard.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-games_configuration_v1configuration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
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: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2023-02-26 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.9.1
19
+ version: 0.11.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.9.1
29
+ version: 0.11.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -59,7 +59,7 @@ licenses:
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-games_configuration_v1configuration/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-games_configuration_v1configuration/v0.13.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_configuration_v1configuration/v0.15.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-games_configuration_v1configuration
64
64
  post_install_message:
65
65
  rdoc_options: []
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.3.14
79
+ rubygems_version: 3.4.2
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Google Play Game Services Publishing API V1configuration