google-api-client 0.39.2 → 0.39.3
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 +36 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +19 -15
- data/generated/google/apis/bigqueryreservation_v1/service.rb +86 -73
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +0 -47
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +26 -14
- data/generated/google/apis/cloudkms_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +3 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_management_v1management/classes.rb +50 -90
- data/generated/google/apis/games_management_v1management/representations.rb +0 -17
- data/generated/google/apis/games_management_v1management/service.rb +115 -291
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
- data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
- data/generated/google/apis/gmail_v1.rb +2 -3
- data/generated/google/apis/gmail_v1/classes.rb +199 -258
- data/generated/google/apis/gmail_v1/service.rb +744 -552
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +34 -22
- data/generated/google/apis/healthcare_v1/service.rb +46 -111
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +34 -22
- data/generated/google/apis/healthcare_v1beta1/service.rb +63 -113
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +35 -12
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +29 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +31 -49
- data/generated/google/apis/run_v1/representations.rb +1 -17
- data/generated/google/apis/run_v1/service.rb +3 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
- data/generated/google/apis/run_v1alpha1/service.rb +3 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200504'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -427,6 +427,9 @@ module Google
|
|
427
427
|
# Requests for policies with any conditional bindings must specify version 3.
|
428
428
|
# Policies without any conditional bindings may specify any valid value or
|
429
429
|
# leave the field unset.
|
430
|
+
# To learn which resources support conditions in their IAM policies, see the
|
431
|
+
# [IAM
|
432
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
430
433
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
431
434
|
# @return [Fixnum]
|
432
435
|
attr_accessor :requested_policy_version
|
@@ -560,10 +563,13 @@ module Google
|
|
560
563
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
561
564
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
562
565
|
# custom role.
|
563
|
-
#
|
564
|
-
# expression that allows access to a resource
|
565
|
-
# to `true`. A condition can add constraints
|
566
|
-
# request, the resource, or both.
|
566
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
567
|
+
# `condition`, which is a logical expression that allows access to a resource
|
568
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
569
|
+
# based on attributes of the request, the resource, or both. To learn which
|
570
|
+
# resources support conditions in their IAM policies, see the
|
571
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
572
|
+
# policies).
|
567
573
|
# **JSON example:**
|
568
574
|
# `
|
569
575
|
# "bindings": [
|
@@ -578,7 +584,9 @@ module Google
|
|
578
584
|
# `,
|
579
585
|
# `
|
580
586
|
# "role": "roles/resourcemanager.organizationViewer",
|
581
|
-
# "members": [
|
587
|
+
# "members": [
|
588
|
+
# "user:eve@example.com"
|
589
|
+
# ],
|
582
590
|
# "condition": `
|
583
591
|
# "title": "expirable access",
|
584
592
|
# "description": "Does not grant access after Sep 2020",
|
@@ -656,6 +664,9 @@ module Google
|
|
656
664
|
# the conditions in the version `3` policy are lost.
|
657
665
|
# If a policy does not include any conditions, operations on that policy may
|
658
666
|
# specify any valid version or leave the field unset.
|
667
|
+
# To learn which resources support conditions in their IAM policies, see the
|
668
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
669
|
+
# policies).
|
659
670
|
# Corresponds to the JSON property `version`
|
660
671
|
# @return [Fixnum]
|
661
672
|
attr_accessor :version
|
@@ -798,10 +809,13 @@ module Google
|
|
798
809
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
799
810
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
800
811
|
# custom role.
|
801
|
-
#
|
802
|
-
# expression that allows access to a resource
|
803
|
-
# to `true`. A condition can add constraints
|
804
|
-
# request, the resource, or both.
|
812
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
813
|
+
# `condition`, which is a logical expression that allows access to a resource
|
814
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
815
|
+
# based on attributes of the request, the resource, or both. To learn which
|
816
|
+
# resources support conditions in their IAM policies, see the
|
817
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
818
|
+
# policies).
|
805
819
|
# **JSON example:**
|
806
820
|
# `
|
807
821
|
# "bindings": [
|
@@ -816,7 +830,9 @@ module Google
|
|
816
830
|
# `,
|
817
831
|
# `
|
818
832
|
# "role": "roles/resourcemanager.organizationViewer",
|
819
|
-
# "members": [
|
833
|
+
# "members": [
|
834
|
+
# "user:eve@example.com"
|
835
|
+
# ],
|
820
836
|
# "condition": `
|
821
837
|
# "title": "expirable access",
|
822
838
|
# "description": "Does not grant access after Sep 2020",
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200504'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -427,6 +427,9 @@ module Google
|
|
427
427
|
# Requests for policies with any conditional bindings must specify version 3.
|
428
428
|
# Policies without any conditional bindings may specify any valid value or
|
429
429
|
# leave the field unset.
|
430
|
+
# To learn which resources support conditions in their IAM policies, see the
|
431
|
+
# [IAM
|
432
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
430
433
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
431
434
|
# @return [Fixnum]
|
432
435
|
attr_accessor :requested_policy_version
|
@@ -560,10 +563,13 @@ module Google
|
|
560
563
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
561
564
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
562
565
|
# custom role.
|
563
|
-
#
|
564
|
-
# expression that allows access to a resource
|
565
|
-
# to `true`. A condition can add constraints
|
566
|
-
# request, the resource, or both.
|
566
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
567
|
+
# `condition`, which is a logical expression that allows access to a resource
|
568
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
569
|
+
# based on attributes of the request, the resource, or both. To learn which
|
570
|
+
# resources support conditions in their IAM policies, see the
|
571
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
572
|
+
# policies).
|
567
573
|
# **JSON example:**
|
568
574
|
# `
|
569
575
|
# "bindings": [
|
@@ -578,7 +584,9 @@ module Google
|
|
578
584
|
# `,
|
579
585
|
# `
|
580
586
|
# "role": "roles/resourcemanager.organizationViewer",
|
581
|
-
# "members": [
|
587
|
+
# "members": [
|
588
|
+
# "user:eve@example.com"
|
589
|
+
# ],
|
582
590
|
# "condition": `
|
583
591
|
# "title": "expirable access",
|
584
592
|
# "description": "Does not grant access after Sep 2020",
|
@@ -656,6 +664,9 @@ module Google
|
|
656
664
|
# the conditions in the version `3` policy are lost.
|
657
665
|
# If a policy does not include any conditions, operations on that policy may
|
658
666
|
# specify any valid version or leave the field unset.
|
667
|
+
# To learn which resources support conditions in their IAM policies, see the
|
668
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
669
|
+
# policies).
|
659
670
|
# Corresponds to the JSON property `version`
|
660
671
|
# @return [Fixnum]
|
661
672
|
attr_accessor :version
|
@@ -798,10 +809,13 @@ module Google
|
|
798
809
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
799
810
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
800
811
|
# custom role.
|
801
|
-
#
|
802
|
-
# expression that allows access to a resource
|
803
|
-
# to `true`. A condition can add constraints
|
804
|
-
# request, the resource, or both.
|
812
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
813
|
+
# `condition`, which is a logical expression that allows access to a resource
|
814
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
815
|
+
# based on attributes of the request, the resource, or both. To learn which
|
816
|
+
# resources support conditions in their IAM policies, see the
|
817
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
818
|
+
# policies).
|
805
819
|
# **JSON example:**
|
806
820
|
# `
|
807
821
|
# "bindings": [
|
@@ -816,7 +830,9 @@ module Google
|
|
816
830
|
# `,
|
817
831
|
# `
|
818
832
|
# "role": "roles/resourcemanager.organizationViewer",
|
819
|
-
# "members": [
|
833
|
+
# "members": [
|
834
|
+
# "user:eve@example.com"
|
835
|
+
# ],
|
820
836
|
# "condition": `
|
821
837
|
# "title": "expirable access",
|
822
838
|
# "description": "Does not grant access after Sep 2020",
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/shell/docs/
|
27
27
|
module CloudshellV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200512'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/shell/docs/
|
27
27
|
module CloudshellV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200512'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200501'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2492,8 +2492,9 @@ module Google
|
|
2492
2492
|
|
2493
2493
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
2494
2494
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
2495
|
-
#
|
2496
|
-
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration
|
2495
|
+
# See
|
2496
|
+
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
2497
|
+
# for more information, including usage and the valid values.
|
2497
2498
|
class NodeTaint
|
2498
2499
|
include Google::Apis::Core::Hashable
|
2499
2500
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200501'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2884,8 +2884,9 @@ module Google
|
|
2884
2884
|
|
2885
2885
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
2886
2886
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
2887
|
-
#
|
2888
|
-
# https://kubernetes.io/docs/concepts/configuration/taint-and-toleration
|
2887
|
+
# See
|
2888
|
+
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
2889
|
+
# for more information, including usage and the valid values.
|
2889
2890
|
class NodeTaint
|
2890
2891
|
include Google::Apis::Core::Hashable
|
2891
2892
|
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://firebase.google.com/docs/hosting/
|
28
28
|
module FirebasehostingV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200512'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -352,7 +352,7 @@ module Google
|
|
352
352
|
end
|
353
353
|
end
|
354
354
|
|
355
|
-
#
|
355
|
+
#
|
356
356
|
class ListReleasesResponse
|
357
357
|
include Google::Apis::Core::Hashable
|
358
358
|
|
@@ -380,7 +380,7 @@ module Google
|
|
380
380
|
end
|
381
381
|
end
|
382
382
|
|
383
|
-
#
|
383
|
+
#
|
384
384
|
class ListVersionFilesResponse
|
385
385
|
include Google::Apis::Core::Hashable
|
386
386
|
|
@@ -405,7 +405,7 @@ module Google
|
|
405
405
|
end
|
406
406
|
end
|
407
407
|
|
408
|
-
#
|
408
|
+
#
|
409
409
|
class ListVersionsResponse
|
410
410
|
include Google::Apis::Core::Hashable
|
411
411
|
|
@@ -516,7 +516,7 @@ module Google
|
|
516
516
|
end
|
517
517
|
end
|
518
518
|
|
519
|
-
#
|
519
|
+
#
|
520
520
|
class PopulateVersionFilesResponse
|
521
521
|
include Google::Apis::Core::Hashable
|
522
522
|
|
@@ -18,14 +18,16 @@ require 'google/apis/games_management_v1management/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
# Google Play Game
|
21
|
+
# Google Play Game Management
|
22
22
|
#
|
23
|
-
# The Management API
|
23
|
+
# The Google Play Game Management API allows developers to manage resources from
|
24
|
+
# the Google
|
25
|
+
# Play Game service.
|
24
26
|
#
|
25
|
-
# @see https://developers.google.com/games/
|
27
|
+
# @see https://developers.google.com/games/
|
26
28
|
module GamesManagementV1management
|
27
29
|
VERSION = 'V1management'
|
28
|
-
REVISION = '
|
30
|
+
REVISION = '20200504'
|
29
31
|
|
30
32
|
# Create, edit, and delete your Google Play Games activity
|
31
33
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
@@ -22,12 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GamesManagementV1management
|
24
24
|
|
25
|
-
#
|
25
|
+
# Achievement reset all response.
|
26
26
|
class AchievementResetAllResponse
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
30
|
-
# string gamesManagement#achievementResetAllResponse
|
30
|
+
# string `gamesManagement#achievementResetAllResponse`.
|
31
31
|
# Corresponds to the JSON property `kind`
|
32
32
|
# @return [String]
|
33
33
|
attr_accessor :kind
|
@@ -48,7 +48,7 @@ module Google
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
#
|
51
|
+
#
|
52
52
|
class AchievementResetMultipleForAllRequest
|
53
53
|
include Google::Apis::Core::Hashable
|
54
54
|
|
@@ -58,7 +58,7 @@ module Google
|
|
58
58
|
attr_accessor :achievement_ids
|
59
59
|
|
60
60
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
61
|
-
# string gamesManagement#achievementResetMultipleForAllRequest
|
61
|
+
# string `gamesManagement#achievementResetMultipleForAllRequest`.
|
62
62
|
# Corresponds to the JSON property `kind`
|
63
63
|
# @return [String]
|
64
64
|
attr_accessor :kind
|
@@ -74,16 +74,15 @@ module Google
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
#
|
77
|
+
# An achievement reset response.
|
78
78
|
class AchievementResetResponse
|
79
79
|
include Google::Apis::Core::Hashable
|
80
80
|
|
81
|
-
# The current state of the achievement.
|
82
|
-
# the achievement.
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
# - "UNLOCKED" - Achievement is unlocked.
|
81
|
+
# The current state of the achievement. This is the same as the initial
|
82
|
+
# state of the achievement. <br/>Possible values are: <ul>
|
83
|
+
# <li>"`HIDDEN`"- Achievement is hidden.</li>
|
84
|
+
# <li>"`REVEALED`" - Achievement is revealed.</li>
|
85
|
+
# <li>"`UNLOCKED`" - Achievement is unlocked.</li> </ul>
|
87
86
|
# Corresponds to the JSON property `currentState`
|
88
87
|
# @return [String]
|
89
88
|
attr_accessor :current_state
|
@@ -94,7 +93,7 @@ module Google
|
|
94
93
|
attr_accessor :definition_id
|
95
94
|
|
96
95
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
97
|
-
# string gamesManagement#achievementResetResponse
|
96
|
+
# string `gamesManagement#achievementResetResponse`.
|
98
97
|
# Corresponds to the JSON property `kind`
|
99
98
|
# @return [String]
|
100
99
|
attr_accessor :kind
|
@@ -118,7 +117,7 @@ module Google
|
|
118
117
|
end
|
119
118
|
end
|
120
119
|
|
121
|
-
#
|
120
|
+
# Multiple events reset all request.
|
122
121
|
class EventsResetMultipleForAllRequest
|
123
122
|
include Google::Apis::Core::Hashable
|
124
123
|
|
@@ -128,7 +127,7 @@ module Google
|
|
128
127
|
attr_accessor :event_ids
|
129
128
|
|
130
129
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
131
|
-
# string gamesManagement#eventsResetMultipleForAllRequest
|
130
|
+
# string `gamesManagement#eventsResetMultipleForAllRequest`.
|
132
131
|
# Corresponds to the JSON property `kind`
|
133
132
|
# @return [String]
|
134
133
|
attr_accessor :kind
|
@@ -144,35 +143,7 @@ module Google
|
|
144
143
|
end
|
145
144
|
end
|
146
145
|
|
147
|
-
#
|
148
|
-
# currently authenticated user.
|
149
|
-
class GamesPlayedResource
|
150
|
-
include Google::Apis::Core::Hashable
|
151
|
-
|
152
|
-
# True if the player was auto-matched with the currently authenticated user.
|
153
|
-
# Corresponds to the JSON property `autoMatched`
|
154
|
-
# @return [Boolean]
|
155
|
-
attr_accessor :auto_matched
|
156
|
-
alias_method :auto_matched?, :auto_matched
|
157
|
-
|
158
|
-
# The last time the player played the game in milliseconds since the epoch in
|
159
|
-
# UTC.
|
160
|
-
# Corresponds to the JSON property `timeMillis`
|
161
|
-
# @return [Fixnum]
|
162
|
-
attr_accessor :time_millis
|
163
|
-
|
164
|
-
def initialize(**args)
|
165
|
-
update!(**args)
|
166
|
-
end
|
167
|
-
|
168
|
-
# Update properties of this object
|
169
|
-
def update!(**args)
|
170
|
-
@auto_matched = args[:auto_matched] if args.key?(:auto_matched)
|
171
|
-
@time_millis = args[:time_millis] if args.key?(:time_millis)
|
172
|
-
end
|
173
|
-
end
|
174
|
-
|
175
|
-
# This is a JSON template for 1P/3P metadata about the player's experience.
|
146
|
+
# 1P/3P metadata about the player's experience.
|
176
147
|
class GamesPlayerExperienceInfoResource
|
177
148
|
include Google::Apis::Core::Hashable
|
178
149
|
|
@@ -181,17 +152,18 @@ module Google
|
|
181
152
|
# @return [Fixnum]
|
182
153
|
attr_accessor :current_experience_points
|
183
154
|
|
184
|
-
#
|
155
|
+
# 1P/3P metadata about a user's level.
|
185
156
|
# Corresponds to the JSON property `currentLevel`
|
186
157
|
# @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
|
187
158
|
attr_accessor :current_level
|
188
159
|
|
189
|
-
# The timestamp when the player was leveled up, in millis since Unix epoch
|
160
|
+
# The timestamp when the player was leveled up, in millis since Unix epoch
|
161
|
+
# UTC.
|
190
162
|
# Corresponds to the JSON property `lastLevelUpTimestampMillis`
|
191
163
|
# @return [Fixnum]
|
192
164
|
attr_accessor :last_level_up_timestamp_millis
|
193
165
|
|
194
|
-
#
|
166
|
+
# 1P/3P metadata about a user's level.
|
195
167
|
# Corresponds to the JSON property `nextLevel`
|
196
168
|
# @return [Google::Apis::GamesManagementV1management::GamesPlayerLevelResource]
|
197
169
|
attr_accessor :next_level
|
@@ -209,7 +181,7 @@ module Google
|
|
209
181
|
end
|
210
182
|
end
|
211
183
|
|
212
|
-
#
|
184
|
+
# 1P/3P metadata about a user's level.
|
213
185
|
class GamesPlayerLevelResource
|
214
186
|
include Google::Apis::Core::Hashable
|
215
187
|
|
@@ -240,22 +212,23 @@ module Google
|
|
240
212
|
end
|
241
213
|
end
|
242
214
|
|
243
|
-
#
|
215
|
+
# The HiddenPlayer resource.
|
244
216
|
class HiddenPlayer
|
245
217
|
include Google::Apis::Core::Hashable
|
246
218
|
|
247
|
-
# The time this player was hidden.
|
219
|
+
# Output only. The time this player was hidden.
|
248
220
|
# Corresponds to the JSON property `hiddenTimeMillis`
|
249
221
|
# @return [Fixnum]
|
250
222
|
attr_accessor :hidden_time_millis
|
251
223
|
|
252
|
-
# Uniquely identifies the type of this resource. Value is always
|
253
|
-
#
|
224
|
+
# Output only. Uniquely identifies the type of this resource. Value is always
|
225
|
+
# the fixed
|
226
|
+
# string `gamesManagement#hiddenPlayer`.
|
254
227
|
# Corresponds to the JSON property `kind`
|
255
228
|
# @return [String]
|
256
229
|
attr_accessor :kind
|
257
230
|
|
258
|
-
#
|
231
|
+
# A Player resource.
|
259
232
|
# Corresponds to the JSON property `player`
|
260
233
|
# @return [Google::Apis::GamesManagementV1management::Player]
|
261
234
|
attr_accessor :player
|
@@ -272,7 +245,7 @@ module Google
|
|
272
245
|
end
|
273
246
|
end
|
274
247
|
|
275
|
-
#
|
248
|
+
# A list of hidden players.
|
276
249
|
class HiddenPlayerList
|
277
250
|
include Google::Apis::Core::Hashable
|
278
251
|
|
@@ -282,7 +255,7 @@ module Google
|
|
282
255
|
attr_accessor :items
|
283
256
|
|
284
257
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
285
|
-
# string gamesManagement#hiddenPlayerList
|
258
|
+
# string `gamesManagement#hiddenPlayerList`.
|
286
259
|
# Corresponds to the JSON property `kind`
|
287
260
|
# @return [String]
|
288
261
|
attr_accessor :kind
|
@@ -304,7 +277,7 @@ module Google
|
|
304
277
|
end
|
305
278
|
end
|
306
279
|
|
307
|
-
#
|
280
|
+
# A Player resource.
|
308
281
|
class Player
|
309
282
|
include Google::Apis::Core::Hashable
|
310
283
|
|
@@ -328,29 +301,17 @@ module Google
|
|
328
301
|
# @return [String]
|
329
302
|
attr_accessor :display_name
|
330
303
|
|
331
|
-
#
|
304
|
+
# 1P/3P metadata about the player's experience.
|
332
305
|
# Corresponds to the JSON property `experienceInfo`
|
333
306
|
# @return [Google::Apis::GamesManagementV1management::GamesPlayerExperienceInfoResource]
|
334
307
|
attr_accessor :experience_info
|
335
308
|
|
336
|
-
# The friend status of the given player, relative to the requester. This is
|
337
|
-
# unset if the player is not sharing their friends list with the game.
|
338
|
-
# Corresponds to the JSON property `friendStatus`
|
339
|
-
# @return [String]
|
340
|
-
attr_accessor :friend_status
|
341
|
-
|
342
309
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
343
|
-
# string gamesManagement#player
|
310
|
+
# string `gamesManagement#player`.
|
344
311
|
# Corresponds to the JSON property `kind`
|
345
312
|
# @return [String]
|
346
313
|
attr_accessor :kind
|
347
314
|
|
348
|
-
# This is a JSON template for metadata about a player playing a game with the
|
349
|
-
# currently authenticated user.
|
350
|
-
# Corresponds to the JSON property `lastPlayedWith`
|
351
|
-
# @return [Google::Apis::GamesManagementV1management::GamesPlayedResource]
|
352
|
-
attr_accessor :last_played_with
|
353
|
-
|
354
315
|
# An object representation of the individual components of the player's name.
|
355
316
|
# For some players, these fields may not be present.
|
356
317
|
# Corresponds to the JSON property `name`
|
@@ -358,9 +319,9 @@ module Google
|
|
358
319
|
attr_accessor :name
|
359
320
|
|
360
321
|
# The player ID that was used for this player the first time they signed into
|
361
|
-
# the game in question. This is only populated for calls to player.get for
|
362
|
-
# requesting player, only if the player ID has subsequently changed, and
|
363
|
-
# clients that support remapping player IDs.
|
322
|
+
# the game in question. This is only populated for calls to player.get for
|
323
|
+
# the requesting player, only if the player ID has subsequently changed, and
|
324
|
+
# only to clients that support remapping player IDs.
|
364
325
|
# Corresponds to the JSON property `originalPlayerId`
|
365
326
|
# @return [String]
|
366
327
|
attr_accessor :original_player_id
|
@@ -370,7 +331,7 @@ module Google
|
|
370
331
|
# @return [String]
|
371
332
|
attr_accessor :player_id
|
372
333
|
|
373
|
-
#
|
334
|
+
# Profile settings
|
374
335
|
# Corresponds to the JSON property `profileSettings`
|
375
336
|
# @return [Google::Apis::GamesManagementV1management::ProfileSettings]
|
376
337
|
attr_accessor :profile_settings
|
@@ -391,9 +352,7 @@ module Google
|
|
391
352
|
@banner_url_portrait = args[:banner_url_portrait] if args.key?(:banner_url_portrait)
|
392
353
|
@display_name = args[:display_name] if args.key?(:display_name)
|
393
354
|
@experience_info = args[:experience_info] if args.key?(:experience_info)
|
394
|
-
@friend_status = args[:friend_status] if args.key?(:friend_status)
|
395
355
|
@kind = args[:kind] if args.key?(:kind)
|
396
|
-
@last_played_with = args[:last_played_with] if args.key?(:last_played_with)
|
397
356
|
@name = args[:name] if args.key?(:name)
|
398
357
|
@original_player_id = args[:original_player_id] if args.key?(:original_player_id)
|
399
358
|
@player_id = args[:player_id] if args.key?(:player_id)
|
@@ -406,12 +365,14 @@ module Google
|
|
406
365
|
class Name
|
407
366
|
include Google::Apis::Core::Hashable
|
408
367
|
|
409
|
-
# The family name of this player. In some places, this is known as the last
|
368
|
+
# The family name of this player. In some places, this is known as the last
|
369
|
+
# name.
|
410
370
|
# Corresponds to the JSON property `familyName`
|
411
371
|
# @return [String]
|
412
372
|
attr_accessor :family_name
|
413
373
|
|
414
|
-
# The given name of this player. In some places, this is known as the first
|
374
|
+
# The given name of this player. In some places, this is known as the first
|
375
|
+
# name.
|
415
376
|
# Corresponds to the JSON property `givenName`
|
416
377
|
# @return [String]
|
417
378
|
attr_accessor :given_name
|
@@ -428,12 +389,12 @@ module Google
|
|
428
389
|
end
|
429
390
|
end
|
430
391
|
|
431
|
-
#
|
392
|
+
# A list of leaderboard reset resources.
|
432
393
|
class PlayerScoreResetAllResponse
|
433
394
|
include Google::Apis::Core::Hashable
|
434
395
|
|
435
396
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
436
|
-
# string gamesManagement#
|
397
|
+
# string `gamesManagement#playerScoreResetAllResponse`.
|
437
398
|
# Corresponds to the JSON property `kind`
|
438
399
|
# @return [String]
|
439
400
|
attr_accessor :kind
|
@@ -454,7 +415,7 @@ module Google
|
|
454
415
|
end
|
455
416
|
end
|
456
417
|
|
457
|
-
#
|
418
|
+
# A list of reset leaderboard entry resources.
|
458
419
|
class PlayerScoreResetResponse
|
459
420
|
include Google::Apis::Core::Hashable
|
460
421
|
|
@@ -464,16 +425,15 @@ module Google
|
|
464
425
|
attr_accessor :definition_id
|
465
426
|
|
466
427
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
467
|
-
# string gamesManagement#playerScoreResetResponse
|
428
|
+
# string `gamesManagement#playerScoreResetResponse`.
|
468
429
|
# Corresponds to the JSON property `kind`
|
469
430
|
# @return [String]
|
470
431
|
attr_accessor :kind
|
471
432
|
|
472
|
-
# The time spans of the updated score.
|
473
|
-
#
|
474
|
-
#
|
475
|
-
#
|
476
|
-
# - "DAILY" - The score is a daily score.
|
433
|
+
# The time spans of the updated score. <br/>Possible values are: <ul>
|
434
|
+
# <li>"`ALL_TIME`" - The score is an all-time score.</li>
|
435
|
+
# <li>"`WEEKLY`" - The score is a weekly score.</li>
|
436
|
+
# <li>"`DAILY`" - The score is a daily score.</li> </ul>
|
477
437
|
# Corresponds to the JSON property `resetScoreTimeSpans`
|
478
438
|
# @return [Array<String>]
|
479
439
|
attr_accessor :reset_score_time_spans
|
@@ -490,12 +450,12 @@ module Google
|
|
490
450
|
end
|
491
451
|
end
|
492
452
|
|
493
|
-
#
|
453
|
+
# Profile settings
|
494
454
|
class ProfileSettings
|
495
455
|
include Google::Apis::Core::Hashable
|
496
456
|
|
497
457
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
498
|
-
# string gamesManagement#profileSettings
|
458
|
+
# string `gamesManagement#profileSettings`.
|
499
459
|
# Corresponds to the JSON property `kind`
|
500
460
|
# @return [String]
|
501
461
|
attr_accessor :kind
|
@@ -517,12 +477,12 @@ module Google
|
|
517
477
|
end
|
518
478
|
end
|
519
479
|
|
520
|
-
#
|
480
|
+
#
|
521
481
|
class ScoresResetMultipleForAllRequest
|
522
482
|
include Google::Apis::Core::Hashable
|
523
483
|
|
524
484
|
# Uniquely identifies the type of this resource. Value is always the fixed
|
525
|
-
# string gamesManagement#scoresResetMultipleForAllRequest
|
485
|
+
# string `gamesManagement#scoresResetMultipleForAllRequest`.
|
526
486
|
# Corresponds to the JSON property `kind`
|
527
487
|
# @return [String]
|
528
488
|
attr_accessor :kind
|