google-cloud-gaming-v1 0.1.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.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +75 -0
  6. data/lib/google-cloud-gaming-v1.rb +21 -0
  7. data/lib/google/cloud/gaming/v1.rb +38 -0
  8. data/lib/google/cloud/gaming/v1/common_pb.rb +117 -0
  9. data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +111 -0
  10. data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +51 -0
  11. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +994 -0
  12. data/lib/google/cloud/gaming/v1/game_server_clusters_service/credentials.rb +51 -0
  13. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +570 -0
  14. data/lib/google/cloud/gaming/v1/game_server_clusters_service/paths.rb +73 -0
  15. data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +22 -0
  16. data/lib/google/cloud/gaming/v1/game_server_clusters_service_services_pb.rb +61 -0
  17. data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +73 -0
  18. data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +50 -0
  19. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +652 -0
  20. data/lib/google/cloud/gaming/v1/game_server_configs_service/credentials.rb +51 -0
  21. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +570 -0
  22. data/lib/google/cloud/gaming/v1/game_server_configs_service/paths.rb +73 -0
  23. data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +22 -0
  24. data/lib/google/cloud/gaming/v1/game_server_configs_service_services_pb.rb +55 -0
  25. data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +119 -0
  26. data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +51 -0
  27. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +1082 -0
  28. data/lib/google/cloud/gaming/v1/game_server_deployments_service/credentials.rb +51 -0
  29. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +570 -0
  30. data/lib/google/cloud/gaming/v1/game_server_deployments_service/paths.rb +88 -0
  31. data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +22 -0
  32. data/lib/google/cloud/gaming/v1/game_server_deployments_service_services_pb.rb +70 -0
  33. data/lib/google/cloud/gaming/v1/realms_pb.rb +78 -0
  34. data/lib/google/cloud/gaming/v1/realms_service.rb +51 -0
  35. data/lib/google/cloud/gaming/v1/realms_service/client.rb +821 -0
  36. data/lib/google/cloud/gaming/v1/realms_service/credentials.rb +51 -0
  37. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +570 -0
  38. data/lib/google/cloud/gaming/v1/realms_service/paths.rb +69 -0
  39. data/lib/google/cloud/gaming/v1/realms_service_pb.rb +22 -0
  40. data/lib/google/cloud/gaming/v1/realms_service_services_pb.rb +56 -0
  41. data/lib/google/cloud/gaming/v1/version.rb +28 -0
  42. data/proto_docs/README.md +4 -0
  43. data/proto_docs/google/api/field_behavior.rb +59 -0
  44. data/proto_docs/google/api/resource.rb +247 -0
  45. data/proto_docs/google/cloud/gaming/v1/common.rb +303 -0
  46. data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +288 -0
  47. data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +186 -0
  48. data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +317 -0
  49. data/proto_docs/google/cloud/gaming/v1/realms.rb +197 -0
  50. data/proto_docs/google/longrunning/operations.rb +150 -0
  51. data/proto_docs/google/protobuf/any.rb +138 -0
  52. data/proto_docs/google/protobuf/duration.rb +98 -0
  53. data/proto_docs/google/protobuf/empty.rb +36 -0
  54. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  55. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  56. data/proto_docs/google/rpc/status.rb +46 -0
  57. metadata +239 -0
