google-apis-games_v1 0.1.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ededa5dfe4caf5e9f35a7ac543d4441740f459c17cb88476714c5e764168ef2
4
- data.tar.gz: cd06790fb68c38d9fb320c74ef8bd762788ff57c5519c73ce726a91032b403a1
3
+ metadata.gz: 7eceabbabe176e664a300173e3afbdc0bdaf864c7c3ec1687ba40aaaeda32f08
4
+ data.tar.gz: 1911eb3657d1280db16c46f9c65ff18755357686747554b9f198dfc1939d8fb6
5
5
  SHA512:
6
- metadata.gz: '079c199f20ab9a5925ed33463a8d5945ad154b53c31a98b180cb3f45818de7b3837899c2b49e8b0bfc3739d4bca65f8d82df72d3db32c6a706066c5d69f4444a'
7
- data.tar.gz: 20f8875e8fd7725daab9b080d0b08a2743fa3462ab0d148e8d597ef9e5ecbff333162b5e8a5fd61e6424b9f9d52002487fb76a5fce3d576ddef884358d29cbc9
6
+ metadata.gz: a8ddc8dfa55e4a85867e10f6edd13c1b6bc27ff11d058ef8e697e2ea38d96847843849311f747d47a49c55d720c16882749526cbf7399808001e4e1f03948014
7
+ data.tar.gz: 80986a3acf789352bdf1bb7fc8ec635f4cff742663819bc867dbb4d2afd1448a5e37244ced0a894775223d26244155ea616220a56385fd69f5e49c8061371cf3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-games_v1
2
2
 
3
+ ### v0.6.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.5.0 (2021-04-07)
8
+
9
+ * Regenerated from discovery document revision 20210401
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-17)
17
+
18
+ * Regenerated from discovery document revision 20210211
19
+
20
+ ### v0.2.0 (2021-02-02)
21
+
22
+ * Regenerated from discovery document revision 20210128
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage its own configuration data in your Google Drive
33
+ # See, create, and delete its own configuration data in your Google Drive
34
34
  AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
35
35
 
36
36
  # Create, edit, and delete your Google Play Games activity
@@ -2306,53 +2306,6 @@ module Google
2306
2306
  end
2307
2307
  end
2308
2308
 
2309
- # Request for ResolveSnapshotHead RPC.
2310
- class ResolveSnapshotHeadRequest
2311
- include Google::Apis::Core::Hashable
2312
-
2313
- # Required. The automatic resolution policy. All conflicts are resolved in
2314
- # chronological order, starting from the/ least recent. If the comparison metric
2315
- # is equal for the tentative head and the conflict, the head wins.
2316
- # Corresponds to the JSON property `resolutionPolicy`
2317
- # @return [String]
2318
- attr_accessor :resolution_policy
2319
-
2320
- def initialize(**args)
2321
- update!(**args)
2322
- end
2323
-
2324
- # Update properties of this object
2325
- def update!(**args)
2326
- @resolution_policy = args[:resolution_policy] if args.key?(:resolution_policy)
2327
- end
2328
- end
2329
-
2330
- # Response for ResolveSnapshotHead RPC.
2331
- class ResolveSnapshotHeadResponse
2332
- include Google::Apis::Core::Hashable
2333
-
2334
- # A snapshot represents a saved game state referred to using the developer-
2335
- # provided snapshot_name. The set of attributes and binary data for a specific
2336
- # state is called a revision. Each revision is itself immutable, and referred to
2337
- # by a snapshot revision id. At any time, a snapshot has a "head" revision, and
2338
- # updates are made against that revision. If a snapshot update is received that
2339
- # isn't against the current head revision, then instead of changing the head
2340
- # revision it will result in a conflicting revision that must be specifically
2341
- # resolved.
2342
- # Corresponds to the JSON property `snapshot`
2343
- # @return [Google::Apis::GamesV1::SnapshotExtended]
2344
- attr_accessor :snapshot
2345
-
2346
- def initialize(**args)
2347
- update!(**args)
2348
- end
2349
-
2350
- # Update properties of this object
2351
- def update!(**args)
2352
- @snapshot = args[:snapshot] if args.key?(:snapshot)
2353
- end
2354
- end
2355
-
2356
2309
  # A third party checking a revision response.
