google-cloud-gaming-v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-gaming-v1.rb +21 -0
- data/lib/google/cloud/gaming/v1.rb +38 -0
- data/lib/google/cloud/gaming/v1/common_pb.rb +117 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +111 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +51 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +994 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/credentials.rb +51 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +570 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/paths.rb +73 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +22 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service_services_pb.rb +61 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +73 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +50 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +652 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service/credentials.rb +51 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +570 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service/paths.rb +73 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +22 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service_services_pb.rb +55 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +119 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +51 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +1082 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/credentials.rb +51 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +570 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/paths.rb +88 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +22 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service_services_pb.rb +70 -0
- data/lib/google/cloud/gaming/v1/realms_pb.rb +78 -0
- data/lib/google/cloud/gaming/v1/realms_service.rb +51 -0
- data/lib/google/cloud/gaming/v1/realms_service/client.rb +821 -0
- data/lib/google/cloud/gaming/v1/realms_service/credentials.rb +51 -0
- data/lib/google/cloud/gaming/v1/realms_service/operations.rb +570 -0
- data/lib/google/cloud/gaming/v1/realms_service/paths.rb +69 -0
- data/lib/google/cloud/gaming/v1/realms_service_pb.rb +22 -0
- data/lib/google/cloud/gaming/v1/realms_service_services_pb.rb +56 -0
- data/lib/google/cloud/gaming/v1/version.rb +28 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/gaming/v1/common.rb +303 -0
- data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +288 -0
- data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +186 -0
- data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +317 -0
- data/proto_docs/google/cloud/gaming/v1/realms.rb +197 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +239 -0
@@ -0,0 +1,303 @@
|
|
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
|
+
# Represents the metadata of the long-running operation.
|
25
|
+
# @!attribute [r] create_time
|
26
|
+
# @return [::Google::Protobuf::Timestamp]
|
27
|
+
# Output only. The time the operation was created.
|
28
|
+
# @!attribute [r] end_time
|
29
|
+
# @return [::Google::Protobuf::Timestamp]
|
30
|
+
# Output only. The time the operation finished running.
|
31
|
+
# @!attribute [r] target
|
32
|
+
# @return [::String]
|
33
|
+
# Output only. Server-defined resource path for the target of the operation.
|
34
|
+
# @!attribute [r] verb
|
35
|
+
# @return [::String]
|
36
|
+
# Output only. Name of the verb executed by the operation.
|
37
|
+
# @!attribute [r] status_message
|
38
|
+
# @return [::String]
|
39
|
+
# Output only. Human-readable status of the operation, if any.
|
40
|
+
# @!attribute [r] requested_cancellation
|
41
|
+
# @return [::Boolean]
|
42
|
+
# Output only. Identifies whether the user has requested cancellation
|
43
|
+
# of the operation. Operations that have successfully been cancelled
|
44
|
+
# have [Operation.error][] value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
45
|
+
# corresponding to `Code.CANCELLED`.
|
46
|
+
# @!attribute [r] api_version
|
47
|
+
# @return [::String]
|
48
|
+
# Output only. API version used to start the operation.
|
49
|
+
# @!attribute [r] unreachable
|
50
|
+
# @return [::Array<::String>]
|
51
|
+
# Output only. List of Locations that could not be reached.
|
52
|
+
# @!attribute [r] operation_status
|
53
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Gaming::V1::OperationStatus}]
|
54
|
+
# Output only. Operation status for Game Services API operations. Operation status is in
|
55
|
+
# the form of key-value pairs where keys are resource IDs and the values show
|
56
|
+
# the status of the operation. In case of failures, the value includes an
|
57
|
+
# error code and error message.
|
58
|
+
class OperationMetadata
|
59
|
+
include ::Google::Protobuf::MessageExts
|
60
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
61
|
+
|
62
|
+
# @!attribute [rw] key
|
63
|
+
# @return [::String]
|
64
|
+
# @!attribute [rw] value
|
65
|
+
# @return [::Google::Cloud::Gaming::V1::OperationStatus]
|
66
|
+
class OperationStatusEntry
|
67
|
+
include ::Google::Protobuf::MessageExts
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
# @!attribute [r] done
|
73
|
+
# @return [::Boolean]
|
74
|
+
# Output only. Whether the operation is done or still in progress.
|
75
|
+
# @!attribute [rw] error_code
|
76
|
+
# @return [::Google::Cloud::Gaming::V1::OperationStatus::ErrorCode]
|
77
|
+
# The error code in case of failures.
|
78
|
+
# @!attribute [rw] error_message
|
79
|
+
# @return [::String]
|
80
|
+
# The human-readable error message.
|
81
|
+
class OperationStatus
|
82
|
+
include ::Google::Protobuf::MessageExts
|
83
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
84
|
+
|
85
|
+
module ErrorCode
|
86
|
+
ERROR_CODE_UNSPECIFIED = 0
|
87
|
+
|
88
|
+
INTERNAL_ERROR = 1
|
89
|
+
|
90
|
+
PERMISSION_DENIED = 2
|
91
|
+
|
92
|
+
CLUSTER_CONNECTION = 3
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# The label selector, used to group labels on the resources.
|
97
|
+
# @!attribute [rw] labels
|
98
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
99
|
+
# Resource labels for this selector.
|
100
|
+
class LabelSelector
|
101
|
+
include ::Google::Protobuf::MessageExts
|
102
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
103
|
+
|
104
|
+
# @!attribute [rw] key
|
105
|
+
# @return [::String]
|
106
|
+
# @!attribute [rw] value
|
107
|
+
# @return [::String]
|
108
|
+
class LabelsEntry
|
109
|
+
include ::Google::Protobuf::MessageExts
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# The realm selector, used to match realm resources.
|
115
|
+
# @!attribute [rw] realms
|
116
|
+
# @return [::Array<::String>]
|
117
|
+
# List of realms to match.
|
118
|
+
class RealmSelector
|
119
|
+
include ::Google::Protobuf::MessageExts
|
120
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
121
|
+
end
|
122
|
+
|
123
|
+
# The schedule of a recurring or one time event. The event's time span is
|
124
|
+
# specified by start_time and end_time. If the scheduled event's timespan is
|
125
|
+
# larger than the cron_spec + cron_job_duration, the event will be recurring.
|
126
|
+
# If only cron_spec + cron_job_duration are specified, the event is effective
|
127
|
+
# starting at the local time specified by cron_spec, and is recurring.
|
128
|
+
#
|
129
|
+
# start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
|
130
|
+
# cron job: cron spec start time + duration
|
131
|
+
# @!attribute [rw] start_time
|
132
|
+
# @return [::Google::Protobuf::Timestamp]
|
133
|
+
# The start time of the event.
|
134
|
+
# @!attribute [rw] end_time
|
135
|
+
# @return [::Google::Protobuf::Timestamp]
|
136
|
+
# The end time of the event.
|
137
|
+
# @!attribute [rw] cron_job_duration
|
138
|
+
# @return [::Google::Protobuf::Duration]
|
139
|
+
# The duration for the cron job event. The duration of the event is effective
|
140
|
+
# after the cron job's start time.
|
141
|
+
# @!attribute [rw] cron_spec
|
142
|
+
# @return [::String]
|
143
|
+
# The cron definition of the scheduled event. See
|
144
|
+
# https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
|
145
|
+
# defined by the realm.
|
146
|
+
class Schedule
|
147
|
+
include ::Google::Protobuf::MessageExts
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
149
|
+
end
|
150
|
+
|
151
|
+
# Encapsulates Agones fleet spec and Agones autoscaler spec sources.
|
152
|
+
# @!attribute [rw] game_server_config_name
|
153
|
+
# @return [::String]
|
154
|
+
# The game server config resource. Uses the form:
|
155
|
+
#
|
156
|
+
# `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
|
157
|
+
# @!attribute [rw] name
|
158
|
+
# @return [::String]
|
159
|
+
# The name of the Agones leet config or Agones scaling config used to derive
|
160
|
+
# the Agones fleet or Agones autoscaler spec.
|
161
|
+
class SpecSource
|
162
|
+
include ::Google::Protobuf::MessageExts
|
163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
164
|
+
end
|
165
|
+
|
166
|
+
# Details about the Agones resources.
|
167
|
+
# @!attribute [rw] game_server_cluster_name
|
168
|
+
# @return [::String]
|
169
|
+
# The game server cluster name. Uses the form:
|
170
|
+
#
|
171
|
+
# `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
|
172
|
+
# @!attribute [rw] game_server_deployment_name
|
173
|
+
# @return [::String]
|
174
|
+
# The game server deployment name. Uses the form:
|
175
|
+
#
|
176
|
+
# `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
|
177
|
+
# @!attribute [rw] fleet_details
|
178
|
+
# @return [::Array<::Google::Cloud::Gaming::V1::TargetDetails::TargetFleetDetails>]
|
179
|
+
# Agones fleet details for game server clusters and game server deployments.
|
180
|
+
class TargetDetails
|
181
|
+
include ::Google::Protobuf::MessageExts
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
|
+
|
184
|
+
# Details of the target Agones fleet.
|
185
|
+
# @!attribute [rw] fleet
|
186
|
+
# @return [::Google::Cloud::Gaming::V1::TargetDetails::TargetFleetDetails::TargetFleet]
|
187
|
+
# Reference to target Agones fleet.
|
188
|
+
# @!attribute [rw] autoscaler
|
189
|
+
# @return [::Google::Cloud::Gaming::V1::TargetDetails::TargetFleetDetails::TargetFleetAutoscaler]
|
190
|
+
# Reference to target Agones fleet autoscaling policy.
|
191
|
+
class TargetFleetDetails
|
192
|
+
include ::Google::Protobuf::MessageExts
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
194
|
+
|
195
|
+
# Target Agones fleet specification.
|
196
|
+
# @!attribute [rw] name
|
197
|
+
# @return [::String]
|
198
|
+
# The name of the Agones fleet.
|
199
|
+
# @!attribute [rw] spec_source
|
200
|
+
# @return [::Google::Cloud::Gaming::V1::SpecSource]
|
201
|
+
# Encapsulates the source of the Agones fleet spec.
|
202
|
+
# The Agones fleet spec source.
|
203
|
+
class TargetFleet
|
204
|
+
include ::Google::Protobuf::MessageExts
|
205
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
206
|
+
end
|
207
|
+
|
208
|
+
# Target Agones autoscaler policy reference.
|
209
|
+
# @!attribute [rw] name
|
210
|
+
# @return [::String]
|
211
|
+
# The name of the Agones autoscaler.
|
212
|
+
# @!attribute [rw] spec_source
|
213
|
+
# @return [::Google::Cloud::Gaming::V1::SpecSource]
|
214
|
+
# Encapsulates the source of the Agones fleet spec.
|
215
|
+
# Details about the Agones autoscaler spec.
|
216
|
+
class TargetFleetAutoscaler
|
217
|
+
include ::Google::Protobuf::MessageExts
|
218
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
|
+
end
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
# Encapsulates the Target state.
|
224
|
+
# @!attribute [rw] details
|
225
|
+
# @return [::Array<::Google::Cloud::Gaming::V1::TargetDetails>]
|
226
|
+
# Details about Agones fleets.
|
227
|
+
class TargetState
|
228
|
+
include ::Google::Protobuf::MessageExts
|
229
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
230
|
+
end
|
231
|
+
|
232
|
+
# Details of the deployed Agones fleet.
|
233
|
+
# @!attribute [rw] deployed_fleet
|
234
|
+
# @return [::Google::Cloud::Gaming::V1::DeployedFleetDetails::DeployedFleet]
|
235
|
+
# Information about the Agones fleet.
|
236
|
+
# @!attribute [rw] deployed_autoscaler
|
237
|
+
# @return [::Google::Cloud::Gaming::V1::DeployedFleetDetails::DeployedFleetAutoscaler]
|
238
|
+
# Information about the Agones autoscaler for that fleet.
|
239
|
+
class DeployedFleetDetails
|
240
|
+
include ::Google::Protobuf::MessageExts
|
241
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
242
|
+
|
243
|
+
# Agones fleet specification and details.
|
244
|
+
# @!attribute [rw] fleet
|
245
|
+
# @return [::String]
|
246
|
+
# The name of the Agones fleet.
|
247
|
+
# @!attribute [rw] fleet_spec
|
248
|
+
# @return [::String]
|
249
|
+
# The fleet spec retrieved from the Agones fleet.
|
250
|
+
# @!attribute [rw] spec_source
|
251
|
+
# @return [::Google::Cloud::Gaming::V1::SpecSource]
|
252
|
+
# The source spec that is used to create the Agones fleet.
|
253
|
+
# The GameServerConfig resource may no longer exist in the system.
|
254
|
+
# @!attribute [rw] status
|
255
|
+
# @return [::Google::Cloud::Gaming::V1::DeployedFleetDetails::DeployedFleet::DeployedFleetStatus]
|
256
|
+
# The current status of the Agones fleet.
|
257
|
+
# Includes count of game servers in various states.
|
258
|
+
class DeployedFleet
|
259
|
+
include ::Google::Protobuf::MessageExts
|
260
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
261
|
+
|
262
|
+
# DeployedFleetStatus has details about the Agones fleets such as how many
|
263
|
+
# are running, how many allocated, and so on.
|
264
|
+
# @!attribute [rw] ready_replicas
|
265
|
+
# @return [::Integer]
|
266
|
+
# The number of GameServer replicas in the READY state in this fleet.
|
267
|
+
# @!attribute [rw] allocated_replicas
|
268
|
+
# @return [::Integer]
|
269
|
+
# The number of GameServer replicas in the ALLOCATED state in this fleet.
|
270
|
+
# @!attribute [rw] reserved_replicas
|
271
|
+
# @return [::Integer]
|
272
|
+
# The number of GameServer replicas in the RESERVED state in this fleet.
|
273
|
+
# Reserved instances won't be deleted on scale down, but won't cause
|
274
|
+
# an autoscaler to scale up.
|
275
|
+
# @!attribute [rw] replicas
|
276
|
+
# @return [::Integer]
|
277
|
+
# The total number of current GameServer replicas in this fleet.
|
278
|
+
class DeployedFleetStatus
|
279
|
+
include ::Google::Protobuf::MessageExts
|
280
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
# Details about the Agones autoscaler.
|
285
|
+
# @!attribute [rw] autoscaler
|
286
|
+
# @return [::String]
|
287
|
+
# The name of the Agones autoscaler.
|
288
|
+
# @!attribute [rw] spec_source
|
289
|
+
# @return [::Google::Cloud::Gaming::V1::SpecSource]
|
290
|
+
# The source spec that is used to create the autoscaler.
|
291
|
+
# The GameServerConfig resource may no longer exist in the system.
|
292
|
+
# @!attribute [rw] fleet_autoscaler_spec
|
293
|
+
# @return [::String]
|
294
|
+
# The autoscaler spec retrieved from Agones.
|
295
|
+
class DeployedFleetAutoscaler
|
296
|
+
include ::Google::Protobuf::MessageExts
|
297
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
298
|
+
end
|
299
|
+
end
|
300
|
+
end
|
301
|
+
end
|
302
|
+
end
|
303
|
+
end
|
@@ -0,0 +1,288 @@
|
|
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. Uses the 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
|
+
class ListGameServerClustersRequest
|
47
|
+
include ::Google::Protobuf::MessageExts
|
48
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
49
|
+
end
|
50
|
+
|
51
|
+
# Response message for GameServerClustersService.ListGameServerClusters.
|
52
|
+
# @!attribute [rw] game_server_clusters
|
53
|
+
# @return [::Array<::Google::Cloud::Gaming::V1::GameServerCluster>]
|
54
|
+
# The list of game server clusters.
|
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 ListGameServerClustersResponse
|
63
|
+
include ::Google::Protobuf::MessageExts
|
64
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
|
+
end
|
66
|
+
|
67
|
+
# Request message for GameServerClustersService.GetGameServerCluster.
|
68
|
+
# @!attribute [rw] name
|
69
|
+
# @return [::String]
|
70
|
+
# Required. The name of the game server cluster to retrieve. Uses the form:
|
71
|
+
#
|
72
|
+
# `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`.
|
73
|
+
class GetGameServerClusterRequest
|
74
|
+
include ::Google::Protobuf::MessageExts
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
76
|
+
end
|
77
|
+
|
78
|
+
# Request message for GameServerClustersService.CreateGameServerCluster.
|
79
|
+
# @!attribute [rw] parent
|
80
|
+
# @return [::String]
|
81
|
+
# Required. The parent resource name. Uses the form:
|
82
|
+
# `projects/{project}/locations/{location}/realms/{realm-id}`.
|
83
|
+
# @!attribute [rw] game_server_cluster_id
|
84
|
+
# @return [::String]
|
85
|
+
# Required. The ID of the game server cluster resource to be created.
|
86
|
+
# @!attribute [rw] game_server_cluster
|
87
|
+
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
88
|
+
# Required. The game server cluster resource to be created.
|
89
|
+
class CreateGameServerClusterRequest
|
90
|
+
include ::Google::Protobuf::MessageExts
|
91
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
92
|
+
end
|
93
|
+
|
94
|
+
# Request message for GameServerClustersService.PreviewCreateGameServerCluster.
|
95
|
+
# @!attribute [rw] parent
|
96
|
+
# @return [::String]
|
97
|
+
# Required. The parent resource name. Uses the form:
|
98
|
+
# `projects/{project}/locations/{location}/realms/{realm}`.
|
99
|
+
# @!attribute [rw] game_server_cluster_id
|
100
|
+
# @return [::String]
|
101
|
+
# Required. The ID of the game server cluster resource to be created.
|
102
|
+
# @!attribute [rw] game_server_cluster
|
103
|
+
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
104
|
+
# Required. The game server cluster resource to be created.
|
105
|
+
# @!attribute [rw] preview_time
|
106
|
+
# @return [::Google::Protobuf::Timestamp]
|
107
|
+
# Optional. The target timestamp to compute the preview.
|
108
|
+
class PreviewCreateGameServerClusterRequest
|
109
|
+
include ::Google::Protobuf::MessageExts
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
|
+
end
|
112
|
+
|
113
|
+
# Response message for
|
114
|
+
# GameServerClustersService.PreviewCreateGameServerCluster.
|
115
|
+
# @!attribute [rw] etag
|
116
|
+
# @return [::String]
|
117
|
+
# The ETag of the game server cluster.
|
118
|
+
# @!attribute [rw] target_state
|
119
|
+
# @return [::Google::Cloud::Gaming::V1::TargetState]
|
120
|
+
# The target state.
|
121
|
+
class PreviewCreateGameServerClusterResponse
|
122
|
+
include ::Google::Protobuf::MessageExts
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
124
|
+
end
|
125
|
+
|
126
|
+
# Request message for GameServerClustersService.DeleteGameServerCluster.
|
127
|
+
# @!attribute [rw] name
|
128
|
+
# @return [::String]
|
129
|
+
# Required. The name of the game server cluster to delete. Uses the form:
|
130
|
+
# `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
|
131
|
+
class DeleteGameServerClusterRequest
|
132
|
+
include ::Google::Protobuf::MessageExts
|
133
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
134
|
+
end
|
135
|
+
|
136
|
+
# Request message for GameServerClustersService.PreviewDeleteGameServerCluster.
|
137
|
+
# @!attribute [rw] name
|
138
|
+
# @return [::String]
|
139
|
+
# Required. The name of the game server cluster to delete. Uses the form:
|
140
|
+
# `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
|
141
|
+
# @!attribute [rw] preview_time
|
142
|
+
# @return [::Google::Protobuf::Timestamp]
|
143
|
+
# Optional. The target timestamp to compute the preview.
|
144
|
+
class PreviewDeleteGameServerClusterRequest
|
145
|
+
include ::Google::Protobuf::MessageExts
|
146
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
147
|
+
end
|
148
|
+
|
149
|
+
# Response message for
|
150
|
+
# GameServerClustersService.PreviewDeleteGameServerCluster.
|
151
|
+
# @!attribute [rw] etag
|
152
|
+
# @return [::String]
|
153
|
+
# The ETag of the game server cluster.
|
154
|
+
# @!attribute [rw] target_state
|
155
|
+
# @return [::Google::Cloud::Gaming::V1::TargetState]
|
156
|
+
# The target state.
|
157
|
+
class PreviewDeleteGameServerClusterResponse
|
158
|
+
include ::Google::Protobuf::MessageExts
|
159
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
160
|
+
end
|
161
|
+
|
162
|
+
# Request message for GameServerClustersService.UpdateGameServerCluster.
|
163
|
+
# @!attribute [rw] game_server_cluster
|
164
|
+
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
165
|
+
# Required. The game server cluster to be updated.
|
166
|
+
# Only fields specified in update_mask are updated.
|
167
|
+
# @!attribute [rw] update_mask
|
168
|
+
# @return [::Google::Protobuf::FieldMask]
|
169
|
+
# Required. Mask of fields to update. At least one path must be supplied in
|
170
|
+
# this field. For the `FieldMask` definition, see
|
171
|
+
#
|
172
|
+
# https:
|
173
|
+
# //developers.google.com/protocol-buffers
|
174
|
+
# // /docs/reference/google.protobuf#fieldmask
|
175
|
+
class UpdateGameServerClusterRequest
|
176
|
+
include ::Google::Protobuf::MessageExts
|
177
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
178
|
+
end
|
179
|
+
|
180
|
+
# Request message for GameServerClustersService.UpdateGameServerCluster.
|
181
|
+
# @!attribute [rw] game_server_cluster
|
182
|
+
# @return [::Google::Cloud::Gaming::V1::GameServerCluster]
|
183
|
+
# Required. The game server cluster to be updated.
|
184
|
+
# Only fields specified in update_mask are updated.
|
185
|
+
# @!attribute [rw] update_mask
|
186
|
+
# @return [::Google::Protobuf::FieldMask]
|
187
|
+
# Required. Mask of fields to update. At least one path must be supplied in
|
188
|
+
# this field. For the `FieldMask` definition, see
|
189
|
+
#
|
190
|
+
# https:
|
191
|
+
# //developers.google.com/protocol-buffers
|
192
|
+
# // /docs/reference/google.protobuf#fieldmask
|
193
|
+
# @!attribute [rw] preview_time
|
194
|
+
# @return [::Google::Protobuf::Timestamp]
|
195
|
+
# Optional. The target timestamp to compute the preview.
|
196
|
+
class PreviewUpdateGameServerClusterRequest
|
197
|
+
include ::Google::Protobuf::MessageExts
|
198
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
199
|
+
end
|
200
|
+
|
201
|
+
# Response message for GameServerClustersService.PreviewUpdateGameServerCluster
|
202
|
+
# @!attribute [rw] etag
|
203
|
+
# @return [::String]
|
204
|
+
# The ETag of the game server cluster.
|
205
|
+
# @!attribute [rw] target_state
|
206
|
+
# @return [::Google::Cloud::Gaming::V1::TargetState]
|
207
|
+
# The target state.
|
208
|
+
class PreviewUpdateGameServerClusterResponse
|
209
|
+
include ::Google::Protobuf::MessageExts
|
210
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
211
|
+
end
|
212
|
+
|
213
|
+
# The game server cluster connection information.
|
214
|
+
# @!attribute [rw] gke_cluster_reference
|
215
|
+
# @return [::Google::Cloud::Gaming::V1::GkeClusterReference]
|
216
|
+
# Reference to the GKE cluster where the game servers are installed.
|
217
|
+
# @!attribute [rw] namespace
|
218
|
+
# @return [::String]
|
219
|
+
# Namespace designated on the game server cluster where the Agones game
|
220
|
+
# server instances will be created. Existence of the namespace will be
|
221
|
+
# validated during creation.
|
222
|
+
class GameServerClusterConnectionInfo
|
223
|
+
include ::Google::Protobuf::MessageExts
|
224
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
225
|
+
end
|
226
|
+
|
227
|
+
# A reference to a GKE cluster.
|
228
|
+
# @!attribute [rw] cluster
|
229
|
+
# @return [::String]
|
230
|
+
# The full or partial name of a GKE cluster, using one of the following
|
231
|
+
# forms:
|
232
|
+
# * `projects/{project}/locations/{location}/clusters/{cluster}`
|
233
|
+
# * `locations/{location}/clusters/{cluster}`
|
234
|
+
# * `{cluster}`
|
235
|
+
# If project and location are not specified, the project and location of the
|
236
|
+
# GameServerCluster resource are used to generate the full name of the
|
237
|
+
# GKE cluster.
|
238
|
+
class GkeClusterReference
|
239
|
+
include ::Google::Protobuf::MessageExts
|
240
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
241
|
+
end
|
242
|
+
|
243
|
+
# A game server cluster resource.
|
244
|
+
# @!attribute [rw] name
|
245
|
+
# @return [::String]
|
246
|
+
# Required. The resource name of the game server cluster. Uses the form:
|
247
|
+
#
|
248
|
+
# `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
|
249
|
+
# For example,
|
250
|
+
#
|
251
|
+
# `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
|
252
|
+
# @!attribute [r] create_time
|
253
|
+
# @return [::Google::Protobuf::Timestamp]
|
254
|
+
# Output only. The creation time.
|
255
|
+
# @!attribute [r] update_time
|
256
|
+
# @return [::Google::Protobuf::Timestamp]
|
257
|
+
# Output only. The last-modified time.
|
258
|
+
# @!attribute [rw] labels
|
259
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
260
|
+
# The labels associated with this game server cluster. Each label is a
|
261
|
+
# key-value pair.
|
262
|
+
# @!attribute [rw] connection_info
|
263
|
+
# @return [::Google::Cloud::Gaming::V1::GameServerClusterConnectionInfo]
|
264
|
+
# The game server cluster connection information. This information is used to
|
265
|
+
# manage game server clusters.
|
266
|
+
# @!attribute [rw] etag
|
267
|
+
# @return [::String]
|
268
|
+
# ETag of the resource.
|
269
|
+
# @!attribute [rw] description
|
270
|
+
# @return [::String]
|
271
|
+
# Human readable description of the cluster.
|
272
|
+
class GameServerCluster
|
273
|
+
include ::Google::Protobuf::MessageExts
|
274
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
275
|
+
|
276
|
+
# @!attribute [rw] key
|
277
|
+
# @return [::String]
|
278
|
+
# @!attribute [rw] value
|
279
|
+
# @return [::String]
|
280
|
+
class LabelsEntry
|
281
|
+
include ::Google::Protobuf::MessageExts
|
282
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
283
|
+
end
|
284
|
+
end
|
285
|
+
end
|
286
|
+
end
|
287
|
+
end
|
288
|
+
end
|