@@ -0,0 +1,186 @@
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. Uses the form:
28
+ #
29
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*`.
30
+ # @!attribute [rw] page_size
31
+ # @return [::Integer]
32
+ # Optional. The maximum number of items to return. If unspecified, server
33
+ # will pick an appropriate default. Server may return fewer items than
34
+ # requested. A caller should only rely on response's
35
+ # {::Google::Cloud::Gaming::V1::ListGameServerConfigsResponse#next_page_token next_page_token} to
36
+ # determine if there are more GameServerConfigs left to be queried.
37
+ # @!attribute [rw] page_token
38
+ # @return [::String]
39
+ # Optional. The next_page_token value returned from a previous list request, if any.
40
+ # @!attribute [rw] filter
41
+ # @return [::String]
42
+ # Optional. The filter to apply to list results.
43
+ # @!attribute [rw] order_by
44
+ # @return [::String]
45
+ # Optional. Specifies the ordering of results following syntax at
46
+ # https://cloud.google.com/apis/design/design_patterns#sorting_order.
47
+ class ListGameServerConfigsRequest
48
+ include ::Google::Protobuf::MessageExts
49
+ extend ::Google::Protobuf::MessageExts::ClassMethods
50
+ end
51
+
52
+ # Response message for GameServerConfigsService.ListGameServerConfigs.
53
+ # @!attribute [rw] game_server_configs
54
+ # @return [::Array<::Google::Cloud::Gaming::V1::GameServerConfig>]
55
+ # The list of game server configs.
56
+ # @!attribute [rw] next_page_token
57
+ # @return [::String]
58
+ # Token to retrieve the next page of results, or empty if there are no more
59
+ # results in the list.
60
+ # @!attribute [rw] unreachable
61
+ # @return [::Array<::String>]
62
+ # List of locations that could not be reached.
63
+ class ListGameServerConfigsResponse
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+ end
67
+
68
+ # Request message for GameServerConfigsService.GetGameServerConfig.
69
+ # @!attribute [rw] name
70
+ # @return [::String]
71
+ # Required. The name of the game server config to retrieve. Uses the form:
72
+ #
73
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
74
+ class GetGameServerConfigRequest
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+ end
78
+
79
+ # Request message for GameServerConfigsService.CreateGameServerConfig.
80
+ # @!attribute [rw] parent
81
+ # @return [::String]
82
+ # Required. The parent resource name. Uses the form:
83
+ #
84
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/`.
85
+ # @!attribute [rw] config_id
86
+ # @return [::String]
87
+ # Required. The ID of the game server config resource to be created.
88
+ # @!attribute [rw] game_server_config
89
+ # @return [::Google::Cloud::Gaming::V1::GameServerConfig]
90
+ # Required. The game server config resource to be created.
91
+ class CreateGameServerConfigRequest
92
+ include ::Google::Protobuf::MessageExts
93
+ extend ::Google::Protobuf::MessageExts::ClassMethods
94
+ end
95
+
96
+ # Request message for GameServerConfigsService.DeleteGameServerConfig.
97
+ # @!attribute [rw] name
98
+ # @return [::String]
99
+ # Required. The name of the game server config to delete. Uses the form:
100
+ #
101
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
102
+ class DeleteGameServerConfigRequest
103
+ include ::Google::Protobuf::MessageExts
104
+ extend ::Google::Protobuf::MessageExts::ClassMethods
105
+ end
106
+
107
+ # Autoscaling config for an Agones fleet.
108
+ # @!attribute [rw] name
109
+ # @return [::String]
110
+ # Required. The name of the Scaling Config
111
+ # @!attribute [rw] fleet_autoscaler_spec
112
+ # @return [::String]
113
+ # Required. Agones fleet autoscaler spec. Example spec:
114
+ # https://agones.dev/site/docs/reference/fleetautoscaler/
115
+ # @!attribute [rw] selectors
116
+ # @return [::Array<::Google::Cloud::Gaming::V1::LabelSelector>]
117
+ # Labels used to identify the game server clusters to which this Agones
118
+ # scaling config applies. A game server cluster is subject to this Agones
119
+ # scaling config if its labels match any of the selector entries.
120
+ # @!attribute [rw] schedules
121
+ # @return [::Array<::Google::Cloud::Gaming::V1::Schedule>]
122
+ # The schedules to which this Scaling Config applies.
123
+ class ScalingConfig
124
+ include ::Google::Protobuf::MessageExts
125
+ extend ::Google::Protobuf::MessageExts::ClassMethods
126
+ end
127
+
128
+ # Fleet configs for Agones.
129
+ # @!attribute [rw] fleet_spec
130
+ # @return [::String]
131
+ # Agones fleet spec. Example spec:
132
+ # `https://agones.dev/site/docs/reference/fleet/`.
133
+ # @!attribute [rw] name
134
+ # @return [::String]
135
+ # The name of the FleetConfig.
136
+ class FleetConfig
137
+ include ::Google::Protobuf::MessageExts
138
+ extend ::Google::Protobuf::MessageExts::ClassMethods
139
+ end
140
+
141
+ # A game server config resource.
142
+ # @!attribute [rw] name
143
+ # @return [::String]
144
+ # The resource name of the game server config. Uses the form:
145
+ #
146
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
147
+ # For example,
148
+ #
149
+ # `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
150
+ # @!attribute [r] create_time
151
+ # @return [::Google::Protobuf::Timestamp]
152
+ # Output only. The creation time.
153
+ # @!attribute [r] update_time
154
+ # @return [::Google::Protobuf::Timestamp]
155
+ # Output only. The last-modified time.
156
+ # @!attribute [rw] labels
157
+ # @return [::Google::Protobuf::Map{::String => ::String}]
158
+ # The labels associated with this game server config. Each label is a
159
+ # key-value pair.
160
+ # @!attribute [rw] fleet_configs
161
+ # @return [::Array<::Google::Cloud::Gaming::V1::FleetConfig>]
162
+ # FleetConfig contains a list of Agones fleet specs. Only one FleetConfig
163
+ # is allowed.
164
+ # @!attribute [rw] scaling_configs
165
+ # @return [::Array<::Google::Cloud::Gaming::V1::ScalingConfig>]
166
+ # The autoscaling settings.
167
+ # @!attribute [rw] description
168
+ # @return [::String]
169
+ # The description of the game server config.
170
+ class GameServerConfig
171
+ include ::Google::Protobuf::MessageExts
172
+ extend ::Google::Protobuf::MessageExts::ClassMethods
173
+
174
+ # @!attribute [rw] key
175
+ # @return [::String]
176
+ # @!attribute [rw] value
177
+ # @return [::String]
178
+ class LabelsEntry
179
+ include ::Google::Protobuf::MessageExts
180
+ extend ::Google::Protobuf::MessageExts::ClassMethods
181
+ end
182
+ end
183
+ end
184
+ end
185
+ end
186
+ end
@@ -0,0 +1,317 @@
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 GameServerDeploymentsService.ListGameServerDeployments.
25
+ # @!attribute [rw] parent
26
+ # @return [::String]
27
+ # Required. The parent resource name. Uses the form:
28
+ # `projects/{project}/locations/{location}`.
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::ListGameServerDeploymentsResponse#next_page_token next_page_token} to
35
+ # determine if there are more GameServerDeployments 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,
39
+ # if any.
40
+ # @!attribute [rw] filter
41
+ # @return [::String]
42
+ # Optional. The filter to apply to list results.
43
+ # @!attribute [rw] order_by
44
+ # @return [::String]
45
+ # Optional. Specifies the ordering of results following syntax at
46
+ # https://cloud.google.com/apis/design/design_patterns#sorting_order.
47
+ class ListGameServerDeploymentsRequest
48
+ include ::Google::Protobuf::MessageExts
49
+ extend ::Google::Protobuf::MessageExts::ClassMethods
50
+ end
51
+
52
+ # Response message for GameServerDeploymentsService.ListGameServerDeployments.
53
+ # @!attribute [rw] game_server_deployments
54
+ # @return [::Array<::Google::Cloud::Gaming::V1::GameServerDeployment>]
55
+ # The list of game server deployments.
56
+ # @!attribute [rw] next_page_token
57
+ # @return [::String]
58
+ # Token to retrieve the next page of results, or empty if there are no more
59
+ # results in the list.
60
+ # @!attribute [rw] unreachable
61
+ # @return [::Array<::String>]
62
+ # List of locations that could not be reached.
63
+ class ListGameServerDeploymentsResponse
64
+ include ::Google::Protobuf::MessageExts
65
+ extend ::Google::Protobuf::MessageExts::ClassMethods
66
+ end
67
+
68
+ # Request message for GameServerDeploymentsService.GetGameServerDeployment.
69
+ # @!attribute [rw] name
70
+ # @return [::String]
71
+ # Required. The name of the game server delpoyment to retrieve. Uses the form:
72
+ #
73
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
74
+ class GetGameServerDeploymentRequest
75
+ include ::Google::Protobuf::MessageExts
76
+ extend ::Google::Protobuf::MessageExts::ClassMethods
77
+ end
78
+
79
+ # Request message for
80
+ # GameServerDeploymentsService.GetGameServerDeploymentRollout.
81
+ # @!attribute [rw] name
82
+ # @return [::String]
83
+ # Required. The name of the game server delpoyment to retrieve. Uses the form:
84
+ #
85
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
86
+ class GetGameServerDeploymentRolloutRequest
87
+ include ::Google::Protobuf::MessageExts
88
+ extend ::Google::Protobuf::MessageExts::ClassMethods
89
+ end
90
+
91
+ # Request message for GameServerDeploymentsService.CreateGameServerDeployment.
92
+ # @!attribute [rw] parent
93
+ # @return [::String]
94
+ # Required. The parent resource name. Uses the form:
95
+ # `projects/{project}/locations/{location}`.
96
+ # @!attribute [rw] deployment_id
97
+ # @return [::String]
98
+ # Required. The ID of the game server delpoyment resource to be created.
99
+ # @!attribute [rw] game_server_deployment
100
+ # @return [::Google::Cloud::Gaming::V1::GameServerDeployment]
101
+ # Required. The game server delpoyment resource to be created.
102
+ class CreateGameServerDeploymentRequest
103
+ include ::Google::Protobuf::MessageExts
104
+ extend ::Google::Protobuf::MessageExts::ClassMethods
105
+ end
106
+
107
+ # Request message for GameServerDeploymentsService.DeleteGameServerDeployment.
108
+ # @!attribute [rw] name
109
+ # @return [::String]
110
+ # Required. The name of the game server delpoyment to delete. Uses the form:
111
+ #
112
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
113
+ class DeleteGameServerDeploymentRequest
114
+ include ::Google::Protobuf::MessageExts
115
+ extend ::Google::Protobuf::MessageExts::ClassMethods
116
+ end
117
+
118
+ # Request message for GameServerDeploymentsService.UpdateGameServerDeployment.
119
+ # Only allows updates for labels.
120
+ # @!attribute [rw] game_server_deployment
121
+ # @return [::Google::Cloud::Gaming::V1::GameServerDeployment]
122
+ # Required. The game server delpoyment to be updated.
123
+ # Only fields specified in update_mask are updated.
124
+ # @!attribute [rw] update_mask
125
+ # @return [::Google::Protobuf::FieldMask]
126
+ # Required. Mask of fields to update. At least one path must be supplied in
127
+ # this field. For the `FieldMask` definition, see
128
+ #
129
+ # https:
130
+ # //developers.google.com/protocol-buffers
131
+ # // /docs/reference/google.protobuf#fieldmask
132
+ class UpdateGameServerDeploymentRequest
133
+ include ::Google::Protobuf::MessageExts
134
+ extend ::Google::Protobuf::MessageExts::ClassMethods
135
+ end
136
+
137
+ # Request message for
138
+ # GameServerDeploymentsService.UpdateGameServerRolloutDeployment.
139
+ # @!attribute [rw] rollout
140
+ # @return [::Google::Cloud::Gaming::V1::GameServerDeploymentRollout]
141
+ # Required. The game server delpoyment rollout to be updated.
142
+ # Only fields specified in update_mask are updated.
143
+ # @!attribute [rw] update_mask
144
+ # @return [::Google::Protobuf::FieldMask]
145
+ # Required. Mask of fields to update. At least one path must be supplied in
146
+ # this field. For the `FieldMask` definition, see
147
+ #
148
+ # https:
149
+ # //developers.google.com/protocol-buffers
150
+ # // /docs/reference/google.protobuf#fieldmask
151
+ class UpdateGameServerDeploymentRolloutRequest
152
+ include ::Google::Protobuf::MessageExts
153
+ extend ::Google::Protobuf::MessageExts::ClassMethods
154
+ end
155
+
156
+ # Request message for GameServerDeploymentsService.FetchDeploymentState.
157
+ # @!attribute [rw] name
158
+ # @return [::String]
159
+ # Required. The name of the game server delpoyment. Uses the form:
160
+ #
161
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
162
+ class FetchDeploymentStateRequest
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Response message for GameServerDeploymentsService.FetchDeploymentState.
168
+ # @!attribute [rw] cluster_state
169
+ # @return [::Array<::Google::Cloud::Gaming::V1::FetchDeploymentStateResponse::DeployedClusterState>]
170
+ # The state of the game server deployment in each game server cluster.
171
+ # @!attribute [rw] unavailable
172
+ # @return [::Array<::String>]
173
+ # List of locations that could not be reached.
174
+ class FetchDeploymentStateResponse
175
+ include ::Google::Protobuf::MessageExts
176
+ extend ::Google::Protobuf::MessageExts::ClassMethods
177
+
178
+ # The game server cluster changes made by the game server deployment.
179
+ # @!attribute [rw] cluster
180
+ # @return [::String]
181
+ # The name of the cluster.
182
+ # @!attribute [rw] fleet_details
183
+ # @return [::Array<::Google::Cloud::Gaming::V1::DeployedFleetDetails>]
184
+ # The details about the Agones fleets and autoscalers created in the
185
+ # game server cluster.
186
+ class DeployedClusterState
187
+ include ::Google::Protobuf::MessageExts
188
+ extend ::Google::Protobuf::MessageExts::ClassMethods
189
+ end
190
+ end
191
+
192
+ # A game server deployment resource.
193
+ # @!attribute [rw] name
194
+ # @return [::String]
195
+ # The resource name of the game server deployment. Uses the form:
196
+ #
197
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
198
+ # For example,
199
+ # `projects/my-project/locations/global/gameServerDeployments/my-deployment`.
200
+ # @!attribute [r] create_time
201
+ # @return [::Google::Protobuf::Timestamp]
202
+ # Output only. The creation time.
203
+ # @!attribute [r] update_time
204
+ # @return [::Google::Protobuf::Timestamp]
205
+ # Output only. The last-modified time.
206
+ # @!attribute [rw] labels
207
+ # @return [::Google::Protobuf::Map{::String => ::String}]
208
+ # The labels associated with this game server deployment. Each label is a
209
+ # key-value pair.
210
+ # @!attribute [rw] etag
211
+ # @return [::String]
212
+ # ETag of the resource.
213
+ # @!attribute [rw] description
214
+ # @return [::String]
215
+ # Human readable description of the game server delpoyment.
216
+ class GameServerDeployment
217
+ include ::Google::Protobuf::MessageExts
218
+ extend ::Google::Protobuf::MessageExts::ClassMethods
219
+
220
+ # @!attribute [rw] key
221
+ # @return [::String]
222
+ # @!attribute [rw] value
223
+ # @return [::String]
224
+ class LabelsEntry
225
+ include ::Google::Protobuf::MessageExts
226
+ extend ::Google::Protobuf::MessageExts::ClassMethods
227
+ end
228
+ end
229
+
230
+ # A game server config override.
231
+ # @!attribute [rw] realms_selector
232
+ # @return [::Google::Cloud::Gaming::V1::RealmSelector]
233
+ # Selector for choosing applicable realms.
234
+ # @!attribute [rw] config_version
235
+ # @return [::String]
236
+ # The game server config for this override.
237
+ class GameServerConfigOverride
238
+ include ::Google::Protobuf::MessageExts
239
+ extend ::Google::Protobuf::MessageExts::ClassMethods
240
+ end
241
+
242
+ # The game server deployment rollout which represents the desired rollout
243
+ # state.
244
+ # @!attribute [rw] name
245
+ # @return [::String]
246
+ # The resource name of the game server deployment rollout. Uses the form:
247
+ #
248
+ # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
249
+ # For example,
250
+ #
251
+ # `projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout`.
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] default_game_server_config
259
+ # @return [::String]
260
+ # The default game server config is applied to all realms unless overridden
261
+ # in the rollout. For example,
262
+ #
263
+ # `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
264
+ # @!attribute [rw] game_server_config_overrides
265
+ # @return [::Array<::Google::Cloud::Gaming::V1::GameServerConfigOverride>]
266
+ # Contains the game server config rollout overrides. Overrides are processed
267
+ # in the order they are listed. Once a match is found for a realm, the rest
268
+ # of the list is not processed.
269
+ # @!attribute [rw] etag
270
+ # @return [::String]
271
+ # ETag of the resource.
272
+ class GameServerDeploymentRollout
273
+ include ::Google::Protobuf::MessageExts
274
+ extend ::Google::Protobuf::MessageExts::ClassMethods
275
+ end
276
+
277
+ # Request message for PreviewGameServerDeploymentRollout.
278
+ # @!attribute [rw] rollout
279
+ # @return [::Google::Cloud::Gaming::V1::GameServerDeploymentRollout]
280
+ # Required. The game server deployment rollout to be updated.
281
+ # Only fields specified in update_mask are updated.
282
+ # @!attribute [rw] update_mask
283
+ # @return [::Google::Protobuf::FieldMask]
284
+ # Optional. Mask of fields to update. At least one path must be supplied in
285
+ # this field. For the `FieldMask` definition, see
286
+ #
287
+ # https:
288
+ # //developers.google.com/protocol-buffers
289
+ # // /docs/reference/google.protobuf#fieldmask
290
+ # @!attribute [rw] preview_time
291
+ # @return [::Google::Protobuf::Timestamp]
292
+ # Optional. The target timestamp to compute the preview. Defaults to the immediately
293
+ # after the proposed rollout completes.
294
+ class PreviewGameServerDeploymentRolloutRequest
295
+ include ::Google::Protobuf::MessageExts
296
+ extend ::Google::Protobuf::MessageExts::ClassMethods
297
+ end
298
+
299
+ # Response message for PreviewGameServerDeploymentRollout.
300
+ # This has details about the Agones fleet and autoscaler to be actuated.
301
+ # @!attribute [rw] unavailable
302
+ # @return [::Array<::String>]
303
+ # Locations that could not be reached on this request.
304
+ # @!attribute [rw] etag
305
+ # @return [::String]
306
+ # ETag of the game server deployment.
307
+ # @!attribute [rw] target_state
308
+ # @return [::Google::Cloud::Gaming::V1::TargetState]
309
+ # The target state.
310
+ class PreviewGameServerDeploymentRolloutResponse
311
+ include ::Google::Protobuf::MessageExts
312
+ extend ::Google::Protobuf::MessageExts::ClassMethods
313
+ end
314
+ end
315
+ end
316
+ end
317
+ end