google-apis-gameservices_v1beta 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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/gameservices_v1beta.rb +1 -1
- data/lib/google/apis/gameservices_v1beta/classes.rb +108 -0
- data/lib/google/apis/gameservices_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/gameservices_v1beta/representations.rb +38 -0
- data/lib/google/apis/gameservices_v1beta/service.rb +30 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ed21a81489e2d07f49decb8b70d7b7be2062912d30abd3e6057e6791c754ca2
|
4
|
+
data.tar.gz: b1a74de33f320e7638217b4a627b77541b683dc75ea24773fd8169ba8c6b0bb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df62fbe5938577156ba10258dd639f85f30a94c1cb2e48b7e2fda3ee5936c4373897c60ec9e92ed6a65103308cd11fac62f14037b52f5b9f1516329a575e05c0
|
7
|
+
data.tar.gz: f654e4bdb7bdd34875d82c9b60ec2af04db5b1527439796cf82c055a29d0057a35749ceb242d0775da16e9ccb8b41aef0644723d45467ce54d7d55976eb669f7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-gameservices_v1beta
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210511
|
6
|
+
|
7
|
+
### v0.5.0 (2021-05-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210429
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210311
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Regenerated using generator version 0.1.2
|
19
|
+
|
20
|
+
### v0.2.0 (2021-01-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210107
|
23
|
+
|
3
24
|
### v0.1.0 (2021-01-07)
|
4
25
|
|
5
26
|
* Regenerated using generator version 0.1.1
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta'
|
31
31
|
|
32
|
-
#
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
@@ -672,6 +672,19 @@ module Google
|
|
672
672
|
class GameServerCluster
|
673
673
|
include Google::Apis::Core::Hashable
|
674
674
|
|
675
|
+
# Optional. The allocation priority assigned to the game server cluster. Game
|
676
|
+
# server clusters receive new game server allocations based on the relative
|
677
|
+
# allocation priorites set for each cluster, if the realm is configured for
|
678
|
+
# multicluster allocation.
|
679
|
+
# Corresponds to the JSON property `allocationPriority`
|
680
|
+
# @return [String]
|
681
|
+
attr_accessor :allocation_priority
|
682
|
+
|
683
|
+
# The state of the Kubernetes cluster.
|
684
|
+
# Corresponds to the JSON property `clusterState`
|
685
|
+
# @return [Google::Apis::GameservicesV1beta::KubernetesClusterState]
|
686
|
+
attr_accessor :cluster_state
|
687
|
+
|
675
688
|
# The game server cluster connection information.
|
676
689
|
# Corresponds to the JSON property `connectionInfo`
|
677
690
|
# @return [Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo]
|
@@ -717,6 +730,8 @@ module Google
|
|
717
730
|
|
718
731
|
# Update properties of this object
|
719
732
|
def update!(**args)
|
733
|
+
@allocation_priority = args[:allocation_priority] if args.key?(:allocation_priority)
|
734
|
+
@cluster_state = args[:cluster_state] if args.key?(:cluster_state)
|
720
735
|
@connection_info = args[:connection_info] if args.key?(:connection_info)
|
721
736
|
@create_time = args[:create_time] if args.key?(:create_time)
|
722
737
|
@description = args[:description] if args.key?(:description)
|
@@ -736,6 +751,12 @@ module Google
|
|
736
751
|
# @return [Google::Apis::GameservicesV1beta::GkeClusterReference]
|
737
752
|
attr_accessor :gke_cluster_reference
|
738
753
|
|
754
|
+
# GkeHubClusterReference represents a reference to a Kubernetes cluster
|
755
|
+
# registered through GKE Hub.
|
756
|
+
# Corresponds to the JSON property `gkeHubClusterReference`
|
757
|
+
# @return [Google::Apis::GameservicesV1beta::GkeHubClusterReference]
|
758
|
+
attr_accessor :gke_hub_cluster_reference
|
759
|
+
|
739
760
|
# Namespace designated on the game server cluster where the Agones game server
|
740
761
|
# instances will be created. Existence of the namespace will be validated during
|
741
762
|
# creation.
|
@@ -750,6 +771,7 @@ module Google
|
|
750
771
|
# Update properties of this object
|
751
772
|
def update!(**args)
|
752
773
|
@gke_cluster_reference = args[:gke_cluster_reference] if args.key?(:gke_cluster_reference)
|
774
|
+
@gke_hub_cluster_reference = args[:gke_hub_cluster_reference] if args.key?(:gke_hub_cluster_reference)
|
753
775
|
@namespace = args[:namespace] if args.key?(:namespace)
|
754
776
|
end
|
755
777
|
end
|
@@ -971,6 +993,86 @@ module Google
|
|
971
993
|
end
|
972
994
|
end
|
973
995
|
|
996
|
+
# GkeHubClusterReference represents a reference to a Kubernetes cluster
|
997
|
+
# registered through GKE Hub.
|
998
|
+
class GkeHubClusterReference
|
999
|
+
include Google::Apis::Core::Hashable
|
1000
|
+
|
1001
|
+
# The full or partial name of a GKE Hub membership, using one of the following
|
1002
|
+
# forms: * `https://gkehub.googleapis.com/v1beta1/projects/`project_id`/
|
1003
|
+
# locations/global/memberships/`membership_id`` * `projects/`project_id`/
|
1004
|
+
# locations/global/memberships/`membership_id`` * ``membership_id`` If project
|
1005
|
+
# is not specified, the project of the GameServerCluster resource is used to
|
1006
|
+
# generate the full name of the GKE Hub membership.
|
1007
|
+
# Corresponds to the JSON property `membership`
|
1008
|
+
# @return [String]
|
1009
|
+
attr_accessor :membership
|
1010
|
+
|
1011
|
+
def initialize(**args)
|
1012
|
+
update!(**args)
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# Update properties of this object
|
1016
|
+
def update!(**args)
|
1017
|
+
@membership = args[:membership] if args.key?(:membership)
|
1018
|
+
end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# The state of the Kubernetes cluster.
|
1022
|
+
class KubernetesClusterState
|
1023
|
+
include Google::Apis::Core::Hashable
|
1024
|
+
|
1025
|
+
# Output only. The version of Agones currently installed in the registered
|
1026
|
+
# Kubernetes cluster.
|
1027
|
+
# Corresponds to the JSON property `agonesVersionInstalled`
|
1028
|
+
# @return [String]
|
1029
|
+
attr_accessor :agones_version_installed
|
1030
|
+
|
1031
|
+
# Output only. The version of Agones that is targeted to be installed in the
|
1032
|
+
# cluster.
|
1033
|
+
# Corresponds to the JSON property `agonesVersionTargeted`
|
1034
|
+
# @return [String]
|
1035
|
+
attr_accessor :agones_version_targeted
|
1036
|
+
|
1037
|
+
# Output only. The state for the installed versions of Agones/Kubernetes.
|
1038
|
+
# Corresponds to the JSON property `installationState`
|
1039
|
+
# @return [String]
|
1040
|
+
attr_accessor :installation_state
|
1041
|
+
|
1042
|
+
# Output only. The version of Kubernetes that is currently used in the
|
1043
|
+
# registered Kubernetes cluster (as detected by the Cloud Game Servers service).
|
1044
|
+
# Corresponds to the JSON property `kubernetesVersionInstalled`
|
1045
|
+
# @return [String]
|
1046
|
+
attr_accessor :kubernetes_version_installed
|
1047
|
+
|
1048
|
+
# Output only. The cloud provider type reported by the first node's providerID
|
1049
|
+
# in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that
|
1050
|
+
# support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
|
1051
|
+
# Corresponds to the JSON property `provider`
|
1052
|
+
# @return [String]
|
1053
|
+
attr_accessor :provider
|
1054
|
+
|
1055
|
+
# Output only. The detailed error message for the installed versions of Agones/
|
1056
|
+
# Kubernetes.
|
1057
|
+
# Corresponds to the JSON property `versionInstalledErrorMessage`
|
1058
|
+
# @return [String]
|
1059
|
+
attr_accessor :version_installed_error_message
|
1060
|
+
|
1061
|
+
def initialize(**args)
|
1062
|
+
update!(**args)
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
# Update properties of this object
|
1066
|
+
def update!(**args)
|
1067
|
+
@agones_version_installed = args[:agones_version_installed] if args.key?(:agones_version_installed)
|
1068
|
+
@agones_version_targeted = args[:agones_version_targeted] if args.key?(:agones_version_targeted)
|
1069
|
+
@installation_state = args[:installation_state] if args.key?(:installation_state)
|
1070
|
+
@kubernetes_version_installed = args[:kubernetes_version_installed] if args.key?(:kubernetes_version_installed)
|
1071
|
+
@provider = args[:provider] if args.key?(:provider)
|
1072
|
+
@version_installed_error_message = args[:version_installed_error_message] if args.key?(:version_installed_error_message)
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
974
1076
|
# The label selector, used to group labels on the resources.
|
975
1077
|
class LabelSelector
|
976
1078
|
include Google::Apis::Core::Hashable
|
@@ -1538,6 +1640,11 @@ module Google
|
|
1538
1640
|
class PreviewCreateGameServerClusterResponse
|
1539
1641
|
include Google::Apis::Core::Hashable
|
1540
1642
|
|
1643
|
+
# The state of the Kubernetes cluster.
|
1644
|
+
# Corresponds to the JSON property `clusterState`
|
1645
|
+
# @return [Google::Apis::GameservicesV1beta::KubernetesClusterState]
|
1646
|
+
attr_accessor :cluster_state
|
1647
|
+
|
1541
1648
|
# The ETag of the game server cluster.
|
1542
1649
|
# Corresponds to the JSON property `etag`
|
1543
1650
|
# @return [String]
|
@@ -1554,6 +1661,7 @@ module Google
|
|
1554
1661
|
|
1555
1662
|
# Update properties of this object
|
1556
1663
|
def update!(**args)
|
1664
|
+
@cluster_state = args[:cluster_state] if args.key?(:cluster_state)
|
1557
1665
|
@etag = args[:etag] if args.key?(:etag)
|
1558
1666
|
@target_state = args[:target_state] if args.key?(:target_state)
|
1559
1667
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module GameservicesV1beta
|
18
18
|
# Version of the google-apis-gameservices_v1beta gem
|
19
|
-
GEM_VERSION = "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.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210511"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,18 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class GkeHubClusterReference
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class KubernetesClusterState
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
187
199
|
class LabelSelector
|
188
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
201
|
|
@@ -563,6 +575,9 @@ module Google
|
|
563
575
|
class GameServerCluster
|
564
576
|
# @private
|
565
577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
578
|
+
property :allocation_priority, as: 'allocationPriority'
|
579
|
+
property :cluster_state, as: 'clusterState', class: Google::Apis::GameservicesV1beta::KubernetesClusterState, decorator: Google::Apis::GameservicesV1beta::KubernetesClusterState::Representation
|
580
|
+
|
566
581
|
property :connection_info, as: 'connectionInfo', class: Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo, decorator: Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo::Representation
|
567
582
|
|
568
583
|
property :create_time, as: 'createTime'
|
@@ -579,6 +594,8 @@ module Google
|
|
579
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
580
595
|
property :gke_cluster_reference, as: 'gkeClusterReference', class: Google::Apis::GameservicesV1beta::GkeClusterReference, decorator: Google::Apis::GameservicesV1beta::GkeClusterReference::Representation
|
581
596
|
|
597
|
+
property :gke_hub_cluster_reference, as: 'gkeHubClusterReference', class: Google::Apis::GameservicesV1beta::GkeHubClusterReference, decorator: Google::Apis::GameservicesV1beta::GkeHubClusterReference::Representation
|
598
|
+
|
582
599
|
property :namespace, as: 'namespace'
|
583
600
|
end
|
584
601
|
end
|
@@ -639,6 +656,25 @@ module Google
|
|
639
656
|
end
|
640
657
|
end
|
641
658
|
|
659
|
+
class GkeHubClusterReference
|
660
|
+
# @private
|
661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
662
|
+
property :membership, as: 'membership'
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
class KubernetesClusterState
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
property :agones_version_installed, as: 'agonesVersionInstalled'
|
670
|
+
property :agones_version_targeted, as: 'agonesVersionTargeted'
|
671
|
+
property :installation_state, as: 'installationState'
|
672
|
+
property :kubernetes_version_installed, as: 'kubernetesVersionInstalled'
|
673
|
+
property :provider, as: 'provider'
|
674
|
+
property :version_installed_error_message, as: 'versionInstalledErrorMessage'
|
675
|
+
end
|
676
|
+
end
|
677
|
+
|
642
678
|
class LabelSelector
|
643
679
|
# @private
|
644
680
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -782,6 +818,8 @@ module Google
|
|
782
818
|
class PreviewCreateGameServerClusterResponse
|
783
819
|
# @private
|
784
820
|
class Representation < Google::Apis::Core::JsonRepresentation
|
821
|
+
property :cluster_state, as: 'clusterState', class: Google::Apis::GameservicesV1beta::KubernetesClusterState, decorator: Google::Apis::GameservicesV1beta::KubernetesClusterState::Representation
|
822
|
+
|
785
823
|
property :etag, as: 'etag'
|
786
824
|
property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1beta::TargetState, decorator: Google::Apis::GameservicesV1beta::TargetState::Representation
|
787
825
|
|
@@ -83,13 +83,17 @@ module Google
|
|
83
83
|
# @param [String] name
|
84
84
|
# The resource that owns the locations collection, if applicable.
|
85
85
|
# @param [String] filter
|
86
|
-
#
|
86
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
87
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
88
|
+
# AIP-160](https://google.aip.dev/160).
|
87
89
|
# @param [Boolean] include_unrevealed_locations
|
88
90
|
# If true, the returned list will include locations which are not yet revealed.
|
89
91
|
# @param [Fixnum] page_size
|
90
|
-
# The
|
92
|
+
# The maximum number of results to return. If not set, the service selects a
|
93
|
+
# default.
|
91
94
|
# @param [String] page_token
|
92
|
-
#
|
95
|
+
# A page token received from the `next_page_token` field in the response. Send
|
96
|
+
# that page token to receive the subsequent page.
|
93
97
|
# @param [String] fields
|
94
98
|
# Selector specifying which fields to include in a partial response.
|
95
99
|
# @param [String] quota_user
|
@@ -1191,6 +1195,13 @@ module Google
|
|
1191
1195
|
# Required. The name of the game server cluster to retrieve, in the following
|
1192
1196
|
# form: `projects/`project`/locations/`location`/realms/`realm-id`/
|
1193
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.
|
1194
1205
|
# @param [String] fields
|
1195
1206
|
# Selector specifying which fields to include in a partial response.
|
1196
1207
|
# @param [String] quota_user
|
@@ -1208,11 +1219,12 @@ module Google
|
|
1208
1219
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1209
1220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1210
1221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1211
|
-
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)
|
1212
1223
|
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
1213
1224
|
command.response_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation
|
1214
1225
|
command.response_class = Google::Apis::GameservicesV1beta::GameServerCluster
|
1215
1226
|
command.params['name'] = name unless name.nil?
|
1227
|
+
command.query['view'] = view unless view.nil?
|
1216
1228
|
command.query['fields'] = fields unless fields.nil?
|
1217
1229
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1218
1230
|
execute_or_queue_command(command, &block)
|
@@ -1235,6 +1247,13 @@ module Google
|
|
1235
1247
|
# @param [String] page_token
|
1236
1248
|
# Optional. The next_page_token value returned from a previous List request, if
|
1237
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.
|
1238
1257
|
# @param [String] fields
|
1239
1258
|
# Selector specifying which fields to include in a partial response.
|
1240
1259
|
# @param [String] quota_user
|
@@ -1252,7 +1271,7 @@ module Google
|
|
1252
1271
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1253
1272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1254
1273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1255
|
-
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)
|
1256
1275
|
command = make_simple_command(:get, 'v1beta/{+parent}/gameServerClusters', options)
|
1257
1276
|
command.response_representation = Google::Apis::GameservicesV1beta::ListGameServerClustersResponse::Representation
|
1258
1277
|
command.response_class = Google::Apis::GameservicesV1beta::ListGameServerClustersResponse
|
@@ -1261,6 +1280,7 @@ module Google
|
|
1261
1280
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1262
1281
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1263
1282
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1283
|
+
command.query['view'] = view unless view.nil?
|
1264
1284
|
command.query['fields'] = fields unless fields.nil?
|
1265
1285
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1266
1286
|
execute_or_queue_command(command, &block)
|
@@ -1316,6 +1336,9 @@ module Google
|
|
1316
1336
|
# Required. The ID of the game server cluster resource to be created.
|
1317
1337
|
# @param [String] preview_time
|
1318
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.
|
1319
1342
|
# @param [String] fields
|
1320
1343
|
# Selector specifying which fields to include in a partial response.
|
1321
1344
|
# @param [String] quota_user
|
@@ -1333,7 +1356,7 @@ module Google
|
|
1333
1356
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1334
1357
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1335
1358
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1336
|
-
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)
|
1337
1360
|
command = make_simple_command(:post, 'v1beta/{+parent}/gameServerClusters:previewCreate', options)
|
1338
1361
|
command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation
|
1339
1362
|
command.request_object = game_server_cluster_object
|
@@ -1342,6 +1365,7 @@ module Google
|
|
1342
1365
|
command.params['parent'] = parent unless parent.nil?
|
1343
1366
|
command.query['gameServerClusterId'] = game_server_cluster_id unless game_server_cluster_id.nil?
|
1344
1367
|
command.query['previewTime'] = preview_time unless preview_time.nil?
|
1368
|
+
command.query['view'] = view unless view.nil?
|
1345
1369
|
command.query['fields'] = fields unless fields.nil?
|
1346
1370
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1347
1371
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-gameservices_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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-gameservices_v1beta/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-gameservices_v1beta/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gameservices_v1beta/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gameservices_v1beta
|
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.
|
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.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for Game Services API V1beta
|