2357
2310
  class CheckRevisionResponse
2358
2311
  include Google::Apis::Core::Hashable
@@ -2515,169 +2468,6 @@ module Google
2515
2468
  end
2516
2469
  end
2517
2470
 
2518
- # Identifies a snapshot cover image resource. The image is provided by the game.
2519
- class SnapshotCoverImageResource
2520
- include Google::Apis::Core::Hashable
2521
-
2522
- # Output only. Hash-like weak identifier of the uploaded image bytes, consistent
2523
- # per player per application. The content hash for a given resource will not
2524
- # change if the binary data hasn't changed. Except in very rare circumstances,
2525
- # the content_hash for matching binary data will be the same within a given
2526
- # player and application.
2527
- # Corresponds to the JSON property `contentHash`
2528
- # @return [String]
2529
- attr_accessor :content_hash
2530
-
2531
- # Output only. A URL the client can use to download the image. May vary across
2532
- # requests, and only guaranteed to be valid for a short time after it is
2533
- # returned.
2534
- # Corresponds to the JSON property `downloadUrl`
2535
- # @return [String]
2536
- attr_accessor :download_url
2537
-
2538
- # The height of the image in pixels.
2539
- # Corresponds to the JSON property `height`
2540
- # @return [Fixnum]
2541
- attr_accessor :height
2542
-
2543
- # The MIME type of the image.
2544
- # Corresponds to the JSON property `mimeType`
2545
- # @return [String]
2546
- attr_accessor :mime_type
2547
-
2548
- # The ID of the image resource. It's guaranteed that if two IDs are equal then
2549
- # the contents are equal as well. It's not guaranteed that two identical blobs
2550
- # coming from separate uploads have the same ID. The resource ID can only be
2551
- # used within the application, user and resource type it was originally returned
2552
- # for. For example, it's not possible to use SnapshotDataResource's resource ID
2553
- # as the resource_id of a SnapshotCoverImageResource, even if the blob is a
2554
- # valid image file.
2555
- # Corresponds to the JSON property `resourceId`
2556
- # @return [String]
2557
- attr_accessor :resource_id
2558
-
2559
- # The width of the image in pixels.
2560
- # Corresponds to the JSON property `width`
2561
- # @return [Fixnum]
2562
- attr_accessor :width
2563
-
2564
- def initialize(**args)
2565
- update!(**args)
2566
- end
2567
-
2568
- # Update properties of this object
2569
- def update!(**args)
2570
- @content_hash = args[:content_hash] if args.key?(:content_hash)
2571
- @download_url = args[:download_url] if args.key?(:download_url)
2572
- @height = args[:height] if args.key?(:height)
2573
- @mime_type = args[:mime_type] if args.key?(:mime_type)
2574
- @resource_id = args[:resource_id] if args.key?(:resource_id)
2575
- @width = args[:width] if args.key?(:width)
2576
- end
2577
- end
2578
-
2579
- # Identifies a snapshot data resource. The data is provided by the game.
2580
- class SnapshotDataResource
2581
- include Google::Apis::Core::Hashable
2582
-
2583
- # Output only. Hash-like weak identifier of the uploaded blob bytes, consistent
2584
- # per player per application. The content hash for a given resource will not
2585
- # change if the binary data hasn't changed. Except in very rare circumstances,
2586
- # the content_hash for matching binary data will be the same within a given
2587
- # player and application.
2588
- # Corresponds to the JSON property `contentHash`
2589
- # @return [String]
2590
- attr_accessor :content_hash
2591
-
2592
- # Output only. A URL that the client can use to download the blob. May vary
2593
- # across requests, and only guaranteed to be valid for a short time after it is
2594
- # returned.
2595
- # Corresponds to the JSON property `downloadUrl`
2596
- # @return [String]
2597
- attr_accessor :download_url
2598
-
2599
- # The ID of the blob resource. It's guaranteed that if two IDs are equal then
2600
- # the contents are equal as well. It's not guaranteed that two identical blobs
2601
- # coming from separate uploads have the same resource ID. The resource ID can
2602
- # only be used within the application, user and resource type it was originally
2603
- # returned for. For example, it's not possible to use SnapshotDataResource's
2604
- # resource ID as the resource_id of a SnapshotCoverImageResource, even if the
2605
- # blob is a valid image file.
2606
- # Corresponds to the JSON property `resourceId`
2607
- # @return [String]
2608
- attr_accessor :resource_id
2609
-
2610
- # Output only. Size of the saved game blob in bytes.
2611
- # Corresponds to the JSON property `size`
2612
- # @return [Fixnum]
2613
- attr_accessor :size
2614
-
2615
- def initialize(**args)
2616
- update!(**args)
2617
- end
2618
-
2619
- # Update properties of this object
2620
- def update!(**args)
2621
- @content_hash = args[:content_hash] if args.key?(:content_hash)
2622
- @download_url = args[:download_url] if args.key?(:download_url)
2623
- @resource_id = args[:resource_id] if args.key?(:resource_id)
2624
- @size = args[:size] if args.key?(:size)
2625
- end
2626
- end
2627
-
2628
- # A snapshot represents a saved game state referred to using the developer-
2629
- # provided snapshot_name. The set of attributes and binary data for a specific
2630
- # state is called a revision. Each revision is itself immutable, and referred to
2631
- # by a snapshot revision id. At any time, a snapshot has a "head" revision, and
2632
- # updates are made against that revision. If a snapshot update is received that
2633
- # isn't against the current head revision, then instead of changing the head
2634
- # revision it will result in a conflicting revision that must be specifically
2635
- # resolved.
2636
- class SnapshotExtended
2637
- include Google::Apis::Core::Hashable
2638
-
2639
- # A list of conflicting revisions. Only set if explicitly requested (e.g. using
2640
- # a field mask or a request flag), or if the RPC guarantees that this field is
2641
- # set. The conflicting revisions are sorted chronologically by their server
2642
- # creation time (oldest first). If there are too many conflicting revisions to
2643
- # return all of them in a single request this will only contain the first batch.
2644
- # In such case, the presented conflicting revisions must be resolved first in
2645
- # order to fetch the next batch.
2646
- # Corresponds to the JSON property `conflictingRevisions`
2647
- # @return [Array<Google::Apis::GamesV1::SnapshotRevision>]
2648
- attr_accessor :conflicting_revisions
2649
-
2650
- # An indicator whether the snapshot has any conflicting revisions or not. Always
2651
- # set.
2652
- # Corresponds to the JSON property `hasConflictingRevisions`
2653
- # @return [Boolean]
2654
- attr_accessor :has_conflicting_revisions
2655
- alias_method :has_conflicting_revisions?, :has_conflicting_revisions
2656
-
2657
- # A Snapshot revision resource. Snapshot revisions are immutable.
2658
- # Corresponds to the JSON property `headRevision`
2659
- # @return [Google::Apis::GamesV1::SnapshotRevision]
2660
- attr_accessor :head_revision
2661
-
2662
- # An identifier of the snapshot, developer-specified. It must match the pattern [
2663
- # 0-9a-zA-Z-._~]`1,100`.
2664
- # Corresponds to the JSON property `snapshotName`
2665
- # @return [String]
2666
- attr_accessor :snapshot_name
2667
-
2668
- def initialize(**args)
2669
- update!(**args)
2670
- end
2671
-
2672
- # Update properties of this object
2673
- def update!(**args)
2674
- @conflicting_revisions = args[:conflicting_revisions] if args.key?(:conflicting_revisions)
2675
- @has_conflicting_revisions = args[:has_conflicting_revisions] if args.key?(:has_conflicting_revisions)
2676
- @head_revision = args[:head_revision] if args.key?(:head_revision)
2677
- @snapshot_name = args[:snapshot_name] if args.key?(:snapshot_name)
2678
- end
2679
- end
2680
-
2681
2471
  # An image of a snapshot.
