google-apis-gameservices_v1 0.7.0 → 0.11.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: 8ec281f0e659c230f46a344af3d5ec170dc7b6f1d052c651f0e3ba5a77426684
4
- data.tar.gz: 97cec5325cd933c8ca78123f5f77e233ea789b57518857ee062d9339d8ced5eb
3
+ metadata.gz: 4922c28769cbccb5bfecf948f5adbaeaba2f8fc9a5486311ad7077bb47c75fce
4
+ data.tar.gz: b8248984bc54b46977a4061e5a59fd6ebc29e206a338b83eab4bd3dca89c857c
5
5
  SHA512:
6
- metadata.gz: 2057a0f076a1f3619a6bdcc72bb9103b7e77de5c59d46fc997a03009f4a2941c393d8b6da2a6044b966a793fce6259e9a38efdaa2ff064695d0c223d161452ec
7
- data.tar.gz: 19d9e922302d833086a5bf93196b91ea90357da5b9dc2bff335ebce84eb115cfe676707f1609d2b85b61a9aa031de42868283cd9b52aef546416873847afa520
6
+ metadata.gz: 07aa1e45c8825568e4f47886bb9fab0ab578c140ea88307d3dc4a9f54b4b03ac519492c035561e825f3400a0ee5f5a192d21ca86151793829acecd72c69841ad
7
+ data.tar.gz: '050109ac1917413f943b953b450a469f2d9391b7adea1aba5a8a1398bf078ae9bde453e940ae6eb221b3c397305fb79ecdbe99b7448b9a7f6522ae8c91c2d212'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-gameservices_v1
2
2
 
3
+ ### v0.11.0 (2021-10-20)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.10.0 (2021-09-27)
8
+
9
+ * Regenerated from discovery document revision 20210915
10
+
11
+ ### v0.9.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210810
14
+
15
+ ### v0.8.0 (2021-07-14)
16
+
17
+ * Regenerated from discovery document revision 20210707
18
+
3
19
  ### v0.7.0 (2021-06-30)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Gameservices service in particular.)
67
67
 
@@ -672,6 +672,11 @@ module Google
672
672
  class GameServerCluster
673
673
  include Google::Apis::Core::Hashable
674
674
 
675
+ # The state of the Kubernetes cluster.
676
+ # Corresponds to the JSON property `clusterState`
677
+ # @return [Google::Apis::GameservicesV1::KubernetesClusterState]
678
+ attr_accessor :cluster_state
679
+
675
680
  # The game server cluster connection information.
676
681
  # Corresponds to the JSON property `connectionInfo`
677
682
  # @return [Google::Apis::GameservicesV1::GameServerClusterConnectionInfo]
@@ -717,6 +722,7 @@ module Google
717
722
 
718
723
  # Update properties of this object
719
724
  def update!(**args)
725
+ @cluster_state = args[:cluster_state] if args.key?(:cluster_state)
720
726
  @connection_info = args[:connection_info] if args.key?(:connection_info)
721
727
  @create_time = args[:create_time] if args.key?(:create_time)
722
728
  @description = args[:description] if args.key?(:description)
@@ -971,6 +977,61 @@ module Google
971
977
  end
972
978
  end
973
979
 
980
+ # The state of the Kubernetes cluster.
981
+ class KubernetesClusterState
982
+ include Google::Apis::Core::Hashable
983
+
984
+ # Output only. The version of Agones currently installed in the registered
985
+ # Kubernetes cluster.
986
+ # Corresponds to the JSON property `agonesVersionInstalled`
987
+ # @return [String]
988
+ attr_accessor :agones_version_installed
989
+
990
+ # Output only. The version of Agones that is targeted to be installed in the
991
+ # cluster.
992
+ # Corresponds to the JSON property `agonesVersionTargeted`
993
+ # @return [String]
994
+ attr_accessor :agones_version_targeted
995
+
996
+ # Output only. The state for the installed versions of Agones/Kubernetes.
997
+ # Corresponds to the JSON property `installationState`
998
+ # @return [String]
999
+ attr_accessor :installation_state
1000
+
1001
+ # Output only. The version of Kubernetes that is currently used in the
1002
+ # registered Kubernetes cluster (as detected by the Cloud Game Servers service).
1003
+ # Corresponds to the JSON property `kubernetesVersionInstalled`
1004
+ # @return [String]
1005
+ attr_accessor :kubernetes_version_installed
1006
+
1007
+ # Output only. The cloud provider type reported by the first node's providerID
1008
+ # in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that
1009
+ # support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
1010
+ # Corresponds to the JSON property `provider`
1011
+ # @return [String]
1012
+ attr_accessor :provider
1013
+
1014
+ # Output only. The detailed error message for the installed versions of Agones/
1015
+ # Kubernetes.
1016
+ # Corresponds to the JSON property `versionInstalledErrorMessage`
1017
+ # @return [String]
1018
+ attr_accessor :version_installed_error_message
1019
+
1020
+ def initialize(**args)
1021
+ update!(**args)
1022
+ end
1023
+
1024
+ # Update properties of this object
1025
+ def update!(**args)
1026
+ @agones_version_installed = args[:agones_version_installed] if args.key?(:agones_version_installed)
1027
+ @agones_version_targeted = args[:agones_version_targeted] if args.key?(:agones_version_targeted)
1028
+ @installation_state = args[:installation_state] if args.key?(:installation_state)
1029
+ @kubernetes_version_installed = args[:kubernetes_version_installed] if args.key?(:kubernetes_version_installed)
1030
+ @provider = args[:provider] if args.key?(:provider)
1031
+ @version_installed_error_message = args[:version_installed_error_message] if args.key?(:version_installed_error_message)
1032
+ end
1033
+ end
1034
+
974
1035
  # The label selector, used to group labels on the resources.
