google-apis-games_configuration_v1configuration 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/games_configuration_v1configuration/classes.rb +0 -38
- data/lib/google/apis/games_configuration_v1configuration/gem_version.rb +2 -2
- data/lib/google/apis/games_configuration_v1configuration/representations.rb +0 -16
- data/lib/google/apis/games_configuration_v1configuration/service.rb +0 -43
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc9c10126bbb9b796d8f269e79820f950f43b57222e0dc2557895a8bd01ecb22
|
4
|
+
data.tar.gz: a7038e3797040fc83b0283e3b68b80ee6b0ffc4a7e8db8098a8048565656d37f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3c3b23998f965e8400e048fd238918d2a292cefdad36b32df6afbb0d9bced7f294f15f67c669854e2cdc1c46989affee32310e35644e4d4932c4fc2ea7b3adf
|
7
|
+
data.tar.gz: d958a46b1d8e2027002c1683bb96932f17cc2feac556a583f7b84493e097e31ac4aa12569256b540cd526b5fe941b369779ddb14dd81d09e3d758b8900731de4
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
4
|
+
version: 0.14.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
|
+
date: 2022-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-games_configuration_v1configuration/v0.14.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: []
|