2682
2472
  class SnapshotImage
2683
2473
  include Google::Apis::Core::Hashable
@@ -2756,92 +2546,6 @@ module Google
2756
2546
  end
2757
2547
  end
2758
2548
 
2759
- # Metadata about a snapshot revision. Snapshot metadata is immutable - a
2760
- # metadata change corresponds to a new snapshot revision.
2761
- class SnapshotMetadata
2762
- include Google::Apis::Core::Hashable
2763
-
2764
- # The description of this snapshot.
2765
- # Corresponds to the JSON property `description`
2766
- # @return [String]
2767
- attr_accessor :description
2768
-
2769
- # The device that created the current revision.
2770
- # Corresponds to the JSON property `deviceName`
2771
- # @return [String]
2772
- attr_accessor :device_name
2773
-
2774
- # The duration associated with this snapshot. Values with sub-millisecond
2775
- # precision can be rounded or trimmed to the closest millisecond.
2776
- # Corresponds to the JSON property `gameplayDuration`
2777
- # @return [String]
2778
- attr_accessor :gameplay_duration
2779
-
2780
- # The timestamp of the last modification to this snapshot as provided by the
2781
- # client. Values with sub-millisecond precision can be rounded or trimmed to the
2782
- # closest millisecond.
2783
- # Corresponds to the JSON property `lastModifyTime`
2784
- # @return [String]
2785
- attr_accessor :last_modify_time
2786
-
2787
- # The progress value (64-bit integer set by developer) associated with this
2788
- # snapshot.
2789
- # Corresponds to the JSON property `progressValue`
2790
- # @return [Fixnum]
2791
- attr_accessor :progress_value
2792
-
2793
- def initialize(**args)
2794
- update!(**args)
2795
- end
2796
-
2797
- # Update properties of this object
2798
- def update!(**args)
2799
- @description = args[:description] if args.key?(:description)
2800
- @device_name = args[:device_name] if args.key?(:device_name)
2801
- @gameplay_duration = args[:gameplay_duration] if args.key?(:gameplay_duration)
2802
- @last_modify_time = args[:last_modify_time] if args.key?(:last_modify_time)
2803
- @progress_value = args[:progress_value] if args.key?(:progress_value)
2804
- end
2805
- end
2806
-
2807
- # A Snapshot revision resource. Snapshot revisions are immutable.
2808
- class SnapshotRevision
2809
- include Google::Apis::Core::Hashable
2810
-
2811
- # Identifies a snapshot data resource. The data is provided by the game.
2812
- # Corresponds to the JSON property `blob`
2813
- # @return [Google::Apis::GamesV1::SnapshotDataResource]
2814
- attr_accessor :blob
2815
-
2816
- # Identifies a snapshot cover image resource. The image is provided by the game.
2817
- # Corresponds to the JSON property `coverImage`
2818
- # @return [Google::Apis::GamesV1::SnapshotCoverImageResource]
2819
- attr_accessor :cover_image
2820
-
2821
- # Output only. A server generated identifier of the snapshot revision.
2822
- # Corresponds to the JSON property `id`
2823
- # @return [String]
2824
- attr_accessor :id
2825
-
2826
- # Metadata about a snapshot revision. Snapshot metadata is immutable - a
2827
- # metadata change corresponds to a new snapshot revision.
2828
- # Corresponds to the JSON property `metadata`
2829
- # @return [Google::Apis::GamesV1::SnapshotMetadata]
2830
- attr_accessor :metadata
2831
-
2832
- def initialize(**args)
2833
- update!(**args)
2834
- end
2835
-
2836
- # Update properties of this object
2837
- def update!(**args)
2838
- @blob = args[:blob] if args.key?(:blob)
2839
- @cover_image = args[:cover_image] if args.key?(:cover_image)
2840
- @id = args[:id] if args.key?(:id)
2841
- @metadata = args[:metadata] if args.key?(:metadata)
2842
- end
2843
- end
2844
-
2845
2549
  # A third party stats resource.