975
1036
  class LabelSelector
976
1037
  include Google::Apis::Core::Hashable
@@ -1449,7 +1510,7 @@ module Google
1449
1510
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1450
1511
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1451
1512
  # description: Does not grant access after Sep 2020 expression: request.time <
1452
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1513
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1453
1514
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1454
1515
  # google.com/iam/docs/).
1455
1516
  class Policy
@@ -1538,6 +1599,11 @@ module Google
1538
1599
  class PreviewCreateGameServerClusterResponse
1539
1600
  include Google::Apis::Core::Hashable
1540
1601
 
1602
+ # The state of the Kubernetes cluster.
1603
+ # Corresponds to the JSON property `clusterState`
1604
+ # @return [Google::Apis::GameservicesV1::KubernetesClusterState]
1605
+ attr_accessor :cluster_state
1606
+
1541
1607
  # The ETag of the game server cluster.
1542
1608
  # Corresponds to the JSON property `etag`
1543
1609
  # @return [String]
@@ -1554,6 +1620,7 @@ module Google
1554
1620
 
1555
1621
  # Update properties of this object
1556
1622
  def update!(**args)
1623
+ @cluster_state = args[:cluster_state] if args.key?(:cluster_state)
1557
1624
  @etag = args[:etag] if args.key?(:etag)
1558
1625
  @target_state = args[:target_state] if args.key?(:target_state)
1559
1626
  end
@@ -1770,8 +1837,8 @@ module Google
1770
1837
  # @return [Array<String>]
1771
1838
  attr_accessor :in
1772
1839
 
1773
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
1774
- # that match the LOG action.
1840
+ # The config returned to callers of CheckPolicy for any entries that match the
1841
+ # LOG action.
1775
1842
  # Corresponds to the JSON property `logConfig`
1776
1843
  # @return [Array<Google::Apis::GameservicesV1::LogConfig>]
1777
1844
  attr_accessor :log_config
@@ -1920,7 +1987,7 @@ module Google
1920
1987
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1921
1988
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1922
1989
  # description: Does not grant access after Sep 2020 expression: request.time <
1923
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1990
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1924
1991
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1925
1992
  # google.com/iam/docs/).
1926
1993
  # Corresponds to the JSON property `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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210511"
25
+ REVISION = "20210915"
26
26
  end
27
27
  end
28
28
  end
@@ -184,6 +184,12 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class KubernetesClusterState
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
187
193
  class LabelSelector
188
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
195
 
@@ -563,6 +569,8 @@ module Google
563
569
  class GameServerCluster
564
570
  # @private
565
571
  class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :cluster_state, as: 'clusterState', class: Google::Apis::GameservicesV1::KubernetesClusterState, decorator: Google::Apis::GameservicesV1::KubernetesClusterState::Representation
573
+
566
574
  property :connection_info, as: 'connectionInfo', class: Google::Apis::GameservicesV1::GameServerClusterConnectionInfo, decorator: Google::Apis::GameservicesV1::GameServerClusterConnectionInfo::Representation
567
575
 
568
576
  property :create_time, as: 'createTime'
@@ -639,6 +647,18 @@ module Google
639
647
  end
640
648
  end
641
649
 
650
+ class KubernetesClusterState
651
+ # @private
652
+ class Representation < Google::Apis::Core::JsonRepresentation
653
+ property :agones_version_installed, as: 'agonesVersionInstalled'
654
+ property :agones_version_targeted, as: 'agonesVersionTargeted'
655
+ property :installation_state, as: 'installationState'
656
+ property :kubernetes_version_installed, as: 'kubernetesVersionInstalled'
657
+ property :provider, as: 'provider'
658
+ property :version_installed_error_message, as: 'versionInstalledErrorMessage'
659
+ end
660
+ end
661
+
642
662
  class LabelSelector
643
663
  # @private
644
664
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -782,6 +802,8 @@ module Google
782
802
  class PreviewCreateGameServerClusterResponse
783
803
  # @private
784
804
  class Representation < Google::Apis::Core::JsonRepresentation
805
+ property :cluster_state, as: 'clusterState', class: Google::Apis::GameservicesV1::KubernetesClusterState, decorator: Google::Apis::GameservicesV1::KubernetesClusterState::Representation
806
+
785
807
  property :etag, as: 'etag'
786
808
  property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
787
809
 
@@ -1195,6 +1195,13 @@ module Google
1195
1195
  # Required. The name of the game server cluster to retrieve, in the following
