google-apis-gameservices_v1 0.11.0 → 0.15.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 +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/gameservices_v1/classes.rb +64 -72
- data/lib/google/apis/gameservices_v1/gem_version.rb +3 -3
- data/lib/google/apis/gameservices_v1/representations.rb +0 -2
- data/lib/google/apis/gameservices_v1/service.rb +10 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd4d061f681336d764cf50dfaab1756fb6dedbfb0be40ab698206fd8c1bcecb8
|
4
|
+
data.tar.gz: 2cf5a07762e0221375258170cad3b45304bf84e3b006a7e1fdfc98833203e8c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247bf142a1674bebc2111b882765b288f2d06a19716e7ae1e0aeceb777d1f7477dfeb0b0a7fb9455c8db21ebee0b0d14bd51a171dbfe2338e120b9621a98985b
|
7
|
+
data.tar.gz: 7ca2feda6f94525f2bac032631b98fec11058ee5985d60da033452bac88b9d68e3d493217bd03722bdb621794923221bbc24f647de3b1e62b2cea95874e61e1a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-gameservices_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2022-02-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220126
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.14.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.13.0 (2021-11-13)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211103
|
15
|
+
|
16
|
+
### v0.12.0 (2021-10-31)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211021
|
19
|
+
|
3
20
|
### v0.11.0 (2021-10-20)
|
4
21
|
|
5
22
|
* Unspecified changes
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/gameservices_v1"
|
|
51
51
|
client = Google::Apis::GameservicesV1::GameServicesService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -45,11 +45,6 @@ module Google
|
|
45
45
|
# @return [Array<Google::Apis::GameservicesV1::AuditLogConfig>]
|
46
46
|
attr_accessor :audit_log_configs
|
47
47
|
|
48
|
-
#
|
49
|
-
# Corresponds to the JSON property `exemptedMembers`
|
50
|
-
# @return [Array<String>]
|
51
|
-
attr_accessor :exempted_members
|
52
|
-
|
53
48
|
# Specifies a service that will be enabled for audit logging. For example, `
|
54
49
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
55
50
|
# value that covers all services.
|
@@ -64,7 +59,6 @@ module Google
|
|
64
59
|
# Update properties of this object
|
65
60
|
def update!(**args)
|
66
61
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
67
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
68
62
|
@service = args[:service] if args.key?(:service)
|
69
63
|
end
|
70
64
|
end
|
@@ -125,7 +119,7 @@ module Google
|
|
125
119
|
end
|
126
120
|
end
|
127
121
|
|
128
|
-
# Associates `members
|
122
|
+
# Associates `members`, or principals, with a `role`.
|
129
123
|
class Binding
|
130
124
|
include Google::Apis::Core::Hashable
|
131
125
|
|
@@ -153,7 +147,7 @@ module Google
|
|
153
147
|
# @return [Google::Apis::GameservicesV1::Expr]
|
154
148
|
attr_accessor :condition
|
155
149
|
|
156
|
-
# Specifies the
|
150
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
157
151
|
# members` can have the following values: * `allUsers`: A special identifier
|
158
152
|
# that represents anyone who is on the internet; with or without a Google
|
159
153
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -183,8 +177,8 @@ module Google
|
|
183
177
|
# @return [Array<String>]
|
184
178
|
attr_accessor :members
|
185
179
|
|
186
|
-
# Role that is assigned to `members
|
187
|
-
#
|
180
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
181
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
188
182
|
# Corresponds to the JSON property `role`
|
189
183
|
# @return [String]
|
190
184
|
attr_accessor :role
|
@@ -1488,31 +1482,31 @@ module Google
|
|
1488
1482
|
|
1489
1483
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1490
1484
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1491
|
-
# A `binding` binds one or more `members
|
1492
|
-
# user accounts, service accounts, Google groups, and domains (
|
1493
|
-
# A `role` is a named list of permissions; each `role` can be
|
1494
|
-
# role or a user-created custom role. For some types of Google
|
1495
|
-
# a `binding` can also specify a `condition`, which is a
|
1496
|
-
# allows access to a resource only if the expression
|
1497
|
-
# condition can add constraints based on attributes of
|
1498
|
-
# or both. To learn which resources support
|
1499
|
-
# see the [IAM documentation](https://cloud.
|
1500
|
-
# resource-policies). **JSON example:** ` "
|
1501
|
-
# resourcemanager.organizationAdmin", "members": [
|
1502
|
-
# group:admins@example.com", "domain:google.com", "
|
1503
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1504
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1505
|
-
# title": "expirable access", "description": "Does not grant
|
1506
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1507
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1508
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1509
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1510
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1511
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1512
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1513
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1514
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1515
|
-
# google.com/iam/docs/).
|
1485
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1486
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1487
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1488
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1489
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1490
|
+
# logical expression that allows access to a resource only if the expression
|
1491
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1492
|
+
# the request, the resource, or both. To learn which resources support
|
1493
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1494
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1495
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1496
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1497
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1498
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1499
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1500
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1501
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1502
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1503
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1504
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1505
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1506
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1507
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1508
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1509
|
+
# cloud.google.com/iam/docs/).
|
1516
1510
|
class Policy
|
1517
1511
|
include Google::Apis::Core::Hashable
|
1518
1512
|
|
@@ -1521,9 +1515,14 @@ module Google
|
|
1521
1515
|
# @return [Array<Google::Apis::GameservicesV1::AuditConfig>]
|
1522
1516
|
attr_accessor :audit_configs
|
1523
1517
|
|
1524
|
-
# Associates a list of `members
|
1525
|
-
# condition` that determines how and when the `bindings` are applied.
|
1526
|
-
# the `bindings` must contain at least one
|
1518
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1519
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1520
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1521
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1522
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1523
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1524
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1525
|
+
# principals to the `bindings` in the `Policy`.
|
1527
1526
|
# Corresponds to the JSON property `bindings`
|
1528
1527
|
# @return [Array<Google::Apis::GameservicesV1::Binding>]
|
1529
1528
|
attr_accessor :bindings
|
@@ -1544,12 +1543,6 @@ module Google
|
|
1544
1543
|
# @return [String]
|
1545
1544
|
attr_accessor :etag
|
1546
1545
|
|
1547
|
-
#
|
1548
|
-
# Corresponds to the JSON property `iamOwned`
|
1549
|
-
# @return [Boolean]
|
1550
|
-
attr_accessor :iam_owned
|
1551
|
-
alias_method :iam_owned?, :iam_owned
|
1552
|
-
|
1553
1546
|
# If more than one rule is specified, the rules are applied in the following
|
1554
1547
|
# manner: - All matching LOG rules are always applied. - If any DENY/
|
1555
1548
|
# DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
|
@@ -1589,7 +1582,6 @@ module Google
|
|
1589
1582
|
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
1590
1583
|
@bindings = args[:bindings] if args.key?(:bindings)
|
1591
1584
|
@etag = args[:etag] if args.key?(:etag)
|
1592
|
-
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
1593
1585
|
@rules = args[:rules] if args.key?(:rules)
|
1594
1586
|
@version = args[:version] if args.key?(:version)
|
1595
1587
|
end
|
@@ -1918,9 +1910,9 @@ module Google
|
|
1918
1910
|
# specified by start_time and end_time. If the scheduled event's timespan is
|
1919
1911
|
# larger than the cron_spec + cron_job_duration, the event will be recurring. If
|
1920
1912
|
# only cron_spec + cron_job_duration are specified, the event is effective
|
1921
|
-
# starting at the local time specified by cron_spec, and is recurring.
|
1913
|
+
# starting at the local time specified by cron_spec, and is recurring. ```
|
1922
1914
|
# start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
|
1923
|
-
# cron job: cron spec start time + duration
|
1915
|
+
# cron job: cron spec start time + duration ```
|
1924
1916
|
class Schedule
|
1925
1917
|
include Google::Apis::Core::Hashable
|
1926
1918
|
|
@@ -1965,31 +1957,31 @@ module Google
|
|
1965
1957
|
|
1966
1958
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1967
1959
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1968
|
-
# A `binding` binds one or more `members
|
1969
|
-
# user accounts, service accounts, Google groups, and domains (
|
1970
|
-
# A `role` is a named list of permissions; each `role` can be
|
1971
|
-
# role or a user-created custom role. For some types of Google
|
1972
|
-
# a `binding` can also specify a `condition`, which is a
|
1973
|
-
# allows access to a resource only if the expression
|
1974
|
-
# condition can add constraints based on attributes of
|
1975
|
-
# or both. To learn which resources support
|
1976
|
-
# see the [IAM documentation](https://cloud.
|
1977
|
-
# resource-policies). **JSON example:** ` "
|
1978
|
-
# resourcemanager.organizationAdmin", "members": [
|
1979
|
-
# group:admins@example.com", "domain:google.com", "
|
1980
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1981
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1982
|
-
# title": "expirable access", "description": "Does not grant
|
1983
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1984
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1985
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1986
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1987
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1988
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1989
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1990
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1991
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1992
|
-
# google.com/iam/docs/).
|
1960
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1961
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1962
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1963
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1964
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1965
|
+
# logical expression that allows access to a resource only if the expression
|
1966
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1967
|
+
# the request, the resource, or both. To learn which resources support
|
1968
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1969
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1970
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1971
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1972
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1973
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1974
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1975
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1976
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1977
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1978
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1979
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1980
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1981
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1982
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1983
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1984
|
+
# cloud.google.com/iam/docs/).
|
1993
1985
|
# Corresponds to the JSON property `policy`
|
1994
1986
|
# @return [Google::Apis::GameservicesV1::Policy]
|
1995
1987
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GameservicesV1
|
18
18
|
# Version of the google-apis-gameservices_v1 gem
|
19
|
-
GEM_VERSION = "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.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220126"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -393,7 +393,6 @@ module Google
|
|
393
393
|
class Representation < Google::Apis::Core::JsonRepresentation
|
394
394
|
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::GameservicesV1::AuditLogConfig, decorator: Google::Apis::GameservicesV1::AuditLogConfig::Representation
|
395
395
|
|
396
|
-
collection :exempted_members, as: 'exemptedMembers'
|
397
396
|
property :service, as: 'service'
|
398
397
|
end
|
399
398
|
end
|
@@ -792,7 +791,6 @@ module Google
|
|
792
791
|
collection :bindings, as: 'bindings', class: Google::Apis::GameservicesV1::Binding, decorator: Google::Apis::GameservicesV1::Binding::Representation
|
793
792
|
|
794
793
|
property :etag, :base64 => true, as: 'etag'
|
795
|
-
property :iam_owned, as: 'iamOwned'
|
796
794
|
collection :rules, as: 'rules', class: Google::Apis::GameservicesV1::Rule, decorator: Google::Apis::GameservicesV1::Rule::Representation
|
797
795
|
|
798
796
|
property :version, as: 'version'
|
@@ -268,13 +268,16 @@ module Google
|
|
268
268
|
# REQUIRED: The resource for which the policy is being requested. See the
|
269
269
|
# operation documentation for the appropriate value for this field.
|
270
270
|
# @param [Fixnum] options_requested_policy_version
|
271
|
-
# Optional. The policy
|
272
|
-
# 3. Requests specifying an invalid value will be
|
273
|
-
# policies with any conditional bindings must
|
274
|
-
#
|
275
|
-
# field unset.
|
276
|
-
#
|
277
|
-
#
|
271
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
272
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
273
|
+
# rejected. Requests for policies with any conditional role bindings must
|
274
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
275
|
+
# valid value or leave the field unset. The policy in the response might use the
|
276
|
+
# policy version that you specified, or it might use a lower policy version. For
|
277
|
+
# example, if you specify version 3, but the policy has no conditional role
|
278
|
+
# bindings, the response uses version 1. To learn which resources support
|
279
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
280
|
+
# google.com/iam/help/conditions/resource-policies).
|
278
281
|
# @param [String] fields
|
279
282
|
# Selector specifying which fields to include in a partial response.
|
280
283
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gameservices_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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:
|
11
|
+
date: 2022-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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-gameservices_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gameservices_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gameservices_v1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gameservices_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.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Game Services API V1
|