2846
2550
  class StatsResponse
2847
2551
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GamesV1
18
18
  # Version of the google-apis-games_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201203"
25
+ REVISION = "20210401"
26
26
  end
27
27
  end
28
28
  end
@@ -352,18 +352,6 @@ module Google
352
352
  include Google::Apis::Core::JsonObjectSupport
353
353
  end
354
354
 
355
- class ResolveSnapshotHeadRequest
356
- class Representation < Google::Apis::Core::JsonRepresentation; end
357
-
358
- include Google::Apis::Core::JsonObjectSupport
359
- end
360
-
361
- class ResolveSnapshotHeadResponse
362
- class Representation < Google::Apis::Core::JsonRepresentation; end
363
-
364
- include Google::Apis::Core::JsonObjectSupport
365
- end
366
-
367
355
  class CheckRevisionResponse
368
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
357
 
@@ -382,24 +370,6 @@ module Google
382
370
  include Google::Apis::Core::JsonObjectSupport
383
371
  end
384
372
 
385
- class SnapshotCoverImageResource
386
- class Representation < Google::Apis::Core::JsonRepresentation; end
387
-
388
- include Google::Apis::Core::JsonObjectSupport
389
- end
390
-
391
- class SnapshotDataResource
392
- class Representation < Google::Apis::Core::JsonRepresentation; end
393
-
394
- include Google::Apis::Core::JsonObjectSupport
395
- end
396
-
397
- class SnapshotExtended
398
- class Representation < Google::Apis::Core::JsonRepresentation; end
399
-
400
- include Google::Apis::Core::JsonObjectSupport
401
- end
402
-
403
373
  class SnapshotImage