1196
1196
  # form: `projects/`project`/locations/`location`/realms/`realm-id`/
1197
1197
  # gameServerClusters/`cluster``.
1198
+ # @param [String] view
1199
+ # Optional. View for the returned GameServerCluster objects. When `FULL` is
1200
+ # specified, the `cluster_state` field is also returned in the GameServerCluster
1201
+ # object, which includes the state of the referenced Kubernetes cluster such as
1202
+ # versions and provider info. The default/unset value is
1203
+ # GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does not return the
1204
+ # `cluster_state` field.
1198
1205
  # @param [String] fields
1199
1206
  # Selector specifying which fields to include in a partial response.
1200
1207
  # @param [String] quota_user
@@ -1212,11 +1219,12 @@ module Google
1212
1219
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1213
1220
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1214
1221
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1215
- def get_project_location_realm_game_server_cluster(name, fields: nil, quota_user: nil, options: nil, &block)
1222
+ def get_project_location_realm_game_server_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1216
1223
  command = make_simple_command(:get, 'v1/{+name}', options)
1217
1224
  command.response_representation = Google::Apis::GameservicesV1::GameServerCluster::Representation
1218
1225
  command.response_class = Google::Apis::GameservicesV1::GameServerCluster
1219
1226
  command.params['name'] = name unless name.nil?
1227
+ command.query['view'] = view unless view.nil?
1220
1228
  command.query['fields'] = fields unless fields.nil?
1221
1229
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1222
1230
  execute_or_queue_command(command, &block)
@@ -1239,6 +1247,13 @@ module Google
1239
1247
  # @param [String] page_token
1240
1248
  # Optional. The next_page_token value returned from a previous List request, if
1241
1249
  # any.
1250
+ # @param [String] view
1251
+ # Optional. View for the returned GameServerCluster objects. When `FULL` is
1252
+ # specified, the `cluster_state` field is also returned in the GameServerCluster
1253
+ # object, which includes the state of the referenced Kubernetes cluster such as
1254
+ # versions and provider info. The default/unset value is
1255
+ # GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does not return the
1256
+ # `cluster_state` field.
1242
1257
  # @param [String] fields
1243
1258
  # Selector specifying which fields to include in a partial response.
1244
1259
  # @param [String] quota_user
@@ -1256,7 +1271,7 @@ module Google
1256
1271
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1257
1272
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1258
1273
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1259
- def list_project_location_realm_game_server_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1274
+ def list_project_location_realm_game_server_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1260
1275
  command = make_simple_command(:get, 'v1/{+parent}/gameServerClusters', options)
1261
1276
  command.response_representation = Google::Apis::GameservicesV1::ListGameServerClustersResponse::Representation
1262
1277
  command.response_class = Google::Apis::GameservicesV1::ListGameServerClustersResponse
@@ -1265,6 +1280,7 @@ module Google
1265
1280
  command.query['orderBy'] = order_by unless order_by.nil?
1266
1281
  command.query['pageSize'] = page_size unless page_size.nil?
1267
1282
  command.query['pageToken'] = page_token unless page_token.nil?
1283
+ command.query['view'] = view unless view.nil?
1268
1284
  command.query['fields'] = fields unless fields.nil?
1269
1285
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1270
1286
  execute_or_queue_command(command, &block)
@@ -1320,6 +1336,9 @@ module Google
1320
1336
  # Required. The ID of the game server cluster resource to be created.
1321
1337
  # @param [String] preview_time
1322
1338
  # Optional. The target timestamp to compute the preview.
1339
+ # @param [String] view
1340
+ # Optional. This field is deprecated, preview will always return
1341
+ # KubernetesClusterState.
1323
1342
  # @param [String] fields
1324
1343
  # Selector specifying which fields to include in a partial response.
1325
1344
  # @param [String] quota_user
@@ -1337,7 +1356,7 @@ module Google
1337
1356
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1338
1357
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1339
1358
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1340
- def preview_project_location_realm_game_server_cluster_create(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, preview_time: nil, fields: nil, quota_user: nil, options: nil, &block)
1359
+ def preview_project_location_realm_game_server_cluster_create(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, preview_time: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1341
1360
  command = make_simple_command(:post, 'v1/{+parent}/gameServerClusters:previewCreate', options)
1342
1361
  command.request_representation = Google::Apis::GameservicesV1::GameServerCluster::Representation
1343
1362
  command.request_object = game_server_cluster_object
@@ -1346,6 +1365,7 @@ module Google
1346
1365
  command.params['parent'] = parent unless parent.nil?
1347
1366
  command.query['gameServerClusterId'] = game_server_cluster_id unless game_server_cluster_id.nil?
1348
1367
  command.query['previewTime'] = preview_time unless preview_time.nil?
1368
+ command.query['view'] = view unless view.nil?
1349
1369
  command.query['fields'] = fields unless fields.nil?
1350
1370
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1351
1371
  execute_or_queue_command(command, &block)
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
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.7.0
4
+ version: 0.11.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gameservices_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gameservices_v1/v0.7.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gameservices_v1
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.11.0
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: []
65
65
  require_paths: