google-cloud-gaming-v1 0.6.0 → 1.0.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/README.md +3 -143
- data/lib/google/cloud/gaming/v1/version.rb +3 -8
- metadata +16 -229
- data/.yardopts +0 -12
- data/AUTHENTICATION.md +0 -151
- data/lib/google/cloud/gaming/v1/common_pb.rb +0 -117
- data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +0 -142
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +0 -1166
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/credentials.rb +0 -51
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +0 -768
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/paths.rb +0 -73
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/client.rb +0 -936
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/operations.rb +0 -793
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/service_stub.rb +0 -524
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest.rb +0 -54
- data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +0 -57
- data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +0 -23
- data/lib/google/cloud/gaming/v1/game_server_clusters_service_services_pb.rb +0 -61
- data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +0 -73
- data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +0 -736
- data/lib/google/cloud/gaming/v1/game_server_configs_service/credentials.rb +0 -51
- data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +0 -768
- data/lib/google/cloud/gaming/v1/game_server_configs_service/paths.rb +0 -73
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/client.rb +0 -605
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/operations.rb +0 -793
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/service_stub.rb +0 -285
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest.rb +0 -53
- data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +0 -56
- data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +0 -23
- data/lib/google/cloud/gaming/v1/game_server_configs_service_services_pb.rb +0 -55
- data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +0 -119
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +0 -1257
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/credentials.rb +0 -51
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +0 -768
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/paths.rb +0 -88
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/client.rb +0 -997
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/operations.rb +0 -793
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/service_stub.rb +0 -584
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest.rb +0 -54
- data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +0 -57
- data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +0 -23
- data/lib/google/cloud/gaming/v1/game_server_deployments_service_services_pb.rb +0 -70
- data/lib/google/cloud/gaming/v1/realms_pb.rb +0 -78
- data/lib/google/cloud/gaming/v1/realms_service/client.rb +0 -945
- data/lib/google/cloud/gaming/v1/realms_service/credentials.rb +0 -51
- data/lib/google/cloud/gaming/v1/realms_service/operations.rb +0 -768
- data/lib/google/cloud/gaming/v1/realms_service/paths.rb +0 -69
- data/lib/google/cloud/gaming/v1/realms_service/rest/client.rb +0 -761
- data/lib/google/cloud/gaming/v1/realms_service/rest/operations.rb +0 -793
- data/lib/google/cloud/gaming/v1/realms_service/rest/service_stub.rb +0 -405
- data/lib/google/cloud/gaming/v1/realms_service/rest.rb +0 -54
- data/lib/google/cloud/gaming/v1/realms_service.rb +0 -57
- data/lib/google/cloud/gaming/v1/realms_service_pb.rb +0 -23
- data/lib/google/cloud/gaming/v1/realms_service_services_pb.rb +0 -56
- data/lib/google/cloud/gaming/v1/rest.rb +0 -40
- data/lib/google/cloud/gaming/v1.rb +0 -48
- data/lib/google-cloud-gaming-v1.rb +0 -21
- data/proto_docs/README.md +0 -4
- data/proto_docs/google/api/client.rb +0 -318
- data/proto_docs/google/api/field_behavior.rb +0 -71
- data/proto_docs/google/api/launch_stage.rb +0 -71
- data/proto_docs/google/api/resource.rb +0 -222
- data/proto_docs/google/cloud/gaming/v1/common.rb +0 -302
- data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +0 -386
- data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +0 -180
- data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +0 -301
- data/proto_docs/google/cloud/gaming/v1/realms.rb +0 -191
- data/proto_docs/google/longrunning/operations.rb +0 -164
- data/proto_docs/google/protobuf/any.rb +0 -141
- data/proto_docs/google/protobuf/duration.rb +0 -98
- data/proto_docs/google/protobuf/empty.rb +0 -34
- data/proto_docs/google/protobuf/field_mask.rb +0 -229
- data/proto_docs/google/protobuf/timestamp.rb +0 -129
- data/proto_docs/google/rpc/status.rb +0 -48
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Copyright 2020 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Cloud
|
|
22
|
-
module Gaming
|
|
23
|
-
module V1
|
|
24
|
-
# Request message for GameServerClustersService.ListGameServerClusters.
|
|
25
|
-
# @!attribute [rw] parent
|
|
26
|
-
# @return [::String]
|
|
27
|
-
# Required. The parent resource name, in the following form:
|
|
28
|
-
# "projects/\\{project}/locations/\\{location}/realms/\\{realm}".
|
|
29
|
-
# @!attribute [rw] page_size
|
|
30
|
-
# @return [::Integer]
|
|
31
|
-
# Optional. The maximum number of items to return. If unspecified, the server
|
|
32
|
-
# will pick an appropriate default. The server may return fewer items than
|
|
33
|
-
# requested. A caller should only rely on response's
|
|
34
|
-
# {::Google::Cloud::Gaming::V1::ListGameServerClustersResponse#next_page_token next_page_token} to
|
|
35
|
-
# determine if there are more GameServerClusters left to be queried.
|
|
36
|
-
# @!attribute [rw] page_token
|
|
37
|
-
# @return [::String]
|
|
38
|
-
# Optional. The next_page_token value returned from a previous List request, if any.
|
|
39
|
-
# @!attribute [rw] filter
|
|
40
|
-
# @return [::String]
|
|
41
|
-
# Optional. The filter to apply to list results.
|
|
42
|
-
# @!attribute [rw] order_by
|
|
43
|
-
# @return [::String]
|
|
44
|
-
# Optional. Specifies the ordering of results following syntax at
|
|
45
|
-
# https://cloud.google.com/apis/design/design_patterns#sorting_order.
|
|
46
|
-
# @!attribute [rw] view
|
|
47
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerClusterView]
|
|
48
|
-
# Optional. View for the returned GameServerCluster objects. When `FULL` is
|
|
49
|
-
# specified, the `cluster_state` field is also returned in the
|
|
50
|
-
# GameServerCluster object, which includes the state of the referenced
|
|
51
|
-
# Kubernetes cluster such as versions and provider info. The default/unset
|
|
52
|
-
# value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does
|
|
53
|
-
# not return the `cluster_state` field.
|
|
54
|
-
class ListGameServerClustersRequest
|
|
55
|
-
include ::Google::Protobuf::MessageExts
|
|
56
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
# Response message for GameServerClustersService.ListGameServerClusters.
|
|
60
|
-
# @!attribute [rw] game_server_clusters
|
|
61
|
-
# @return [::Array<::Google::Cloud::Gaming::V1::GameServerCluster>]
|
|
62
|
-
# The list of game server clusters.
|
|
63
|
-
# @!attribute [rw] next_page_token
|
|
64
|
-
# @return [::String]
|
|
65
|
-
# Token to retrieve the next page of results, or empty if there are no more
|
|
66
|
-
# results in the list.
|
|
67
|
-
# @!attribute [rw] unreachable
|
|
68
|
-
# @return [::Array<::String>]
|
|
69
|
-
# List of locations that could not be reached.
|
|
70
|
-
class ListGameServerClustersResponse
|
|
71
|
-
include ::Google::Protobuf::MessageExts
|
|
72
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
73
|
-
end
|
|
74
|
-
|
|
75
|
-
# Request message for GameServerClustersService.GetGameServerCluster.
|
|
76
|
-
# @!attribute [rw] name
|
|
77
|
-
# @return [::String]
|
|
78
|
-
# Required. The name of the game server cluster to retrieve, in the following form:
|
|
79
|
-
# `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`.
|
|
80
|
-
# @!attribute [rw] view
|
|
81
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerClusterView]
|
|
82
|
-
# Optional. View for the returned GameServerCluster objects. When `FULL` is
|
|
83
|
-
# specified, the `cluster_state` field is also returned in the
|
|
84
|
-
# GameServerCluster object, which includes the state of the referenced
|
|
85
|
-
# Kubernetes cluster such as versions and provider info. The default/unset
|
|
86
|
-
# value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does
|
|
87
|
-
# not return the `cluster_state` field.
|
|
88
|
-
class GetGameServerClusterRequest
|
|
89
|
-
include ::Google::Protobuf::MessageExts
|
|
90
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
91
|
-
end
|
|
92
|
-
|
|
93
|
-
# Request message for GameServerClustersService.CreateGameServerCluster.
|
|
94
|
-
# @!attribute [rw] parent
|
|
95
|
-
# @return [::String]
|
|
96
|
-
# Required. The parent resource name, in the following form:
|
|
97
|
-
# `projects/{project}/locations/{location}/realms/{realm-id}`.
|
|
98
|
-
# @!attribute [rw] game_server_cluster_id
|
|
99
|
-
# @return [::String]
|
|
100
|
-
# Required. The ID of the game server cluster resource to be created.
|
|
101
|
-
# @!attribute [rw] game_server_cluster
|
|
102
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
|
103
|
-
# Required. The game server cluster resource to be created.
|
|
104
|
-
class CreateGameServerClusterRequest
|
|
105
|
-
include ::Google::Protobuf::MessageExts
|
|
106
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
# Request message for GameServerClustersService.PreviewCreateGameServerCluster.
|
|
110
|
-
# @!attribute [rw] parent
|
|
111
|
-
# @return [::String]
|
|
112
|
-
# Required. The parent resource name, in the following form:
|
|
113
|
-
# `projects/{project}/locations/{location}/realms/{realm}`.
|
|
114
|
-
# @!attribute [rw] game_server_cluster_id
|
|
115
|
-
# @return [::String]
|
|
116
|
-
# Required. The ID of the game server cluster resource to be created.
|
|
117
|
-
# @!attribute [rw] game_server_cluster
|
|
118
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
|
119
|
-
# Required. The game server cluster resource to be created.
|
|
120
|
-
# @!attribute [rw] preview_time
|
|
121
|
-
# @return [::Google::Protobuf::Timestamp]
|
|
122
|
-
# Optional. The target timestamp to compute the preview.
|
|
123
|
-
# @!attribute [rw] view
|
|
124
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerClusterView]
|
|
125
|
-
# Optional. This field is deprecated, preview will always return
|
|
126
|
-
# KubernetesClusterState.
|
|
127
|
-
class PreviewCreateGameServerClusterRequest
|
|
128
|
-
include ::Google::Protobuf::MessageExts
|
|
129
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
# Response message for
|
|
133
|
-
# GameServerClustersService.PreviewCreateGameServerCluster.
|
|
134
|
-
# @!attribute [rw] etag
|
|
135
|
-
# @return [::String]
|
|
136
|
-
# The ETag of the game server cluster.
|
|
137
|
-
# @!attribute [rw] target_state
|
|
138
|
-
# @return [::Google::Cloud::Gaming::V1::TargetState]
|
|
139
|
-
# The target state.
|
|
140
|
-
# @!attribute [r] cluster_state
|
|
141
|
-
# @return [::Google::Cloud::Gaming::V1::KubernetesClusterState]
|
|
142
|
-
# Output only. The state of the Kubernetes cluster in preview, this will be available if
|
|
143
|
-
# 'view' is set to `FULL` in the relevant List/Get/Preview request.
|
|
144
|
-
class PreviewCreateGameServerClusterResponse
|
|
145
|
-
include ::Google::Protobuf::MessageExts
|
|
146
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
147
|
-
end
|
|
148
|
-
|
|
149
|
-
# Request message for GameServerClustersService.DeleteGameServerCluster.
|
|
150
|
-
# @!attribute [rw] name
|
|
151
|
-
# @return [::String]
|
|
152
|
-
# Required. The name of the game server cluster to delete, in the following form:
|
|
153
|
-
# `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
|
|
154
|
-
class DeleteGameServerClusterRequest
|
|
155
|
-
include ::Google::Protobuf::MessageExts
|
|
156
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
# Request message for GameServerClustersService.PreviewDeleteGameServerCluster.
|
|
160
|
-
# @!attribute [rw] name
|
|
161
|
-
# @return [::String]
|
|
162
|
-
# Required. The name of the game server cluster to delete, in the following form:
|
|
163
|
-
# `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
|
|
164
|
-
# @!attribute [rw] preview_time
|
|
165
|
-
# @return [::Google::Protobuf::Timestamp]
|
|
166
|
-
# Optional. The target timestamp to compute the preview.
|
|
167
|
-
class PreviewDeleteGameServerClusterRequest
|
|
168
|
-
include ::Google::Protobuf::MessageExts
|
|
169
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
170
|
-
end
|
|
171
|
-
|
|
172
|
-
# Response message for
|
|
173
|
-
# GameServerClustersService.PreviewDeleteGameServerCluster.
|
|
174
|
-
# @!attribute [rw] etag
|
|
175
|
-
# @return [::String]
|
|
176
|
-
# The ETag of the game server cluster.
|
|
177
|
-
# @!attribute [rw] target_state
|
|
178
|
-
# @return [::Google::Cloud::Gaming::V1::TargetState]
|
|
179
|
-
# The target state.
|
|
180
|
-
class PreviewDeleteGameServerClusterResponse
|
|
181
|
-
include ::Google::Protobuf::MessageExts
|
|
182
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
# Request message for GameServerClustersService.UpdateGameServerCluster.
|
|
186
|
-
# @!attribute [rw] game_server_cluster
|
|
187
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
|
188
|
-
# Required. The game server cluster to be updated.
|
|
189
|
-
# Only fields specified in update_mask are updated.
|
|
190
|
-
# @!attribute [rw] update_mask
|
|
191
|
-
# @return [::Google::Protobuf::FieldMask]
|
|
192
|
-
# Required. Mask of fields to update. At least one path must be supplied in
|
|
193
|
-
# this field. For the `FieldMask` definition, see
|
|
194
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
|
195
|
-
class UpdateGameServerClusterRequest
|
|
196
|
-
include ::Google::Protobuf::MessageExts
|
|
197
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
# Request message for GameServerClustersService.UpdateGameServerCluster.
|
|
201
|
-
# @!attribute [rw] game_server_cluster
|
|
202
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
|
203
|
-
# Required. The game server cluster to be updated.
|
|
204
|
-
# Only fields specified in update_mask are updated.
|
|
205
|
-
# @!attribute [rw] update_mask
|
|
206
|
-
# @return [::Google::Protobuf::FieldMask]
|
|
207
|
-
# Required. Mask of fields to update. At least one path must be supplied in
|
|
208
|
-
# this field. For the `FieldMask` definition, see
|
|
209
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
|
|
210
|
-
# @!attribute [rw] preview_time
|
|
211
|
-
# @return [::Google::Protobuf::Timestamp]
|
|
212
|
-
# Optional. The target timestamp to compute the preview.
|
|
213
|
-
class PreviewUpdateGameServerClusterRequest
|
|
214
|
-
include ::Google::Protobuf::MessageExts
|
|
215
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
216
|
-
end
|
|
217
|
-
|
|
218
|
-
# Response message for GameServerClustersService.PreviewUpdateGameServerCluster
|
|
219
|
-
# @!attribute [rw] etag
|
|
220
|
-
# @return [::String]
|
|
221
|
-
# The ETag of the game server cluster.
|
|
222
|
-
# @!attribute [rw] target_state
|
|
223
|
-
# @return [::Google::Cloud::Gaming::V1::TargetState]
|
|
224
|
-
# The target state.
|
|
225
|
-
class PreviewUpdateGameServerClusterResponse
|
|
226
|
-
include ::Google::Protobuf::MessageExts
|
|
227
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
228
|
-
end
|
|
229
|
-
|
|
230
|
-
# The game server cluster connection information.
|
|
231
|
-
# @!attribute [rw] gke_cluster_reference
|
|
232
|
-
# @return [::Google::Cloud::Gaming::V1::GkeClusterReference]
|
|
233
|
-
# Reference to the GKE cluster where the game servers are installed.
|
|
234
|
-
# @!attribute [rw] namespace
|
|
235
|
-
# @return [::String]
|
|
236
|
-
# Namespace designated on the game server cluster where the Agones game
|
|
237
|
-
# server instances will be created. Existence of the namespace will be
|
|
238
|
-
# validated during creation.
|
|
239
|
-
class GameServerClusterConnectionInfo
|
|
240
|
-
include ::Google::Protobuf::MessageExts
|
|
241
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
242
|
-
end
|
|
243
|
-
|
|
244
|
-
# A reference to a GKE cluster.
|
|
245
|
-
# @!attribute [rw] cluster
|
|
246
|
-
# @return [::String]
|
|
247
|
-
# The full or partial name of a GKE cluster, using one of the following
|
|
248
|
-
# forms:
|
|
249
|
-
# * `projects/{project}/locations/{location}/clusters/{cluster}`
|
|
250
|
-
# * `locations/{location}/clusters/{cluster}`
|
|
251
|
-
# * `{cluster}`
|
|
252
|
-
# If project and location are not specified, the project and location of the
|
|
253
|
-
# GameServerCluster resource are used to generate the full name of the
|
|
254
|
-
# GKE cluster.
|
|
255
|
-
class GkeClusterReference
|
|
256
|
-
include ::Google::Protobuf::MessageExts
|
|
257
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
# A game server cluster resource.
|
|
261
|
-
# @!attribute [rw] name
|
|
262
|
-
# @return [::String]
|
|
263
|
-
# Required. The resource name of the game server cluster, in the following form:
|
|
264
|
-
# `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
|
|
265
|
-
# For example,
|
|
266
|
-
# `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
|
|
267
|
-
# @!attribute [r] create_time
|
|
268
|
-
# @return [::Google::Protobuf::Timestamp]
|
|
269
|
-
# Output only. The creation time.
|
|
270
|
-
# @!attribute [r] update_time
|
|
271
|
-
# @return [::Google::Protobuf::Timestamp]
|
|
272
|
-
# Output only. The last-modified time.
|
|
273
|
-
# @!attribute [rw] labels
|
|
274
|
-
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
275
|
-
# The labels associated with this game server cluster. Each label is a
|
|
276
|
-
# key-value pair.
|
|
277
|
-
# @!attribute [rw] connection_info
|
|
278
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerClusterConnectionInfo]
|
|
279
|
-
# The game server cluster connection information. This information is used to
|
|
280
|
-
# manage game server clusters.
|
|
281
|
-
# @!attribute [rw] etag
|
|
282
|
-
# @return [::String]
|
|
283
|
-
# ETag of the resource.
|
|
284
|
-
# @!attribute [rw] description
|
|
285
|
-
# @return [::String]
|
|
286
|
-
# Human readable description of the cluster.
|
|
287
|
-
# @!attribute [r] cluster_state
|
|
288
|
-
# @return [::Google::Cloud::Gaming::V1::KubernetesClusterState]
|
|
289
|
-
# Output only. The state of the Kubernetes cluster, this will be available if
|
|
290
|
-
# 'view' is set to `FULL` in the relevant List/Get/Preview request.
|
|
291
|
-
class GameServerCluster
|
|
292
|
-
include ::Google::Protobuf::MessageExts
|
|
293
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
294
|
-
|
|
295
|
-
# @!attribute [rw] key
|
|
296
|
-
# @return [::String]
|
|
297
|
-
# @!attribute [rw] value
|
|
298
|
-
# @return [::String]
|
|
299
|
-
class LabelsEntry
|
|
300
|
-
include ::Google::Protobuf::MessageExts
|
|
301
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
302
|
-
end
|
|
303
|
-
end
|
|
304
|
-
|
|
305
|
-
# The state of the Kubernetes cluster.
|
|
306
|
-
# @!attribute [r] agones_version_installed
|
|
307
|
-
# @return [::String]
|
|
308
|
-
# Output only. The version of Agones currently installed in the registered Kubernetes
|
|
309
|
-
# cluster.
|
|
310
|
-
# @!attribute [r] kubernetes_version_installed
|
|
311
|
-
# @return [::String]
|
|
312
|
-
# Output only. The version of Kubernetes that is currently used in the registered
|
|
313
|
-
# Kubernetes cluster (as detected by the Cloud Game Servers service).
|
|
314
|
-
# @!attribute [r] installation_state
|
|
315
|
-
# @return [::Google::Cloud::Gaming::V1::KubernetesClusterState::InstallationState]
|
|
316
|
-
# Output only. The state for the installed versions of Agones/Kubernetes.
|
|
317
|
-
# @!attribute [r] version_installed_error_message
|
|
318
|
-
# @return [::String]
|
|
319
|
-
# Output only. The detailed error message for the installed versions of Agones/Kubernetes.
|
|
320
|
-
# @!attribute [r] provider
|
|
321
|
-
# @return [::String]
|
|
322
|
-
# Output only. The cloud provider type reported by the first node's providerID in the list
|
|
323
|
-
# of nodes on the Kubernetes endpoint. On Kubernetes platforms that support
|
|
324
|
-
# zero-node clusters (like GKE-on-GCP), the provider type will be empty.
|
|
325
|
-
# @!attribute [r] agones_version_targeted
|
|
326
|
-
# @return [::String]
|
|
327
|
-
# Output only. The version of Agones that is targeted to be installed in the cluster.
|
|
328
|
-
class KubernetesClusterState
|
|
329
|
-
include ::Google::Protobuf::MessageExts
|
|
330
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
331
|
-
|
|
332
|
-
# The state of the installed versions of Agones/Kubernetes. See also
|
|
333
|
-
# https://cloud.google.com/game-servers/docs/versions-and-upgrades.
|
|
334
|
-
module InstallationState
|
|
335
|
-
# The default value. This value is used if the state is omitted.
|
|
336
|
-
INSTALLATION_STATE_UNSPECIFIED = 0
|
|
337
|
-
|
|
338
|
-
# The combination of Agones and Kubernetes versions is supported by Google
|
|
339
|
-
# Cloud Game Servers.
|
|
340
|
-
AGONES_KUBERNETES_VERSION_SUPPORTED = 1
|
|
341
|
-
|
|
342
|
-
# The installed version of Agones is not supported by Google Cloud Game
|
|
343
|
-
# Servers.
|
|
344
|
-
AGONES_VERSION_UNSUPPORTED = 2
|
|
345
|
-
|
|
346
|
-
# The installed version of Agones is supported by Google Cloud Game
|
|
347
|
-
# Servers, but the installed version of Kubernetes is not recommended or
|
|
348
|
-
# supported by the version of Agones.
|
|
349
|
-
AGONES_KUBERNETES_VERSION_UNSUPPORTED = 3
|
|
350
|
-
|
|
351
|
-
# The installed version of Agones is not recognized because the Agones
|
|
352
|
-
# controller's image name does not have a version string reported as
|
|
353
|
-
# \\{major}.\\{minor}(.\\{patch}).
|
|
354
|
-
AGONES_VERSION_UNRECOGNIZED = 4
|
|
355
|
-
|
|
356
|
-
# The server version of Kubernetes cluster is not recognized because the
|
|
357
|
-
# API server didn't return parsable version info on path/version.
|
|
358
|
-
KUBERNETES_VERSION_UNRECOGNIZED = 5
|
|
359
|
-
|
|
360
|
-
# Failed to read or verify the version of Agones or Kubernetes. See
|
|
361
|
-
# version_installed_error_message for details.
|
|
362
|
-
VERSION_VERIFICATION_FAILED = 6
|
|
363
|
-
|
|
364
|
-
# Agones is not installed.
|
|
365
|
-
AGONES_NOT_INSTALLED = 7
|
|
366
|
-
end
|
|
367
|
-
end
|
|
368
|
-
|
|
369
|
-
# A view for GameServerCluster objects.
|
|
370
|
-
module GameServerClusterView
|
|
371
|
-
# The default / unset value.
|
|
372
|
-
# The API will default to the BASIC view.
|
|
373
|
-
GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED = 0
|
|
374
|
-
|
|
375
|
-
# Include basic information of a GameServerCluster resource and omit
|
|
376
|
-
# `cluster_state`. This is the default value (for ListGameServerClusters,
|
|
377
|
-
# GetGameServerCluster and PreviewCreateGameServerCluster).
|
|
378
|
-
BASIC = 1
|
|
379
|
-
|
|
380
|
-
# Include everything.
|
|
381
|
-
FULL = 2
|
|
382
|
-
end
|
|
383
|
-
end
|
|
384
|
-
end
|
|
385
|
-
end
|
|
386
|
-
end
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Copyright 2020 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Cloud
|
|
22
|
-
module Gaming
|
|
23
|
-
module V1
|
|
24
|
-
# Request message for GameServerConfigsService.ListGameServerConfigs.
|
|
25
|
-
# @!attribute [rw] parent
|
|
26
|
-
# @return [::String]
|
|
27
|
-
# Required. The parent resource name, in the following form:
|
|
28
|
-
# `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*`.
|
|
29
|
-
# @!attribute [rw] page_size
|
|
30
|
-
# @return [::Integer]
|
|
31
|
-
# Optional. The maximum number of items to return. If unspecified, server
|
|
32
|
-
# will pick an appropriate default. Server may return fewer items than
|
|
33
|
-
# requested. A caller should only rely on response's
|
|
34
|
-
# {::Google::Cloud::Gaming::V1::ListGameServerConfigsResponse#next_page_token next_page_token} to
|
|
35
|
-
# determine if there are more GameServerConfigs left to be queried.
|
|
36
|
-
# @!attribute [rw] page_token
|
|
37
|
-
# @return [::String]
|
|
38
|
-
# Optional. The next_page_token value returned from a previous list request, if any.
|
|
39
|
-
# @!attribute [rw] filter
|
|
40
|
-
# @return [::String]
|
|
41
|
-
# Optional. The filter to apply to list results.
|
|
42
|
-
# @!attribute [rw] order_by
|
|
43
|
-
# @return [::String]
|
|
44
|
-
# Optional. Specifies the ordering of results following syntax at
|
|
45
|
-
# https://cloud.google.com/apis/design/design_patterns#sorting_order.
|
|
46
|
-
class ListGameServerConfigsRequest
|
|
47
|
-
include ::Google::Protobuf::MessageExts
|
|
48
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
49
|
-
end
|
|
50
|
-
|
|
51
|
-
# Response message for GameServerConfigsService.ListGameServerConfigs.
|
|
52
|
-
# @!attribute [rw] game_server_configs
|
|
53
|
-
# @return [::Array<::Google::Cloud::Gaming::V1::GameServerConfig>]
|
|
54
|
-
# The list of game server configs.
|
|
55
|
-
# @!attribute [rw] next_page_token
|
|
56
|
-
# @return [::String]
|
|
57
|
-
# Token to retrieve the next page of results, or empty if there are no more
|
|
58
|
-
# results in the list.
|
|
59
|
-
# @!attribute [rw] unreachable
|
|
60
|
-
# @return [::Array<::String>]
|
|
61
|
-
# List of locations that could not be reached.
|
|
62
|
-
class ListGameServerConfigsResponse
|
|
63
|
-
include ::Google::Protobuf::MessageExts
|
|
64
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
# Request message for GameServerConfigsService.GetGameServerConfig.
|
|
68
|
-
# @!attribute [rw] name
|
|
69
|
-
# @return [::String]
|
|
70
|
-
# Required. The name of the game server config to retrieve, in the following form:
|
|
71
|
-
# `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
|
|
72
|
-
class GetGameServerConfigRequest
|
|
73
|
-
include ::Google::Protobuf::MessageExts
|
|
74
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
75
|
-
end
|
|
76
|
-
|
|
77
|
-
# Request message for GameServerConfigsService.CreateGameServerConfig.
|
|
78
|
-
# @!attribute [rw] parent
|
|
79
|
-
# @return [::String]
|
|
80
|
-
# Required. The parent resource name, in the following form:
|
|
81
|
-
# `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/`.
|
|
82
|
-
# @!attribute [rw] config_id
|
|
83
|
-
# @return [::String]
|
|
84
|
-
# Required. The ID of the game server config resource to be created.
|
|
85
|
-
# @!attribute [rw] game_server_config
|
|
86
|
-
# @return [::Google::Cloud::Gaming::V1::GameServerConfig]
|
|
87
|
-
# Required. The game server config resource to be created.
|
|
88
|
-
class CreateGameServerConfigRequest
|
|
89
|
-
include ::Google::Protobuf::MessageExts
|
|
90
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
91
|
-
end
|
|
92
|
-
|
|
93
|
-
# Request message for GameServerConfigsService.DeleteGameServerConfig.
|
|
94
|
-
# @!attribute [rw] name
|
|
95
|
-
# @return [::String]
|
|
96
|
-
# Required. The name of the game server config to delete, in the following form:
|
|
97
|
-
# `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
|
|
98
|
-
class DeleteGameServerConfigRequest
|
|
99
|
-
include ::Google::Protobuf::MessageExts
|
|
100
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
# Autoscaling config for an Agones fleet.
|
|
104
|
-
# @!attribute [rw] name
|
|
105
|
-
# @return [::String]
|
|
106
|
-
# Required. The name of the Scaling Config
|
|
107
|
-
# @!attribute [rw] fleet_autoscaler_spec
|
|
108
|
-
# @return [::String]
|
|
109
|
-
# Required. Agones fleet autoscaler spec. Example spec:
|
|
110
|
-
# https://agones.dev/site/docs/reference/fleetautoscaler/
|
|
111
|
-
# @!attribute [rw] selectors
|
|
112
|
-
# @return [::Array<::Google::Cloud::Gaming::V1::LabelSelector>]
|
|
113
|
-
# Labels used to identify the game server clusters to which this Agones
|
|
114
|
-
# scaling config applies. A game server cluster is subject to this Agones
|
|
115
|
-
# scaling config if its labels match any of the selector entries.
|
|
116
|
-
# @!attribute [rw] schedules
|
|
117
|
-
# @return [::Array<::Google::Cloud::Gaming::V1::Schedule>]
|
|
118
|
-
# The schedules to which this Scaling Config applies.
|
|
119
|
-
class ScalingConfig
|
|
120
|
-
include ::Google::Protobuf::MessageExts
|
|
121
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
# Fleet configs for Agones.
|
|
125
|
-
# @!attribute [rw] fleet_spec
|
|
126
|
-
# @return [::String]
|
|
127
|
-
# Agones fleet spec. Example spec:
|
|
128
|
-
# `https://agones.dev/site/docs/reference/fleet/`.
|
|
129
|
-
# @!attribute [rw] name
|
|
130
|
-
# @return [::String]
|
|
131
|
-
# The name of the FleetConfig.
|
|
132
|
-
class FleetConfig
|
|
133
|
-
include ::Google::Protobuf::MessageExts
|
|
134
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# A game server config resource.
|
|
138
|
-
# @!attribute [rw] name
|
|
139
|
-
# @return [::String]
|
|
140
|
-
# The resource name of the game server config, in the following form:
|
|
141
|
-
# `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
|
|
142
|
-
# For example,
|
|
143
|
-
# `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
|
|
144
|
-
# @!attribute [r] create_time
|
|
145
|
-
# @return [::Google::Protobuf::Timestamp]
|
|
146
|
-
# Output only. The creation time.
|
|
147
|
-
# @!attribute [r] update_time
|
|
148
|
-
# @return [::Google::Protobuf::Timestamp]
|
|
149
|
-
# Output only. The last-modified time.
|
|
150
|
-
# @!attribute [rw] labels
|
|
151
|
-
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
152
|
-
# The labels associated with this game server config. Each label is a
|
|
153
|
-
# key-value pair.
|
|
154
|
-
# @!attribute [rw] fleet_configs
|
|
155
|
-
# @return [::Array<::Google::Cloud::Gaming::V1::FleetConfig>]
|
|
156
|
-
# FleetConfig contains a list of Agones fleet specs. Only one FleetConfig
|
|
157
|
-
# is allowed.
|
|
158
|
-
# @!attribute [rw] scaling_configs
|
|
159
|
-
# @return [::Array<::Google::Cloud::Gaming::V1::ScalingConfig>]
|
|
160
|
-
# The autoscaling settings.
|
|
161
|
-
# @!attribute [rw] description
|
|
162
|
-
# @return [::String]
|
|
163
|
-
# The description of the game server config.
|
|
164
|
-
class GameServerConfig
|
|
165
|
-
include ::Google::Protobuf::MessageExts
|
|
166
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
167
|
-
|
|
168
|
-
# @!attribute [rw] key
|
|
169
|
-
# @return [::String]
|
|
170
|
-
# @!attribute [rw] value
|
|
171
|
-
# @return [::String]
|
|
172
|
-
class LabelsEntry
|
|
173
|
-
include ::Google::Protobuf::MessageExts
|
|
174
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
175
|
-
end
|
|
176
|
-
end
|
|
177
|
-
end
|
|
178
|
-
end
|
|
179
|
-
end
|
|
180
|
-
end
|