404
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
375
 
@@ -412,18 +382,6 @@ module Google
412
382
  include Google::Apis::Core::JsonObjectSupport
413
383
  end
414
384
 
415
- class SnapshotMetadata
416
- class Representation < Google::Apis::Core::JsonRepresentation; end
417
-
418
- include Google::Apis::Core::JsonObjectSupport
419
- end
420
-
421
- class SnapshotRevision
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
385
  class StatsResponse
428
386
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
387
 
@@ -1046,21 +1004,6 @@ module Google
1046
1004
  end
1047
1005
  end
1048
1006
 
1049
- class ResolveSnapshotHeadRequest
1050
- # @private
1051
- class Representation < Google::Apis::Core::JsonRepresentation
1052
- property :resolution_policy, as: 'resolutionPolicy'
1053
- end
1054
- end
1055
-
1056
- class ResolveSnapshotHeadResponse
1057
- # @private
1058
- class Representation < Google::Apis::Core::JsonRepresentation
1059
- property :snapshot, as: 'snapshot', class: Google::Apis::GamesV1::SnapshotExtended, decorator: Google::Apis::GamesV1::SnapshotExtended::Representation
1060
-
1061
- end
1062
- end
1063
-
1064
1007
  class CheckRevisionResponse
1065
1008
  # @private
1066
1009
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1099,40 +1042,6 @@ module Google
1099
1042
  end
1100
1043
  end
1101
1044
 
1102
- class SnapshotCoverImageResource
1103
- # @private
1104
- class Representation < Google::Apis::Core::JsonRepresentation
1105
- property :content_hash, as: 'contentHash'
1106
- property :download_url, as: 'downloadUrl'
1107
- property :height, as: 'height'
1108
- property :mime_type, as: 'mimeType'
1109
- property :resource_id, as: 'resourceId'
1110
- property :width, as: 'width'
1111
- end
1112
- end
1113
-
1114
- class SnapshotDataResource
1115
- # @private
1116
- class Representation < Google::Apis::Core::JsonRepresentation
1117
- property :content_hash, as: 'contentHash'
1118
- property :download_url, as: 'downloadUrl'
1119
- property :resource_id, as: 'resourceId'
1120
- property :size, :numeric_string => true, as: 'size'
1121
- end
1122
- end
1123
-
1124
- class SnapshotExtended
1125
- # @private
1126
- class Representation < Google::Apis::Core::JsonRepresentation
1127
- collection :conflicting_revisions, as: 'conflictingRevisions', class: Google::Apis::GamesV1::SnapshotRevision, decorator: Google::Apis::GamesV1::SnapshotRevision::Representation
1128
-
1129
- property :has_conflicting_revisions, as: 'hasConflictingRevisions'
1130
- property :head_revision, as: 'headRevision', class: Google::Apis::GamesV1::SnapshotRevision, decorator: Google::Apis::GamesV1::SnapshotRevision::Representation
1131
-
1132
- property :snapshot_name, as: 'snapshotName'
1133
- end
1134
- end
1135
-
1136
1045
  class SnapshotImage
1137
1046
  # @private
1138
1047
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1154,30 +1063,6 @@ module Google
1154
1063
  end
1155
1064
  end
1156
1065
 
1157
- class SnapshotMetadata
1158
- # @private
1159
- class Representation < Google::Apis::Core::JsonRepresentation
1160
- property :description, as: 'description'
1161
- property :device_name, as: 'deviceName'
1162
- property :gameplay_duration, as: 'gameplayDuration'
1163
- property :last_modify_time, as: 'lastModifyTime'
1164
- property :progress_value, :numeric_string => true, as: 'progressValue'
1165
- end
1166
- end
1167
-
1168
- class SnapshotRevision
1169
- # @private
1170
- class Representation < Google::Apis::Core::JsonRepresentation
1171
- property :blob, as: 'blob', class: Google::Apis::GamesV1::SnapshotDataResource, decorator: Google::Apis::GamesV1::SnapshotDataResource::Representation
1172
-
1173
- property :cover_image, as: 'coverImage', class: Google::Apis::GamesV1::SnapshotCoverImageResource, decorator: Google::Apis::GamesV1::SnapshotCoverImageResource::Representation
1174
-
1175
- property :id, as: 'id'
1176
- property :metadata, as: 'metadata', class: Google::Apis::GamesV1::SnapshotMetadata, decorator: Google::Apis::GamesV1::SnapshotMetadata::Representation
1177
-
1178
- end
1179
- end
1180
-
1181
1066
  class StatsResponse
1182
1067
  # @private
1183
1068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1107,40 +1107,6 @@ module Google
1107
1107
  execute_or_queue_command(command, &block)
1108
1108
  end
1109
1109
 
1110
- # Resolves any potential conflicts according to the resolution policy specified
1111
- # in the request and returns the snapshot head after the resolution.
1112
- # @param [String] snapshot_name
1113
- # Required. Name of the snapshot.
1114
- # @param [Google::Apis::GamesV1::ResolveSnapshotHeadRequest] resolve_snapshot_head_request_object
1115
- # @param [String] fields
1116
- # Selector specifying which fields to include in a partial response.
1117
- # @param [String] quota_user
1118
- # Available to use for quota purposes for server-side applications. Can be any
1119
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1120
- # @param [Google::Apis::RequestOptions] options
1121
- # Request-specific options
1122
- #
1123
- # @yield [result, err] Result & error if block supplied
1124
- # @yieldparam result [Google::Apis::GamesV1::ResolveSnapshotHeadResponse] parsed result object
1125
- # @yieldparam err [StandardError] error object if request failed
1126
- #
1127
- # @return [Google::Apis::GamesV1::ResolveSnapshotHeadResponse]
1128
- #
1129
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1130
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1131
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1132
- def resolve_snapshots_extended_snapshot_head(snapshot_name, resolve_snapshot_head_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1133
- command = make_simple_command(:post, 'games/v1/snapshotsExtended/{snapshotName}:resolveHead', options)
1134
- command.request_representation = Google::Apis::GamesV1::ResolveSnapshotHeadRequest::Representation
1135
- command.request_object = resolve_snapshot_head_request_object
1136
- command.response_representation = Google::Apis::GamesV1::ResolveSnapshotHeadResponse::Representation
1137
- command.response_class = Google::Apis::GamesV1::ResolveSnapshotHeadResponse
1138
- command.params['snapshotName'] = snapshot_name unless snapshot_name.nil?
1139
- command.query['fields'] = fields unless fields.nil?
1140
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1141
- execute_or_queue_command(command, &block)
1142
- end
1143
-
1144
1110
  # Returns engagement and spend statistics in this application for the currently
1145
1111
  # authenticated user.
1146
1112
  # @param [String] fields
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-games_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.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: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-games_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-games_v1/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-games_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Google Play Game Services V1