google-cloud-gaming-v1 0.6.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -143
  3. data/lib/google/cloud/gaming/v1/version.rb +3 -8
  4. metadata +16 -229
  5. data/.yardopts +0 -12
  6. data/AUTHENTICATION.md +0 -151
  7. data/lib/google/cloud/gaming/v1/common_pb.rb +0 -117
  8. data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +0 -142
  9. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +0 -1166
  10. data/lib/google/cloud/gaming/v1/game_server_clusters_service/credentials.rb +0 -51
  11. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +0 -768
  12. data/lib/google/cloud/gaming/v1/game_server_clusters_service/paths.rb +0 -73
  13. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/client.rb +0 -936
  14. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/operations.rb +0 -793
  15. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/service_stub.rb +0 -524
  16. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest.rb +0 -54
  17. data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +0 -57
  18. data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +0 -23
  19. data/lib/google/cloud/gaming/v1/game_server_clusters_service_services_pb.rb +0 -61
  20. data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +0 -73
  21. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +0 -736
  22. data/lib/google/cloud/gaming/v1/game_server_configs_service/credentials.rb +0 -51
  23. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +0 -768
  24. data/lib/google/cloud/gaming/v1/game_server_configs_service/paths.rb +0 -73
  25. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/client.rb +0 -605
  26. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/operations.rb +0 -793
  27. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/service_stub.rb +0 -285
  28. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest.rb +0 -53
  29. data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +0 -56
  30. data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +0 -23
  31. data/lib/google/cloud/gaming/v1/game_server_configs_service_services_pb.rb +0 -55
  32. data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +0 -119
  33. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +0 -1257
  34. data/lib/google/cloud/gaming/v1/game_server_deployments_service/credentials.rb +0 -51
  35. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +0 -768
  36. data/lib/google/cloud/gaming/v1/game_server_deployments_service/paths.rb +0 -88
  37. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/client.rb +0 -997
  38. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/operations.rb +0 -793
  39. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/service_stub.rb +0 -584
  40. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest.rb +0 -54
  41. data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +0 -57
  42. data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +0 -23
  43. data/lib/google/cloud/gaming/v1/game_server_deployments_service_services_pb.rb +0 -70
  44. data/lib/google/cloud/gaming/v1/realms_pb.rb +0 -78
  45. data/lib/google/cloud/gaming/v1/realms_service/client.rb +0 -945
  46. data/lib/google/cloud/gaming/v1/realms_service/credentials.rb +0 -51
  47. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +0 -768
  48. data/lib/google/cloud/gaming/v1/realms_service/paths.rb +0 -69
  49. data/lib/google/cloud/gaming/v1/realms_service/rest/client.rb +0 -761
  50. data/lib/google/cloud/gaming/v1/realms_service/rest/operations.rb +0 -793
  51. data/lib/google/cloud/gaming/v1/realms_service/rest/service_stub.rb +0 -405
  52. data/lib/google/cloud/gaming/v1/realms_service/rest.rb +0 -54
  53. data/lib/google/cloud/gaming/v1/realms_service.rb +0 -57
  54. data/lib/google/cloud/gaming/v1/realms_service_pb.rb +0 -23
  55. data/lib/google/cloud/gaming/v1/realms_service_services_pb.rb +0 -56
  56. data/lib/google/cloud/gaming/v1/rest.rb +0 -40
  57. data/lib/google/cloud/gaming/v1.rb +0 -48
  58. data/lib/google-cloud-gaming-v1.rb +0 -21
  59. data/proto_docs/README.md +0 -4
  60. data/proto_docs/google/api/client.rb +0 -318
  61. data/proto_docs/google/api/field_behavior.rb +0 -71
  62. data/proto_docs/google/api/launch_stage.rb +0 -71
  63. data/proto_docs/google/api/resource.rb +0 -222
  64. data/proto_docs/google/cloud/gaming/v1/common.rb +0 -302
  65. data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +0 -386
  66. data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +0 -180
  67. data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +0 -301
  68. data/proto_docs/google/cloud/gaming/v1/realms.rb +0 -191
  69. data/proto_docs/google/longrunning/operations.rb +0 -164
  70. data/proto_docs/google/protobuf/any.rb +0 -141
  71. data/proto_docs/google/protobuf/duration.rb +0 -98
  72. data/proto_docs/google/protobuf/empty.rb +0 -34
  73. data/proto_docs/google/protobuf/field_mask.rb +0 -229
  74. data/proto_docs/google/protobuf/timestamp.rb +0 -129
  75. data/proto_docs/google/rpc/status.rb +0 -48
@@ -1,301 +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 GameServerDeploymentsService.ListGameServerDeployments.
25
- # @!attribute [rw] parent
26
- # @return [::String]
27
- # Required. The parent resource name, in the following 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, in the following form:
72
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
73
- class GetGameServerDeploymentRequest
74
- include ::Google::Protobuf::MessageExts
75
- extend ::Google::Protobuf::MessageExts::ClassMethods
76
- end
77
-
78
- # Request message for
79
- # GameServerDeploymentsService.GetGameServerDeploymentRollout.
80
- # @!attribute [rw] name
81
- # @return [::String]
82
- # Required. The name of the game server delpoyment to retrieve, in the following form:
83
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
84
- class GetGameServerDeploymentRolloutRequest
85
- include ::Google::Protobuf::MessageExts
86
- extend ::Google::Protobuf::MessageExts::ClassMethods
87
- end
88
-
89
- # Request message for GameServerDeploymentsService.CreateGameServerDeployment.
90
- # @!attribute [rw] parent
91
- # @return [::String]
92
- # Required. The parent resource name, in the following form:
93
- # `projects/{project}/locations/{location}`.
94
- # @!attribute [rw] deployment_id
95
- # @return [::String]
96
- # Required. The ID of the game server delpoyment resource to be created.
97
- # @!attribute [rw] game_server_deployment
98
- # @return [::Google::Cloud::Gaming::V1::GameServerDeployment]
99
- # Required. The game server delpoyment resource to be created.
100
- class CreateGameServerDeploymentRequest
101
- include ::Google::Protobuf::MessageExts
102
- extend ::Google::Protobuf::MessageExts::ClassMethods
103
- end
104
-
105
- # Request message for GameServerDeploymentsService.DeleteGameServerDeployment.
106
- # @!attribute [rw] name
107
- # @return [::String]
108
- # Required. The name of the game server delpoyment to delete, in the following form:
109
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
110
- class DeleteGameServerDeploymentRequest
111
- include ::Google::Protobuf::MessageExts
112
- extend ::Google::Protobuf::MessageExts::ClassMethods
113
- end
114
-
115
- # Request message for GameServerDeploymentsService.UpdateGameServerDeployment.
116
- # Only allows updates for labels.
117
- # @!attribute [rw] game_server_deployment
118
- # @return [::Google::Cloud::Gaming::V1::GameServerDeployment]
119
- # Required. The game server delpoyment to be updated.
120
- # Only fields specified in update_mask are updated.
121
- # @!attribute [rw] update_mask
122
- # @return [::Google::Protobuf::FieldMask]
123
- # Required. Mask of fields to update. At least one path must be supplied in
124
- # this field. For the `FieldMask` definition, see
125
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
126
- class UpdateGameServerDeploymentRequest
127
- include ::Google::Protobuf::MessageExts
128
- extend ::Google::Protobuf::MessageExts::ClassMethods
129
- end
130
-
131
- # Request message for
132
- # GameServerDeploymentsService.UpdateGameServerRolloutDeployment.
133
- # @!attribute [rw] rollout
134
- # @return [::Google::Cloud::Gaming::V1::GameServerDeploymentRollout]
135
- # Required. The game server delpoyment rollout to be updated.
136
- # Only fields specified in update_mask are updated.
137
- # @!attribute [rw] update_mask
138
- # @return [::Google::Protobuf::FieldMask]
139
- # Required. Mask of fields to update. At least one path must be supplied in
140
- # this field. For the `FieldMask` definition, see
141
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
142
- class UpdateGameServerDeploymentRolloutRequest
143
- include ::Google::Protobuf::MessageExts
144
- extend ::Google::Protobuf::MessageExts::ClassMethods
145
- end
146
-
147
- # Request message for GameServerDeploymentsService.FetchDeploymentState.
148
- # @!attribute [rw] name
149
- # @return [::String]
150
- # Required. The name of the game server delpoyment, in the following form:
151
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
152
- class FetchDeploymentStateRequest
153
- include ::Google::Protobuf::MessageExts
154
- extend ::Google::Protobuf::MessageExts::ClassMethods
155
- end
156
-
157
- # Response message for GameServerDeploymentsService.FetchDeploymentState.
158
- # @!attribute [rw] cluster_state
159
- # @return [::Array<::Google::Cloud::Gaming::V1::FetchDeploymentStateResponse::DeployedClusterState>]
160
- # The state of the game server deployment in each game server cluster.
161
- # @!attribute [rw] unavailable
162
- # @return [::Array<::String>]
163
- # List of locations that could not be reached.
164
- class FetchDeploymentStateResponse
165
- include ::Google::Protobuf::MessageExts
166
- extend ::Google::Protobuf::MessageExts::ClassMethods
167
-
168
- # The game server cluster changes made by the game server deployment.
169
- # @!attribute [rw] cluster
170
- # @return [::String]
171
- # The name of the cluster.
172
- # @!attribute [rw] fleet_details
173
- # @return [::Array<::Google::Cloud::Gaming::V1::DeployedFleetDetails>]
174
- # The details about the Agones fleets and autoscalers created in the
175
- # game server cluster.
176
- class DeployedClusterState
177
- include ::Google::Protobuf::MessageExts
178
- extend ::Google::Protobuf::MessageExts::ClassMethods
179
- end
180
- end
181
-
182
- # A game server deployment resource.
183
- # @!attribute [rw] name
184
- # @return [::String]
185
- # The resource name of the game server deployment, in the following form:
186
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
187
- # For example,
188
- # `projects/my-project/locations/global/gameServerDeployments/my-deployment`.
189
- # @!attribute [r] create_time
190
- # @return [::Google::Protobuf::Timestamp]
191
- # Output only. The creation time.
192
- # @!attribute [r] update_time
193
- # @return [::Google::Protobuf::Timestamp]
194
- # Output only. The last-modified time.
195
- # @!attribute [rw] labels
196
- # @return [::Google::Protobuf::Map{::String => ::String}]
197
- # The labels associated with this game server deployment. Each label is a
198
- # key-value pair.
199
- # @!attribute [rw] etag
200
- # @return [::String]
201
- # ETag of the resource.
202
- # @!attribute [rw] description
203
- # @return [::String]
204
- # Human readable description of the game server delpoyment.
205
- class GameServerDeployment
206
- include ::Google::Protobuf::MessageExts
207
- extend ::Google::Protobuf::MessageExts::ClassMethods
208
-
209
- # @!attribute [rw] key
210
- # @return [::String]
211
- # @!attribute [rw] value
212
- # @return [::String]
213
- class LabelsEntry
214
- include ::Google::Protobuf::MessageExts
215
- extend ::Google::Protobuf::MessageExts::ClassMethods
216
- end
217
- end
218
-
219
- # A game server config override.
220
- # @!attribute [rw] realms_selector
221
- # @return [::Google::Cloud::Gaming::V1::RealmSelector]
222
- # Selector for choosing applicable realms.
223
- # @!attribute [rw] config_version
224
- # @return [::String]
225
- # The game server config for this override.
226
- class GameServerConfigOverride
227
- include ::Google::Protobuf::MessageExts
228
- extend ::Google::Protobuf::MessageExts::ClassMethods
229
- end
230
-
231
- # The game server deployment rollout which represents the desired rollout
232
- # state.
233
- # @!attribute [rw] name
234
- # @return [::String]
235
- # The resource name of the game server deployment rollout, in the following
236
- # form:
237
- # `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
238
- # For example,
239
- # `projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout`.
240
- # @!attribute [r] create_time
241
- # @return [::Google::Protobuf::Timestamp]
242
- # Output only. The creation time.
243
- # @!attribute [r] update_time
244
- # @return [::Google::Protobuf::Timestamp]
245
- # Output only. The last-modified time.
246
- # @!attribute [rw] default_game_server_config
247
- # @return [::String]
248
- # The default game server config is applied to all realms unless overridden
249
- # in the rollout. For example,
250
- # `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
251
- # @!attribute [rw] game_server_config_overrides
252
- # @return [::Array<::Google::Cloud::Gaming::V1::GameServerConfigOverride>]
253
- # Contains the game server config rollout overrides. Overrides are processed
254
- # in the order they are listed. Once a match is found for a realm, the rest
255
- # of the list is not processed.
256
- # @!attribute [rw] etag
257
- # @return [::String]
258
- # ETag of the resource.
259
- class GameServerDeploymentRollout
260
- include ::Google::Protobuf::MessageExts
261
- extend ::Google::Protobuf::MessageExts::ClassMethods
262
- end
263
-
264
- # Request message for PreviewGameServerDeploymentRollout.
265
- # @!attribute [rw] rollout
266
- # @return [::Google::Cloud::Gaming::V1::GameServerDeploymentRollout]
267
- # Required. The game server deployment rollout to be updated.
268
- # Only fields specified in update_mask are updated.
269
- # @!attribute [rw] update_mask
270
- # @return [::Google::Protobuf::FieldMask]
271
- # Optional. Mask of fields to update. At least one path must be supplied in
272
- # this field. For the `FieldMask` definition, see
273
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
274
- # @!attribute [rw] preview_time
275
- # @return [::Google::Protobuf::Timestamp]
276
- # Optional. The target timestamp to compute the preview. Defaults to the immediately
277
- # after the proposed rollout completes.
278
- class PreviewGameServerDeploymentRolloutRequest
279
- include ::Google::Protobuf::MessageExts
280
- extend ::Google::Protobuf::MessageExts::ClassMethods
281
- end
282
-
283
- # Response message for PreviewGameServerDeploymentRollout.
284
- # This has details about the Agones fleet and autoscaler to be actuated.
285
- # @!attribute [rw] unavailable
286
- # @return [::Array<::String>]
287
- # Locations that could not be reached on this request.
288
- # @!attribute [rw] etag
289
- # @return [::String]
290
- # ETag of the game server deployment.
291
- # @!attribute [rw] target_state
292
- # @return [::Google::Cloud::Gaming::V1::TargetState]
293
- # The target state.
294
- class PreviewGameServerDeploymentRolloutResponse
295
- include ::Google::Protobuf::MessageExts
296
- extend ::Google::Protobuf::MessageExts::ClassMethods
297
- end
298
- end
299
- end
300
- end
301
- end
@@ -1,191 +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 RealmsService.ListRealms.
25
- # @!attribute [rw] parent
26
- # @return [::String]
27
- # Required. The parent resource name, in the following 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, 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::ListRealmsResponse#next_page_token next_page_token} to
35
- # determine if there are more realms 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 ListRealmsRequest
48
- include ::Google::Protobuf::MessageExts
49
- extend ::Google::Protobuf::MessageExts::ClassMethods
50
- end
51
-
52
- # Response message for RealmsService.ListRealms.
53
- # @!attribute [rw] realms
54
- # @return [::Array<::Google::Cloud::Gaming::V1::Realm>]
55
- # The list of realms.
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 ListRealmsResponse
64
- include ::Google::Protobuf::MessageExts
65
- extend ::Google::Protobuf::MessageExts::ClassMethods
66
- end
67
-
68
- # Request message for RealmsService.GetRealm.
69
- # @!attribute [rw] name
70
- # @return [::String]
71
- # Required. The name of the realm to retrieve, in the following form:
72
- # `projects/{project}/locations/{location}/realms/{realm}`.
73
- class GetRealmRequest
74
- include ::Google::Protobuf::MessageExts
75
- extend ::Google::Protobuf::MessageExts::ClassMethods
76
- end
77
-
78
- # Request message for RealmsService.CreateRealm.
79
- # @!attribute [rw] parent
80
- # @return [::String]
81
- # Required. The parent resource name, in the following form:
82
- # `projects/{project}/locations/{location}`.
83
- # @!attribute [rw] realm_id
84
- # @return [::String]
85
- # Required. The ID of the realm resource to be created.
86
- # @!attribute [rw] realm
87
- # @return [::Google::Cloud::Gaming::V1::Realm]
88
- # Required. The realm resource to be created.
89
- class CreateRealmRequest
90
- include ::Google::Protobuf::MessageExts
91
- extend ::Google::Protobuf::MessageExts::ClassMethods
92
- end
93
-
94
- # Request message for RealmsService.DeleteRealm.
95
- # @!attribute [rw] name
96
- # @return [::String]
97
- # Required. The name of the realm to delete, in the following form:
98
- # `projects/{project}/locations/{location}/realms/{realm}`.
99
- class DeleteRealmRequest
100
- include ::Google::Protobuf::MessageExts
101
- extend ::Google::Protobuf::MessageExts::ClassMethods
102
- end
103
-
104
- # Request message for RealmsService.UpdateRealm.
105
- # @!attribute [rw] realm
106
- # @return [::Google::Cloud::Gaming::V1::Realm]
107
- # Required. The realm to be updated.
108
- # Only fields specified in update_mask are updated.
109
- # @!attribute [rw] update_mask
110
- # @return [::Google::Protobuf::FieldMask]
111
- # Required. The update mask applies to the resource. For the `FieldMask`
112
- # definition, see
113
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
114
- class UpdateRealmRequest
115
- include ::Google::Protobuf::MessageExts
116
- extend ::Google::Protobuf::MessageExts::ClassMethods
117
- end
118
-
119
- # Request message for RealmsService.PreviewRealmUpdate.
120
- # @!attribute [rw] realm
121
- # @return [::Google::Cloud::Gaming::V1::Realm]
122
- # Required. The realm to be updated.
123
- # Only fields specified in update_mask are updated.
124
- # @!attribute [rw] update_mask
125
- # @return [::Google::Protobuf::FieldMask]
126
- # Required. The update mask applies to the resource. For the `FieldMask`
127
- # definition, see
128
- # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
129
- # @!attribute [rw] preview_time
130
- # @return [::Google::Protobuf::Timestamp]
131
- # Optional. The target timestamp to compute the preview.
132
- class PreviewRealmUpdateRequest
133
- include ::Google::Protobuf::MessageExts
134
- extend ::Google::Protobuf::MessageExts::ClassMethods
135
- end
136
-
137
- # Response message for RealmsService.PreviewRealmUpdate.
138
- # @!attribute [rw] etag
139
- # @return [::String]
140
- # ETag of the realm.
141
- # @!attribute [rw] target_state
142
- # @return [::Google::Cloud::Gaming::V1::TargetState]
143
- # The target state.
144
- class PreviewRealmUpdateResponse
145
- include ::Google::Protobuf::MessageExts
146
- extend ::Google::Protobuf::MessageExts::ClassMethods
147
- end
148
-
149
- # A realm resource.
150
- # @!attribute [rw] name
151
- # @return [::String]
152
- # The resource name of the realm, in the following form:
153
- # `projects/{project}/locations/{location}/realms/{realm}`. For
154
- # example, `projects/my-project/locations/{location}/realms/my-realm`.
155
- # @!attribute [r] create_time
156
- # @return [::Google::Protobuf::Timestamp]
157
- # Output only. The creation time.
158
- # @!attribute [r] update_time
159
- # @return [::Google::Protobuf::Timestamp]
160
- # Output only. The last-modified time.
161
- # @!attribute [rw] labels
162
- # @return [::Google::Protobuf::Map{::String => ::String}]
163
- # The labels associated with this realm. Each label is a key-value pair.
164
- # @!attribute [rw] time_zone
165
- # @return [::String]
166
- # Required. Time zone where all policies targeting this realm are evaluated. The value
167
- # of this field must be from the IANA time zone database:
168
- # https://www.iana.org/time-zones.
169
- # @!attribute [rw] etag
170
- # @return [::String]
171
- # ETag of the resource.
172
- # @!attribute [rw] description
173
- # @return [::String]
174
- # Human readable description of the realm.
175
- class Realm
176
- include ::Google::Protobuf::MessageExts
177
- extend ::Google::Protobuf::MessageExts::ClassMethods
178
-
179
- # @!attribute [rw] key
180
- # @return [::String]
181
- # @!attribute [rw] value
182
- # @return [::String]
183
- class LabelsEntry
184
- include ::Google::Protobuf::MessageExts
185
- extend ::Google::Protobuf::MessageExts::ClassMethods
186
- end
187
- end
188
- end
189
- end
190
- end
191
- end
@@ -1,164 +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 Longrunning
22
- # This resource represents a long-running operation that is the result of a
23
- # network API call.
24
- # @!attribute [rw] name
25
- # @return [::String]
26
- # The server-assigned name, which is only unique within the same service that
27
- # originally returns it. If you use the default HTTP mapping, the
28
- # `name` should be a resource name ending with `operations/{unique_id}`.
29
- # @!attribute [rw] metadata
30
- # @return [::Google::Protobuf::Any]
31
- # Service-specific metadata associated with the operation. It typically
32
- # contains progress information and common metadata such as create time.
33
- # Some services might not provide such metadata. Any method that returns a
34
- # long-running operation should document the metadata type, if any.
35
- # @!attribute [rw] done
36
- # @return [::Boolean]
37
- # If the value is `false`, it means the operation is still in progress.
38
- # If `true`, the operation is completed, and either `error` or `response` is
39
- # available.
40
- # @!attribute [rw] error
41
- # @return [::Google::Rpc::Status]
42
- # The error result of the operation in case of failure or cancellation.
43
- # @!attribute [rw] response
44
- # @return [::Google::Protobuf::Any]
45
- # The normal response of the operation in case of success. If the original
46
- # method returns no data on success, such as `Delete`, the response is
47
- # `google.protobuf.Empty`. If the original method is standard
48
- # `Get`/`Create`/`Update`, the response should be the resource. For other
49
- # methods, the response should have the type `XxxResponse`, where `Xxx`
50
- # is the original method name. For example, if the original method name
51
- # is `TakeSnapshot()`, the inferred response type is
52
- # `TakeSnapshotResponse`.
53
- class Operation
54
- include ::Google::Protobuf::MessageExts
55
- extend ::Google::Protobuf::MessageExts::ClassMethods
56
- end
57
-
58
- # The request message for Operations.GetOperation.
59
- # @!attribute [rw] name
60
- # @return [::String]
61
- # The name of the operation resource.
62
- class GetOperationRequest
63
- include ::Google::Protobuf::MessageExts
64
- extend ::Google::Protobuf::MessageExts::ClassMethods
65
- end
66
-
67
- # The request message for Operations.ListOperations.
68
- # @!attribute [rw] name
69
- # @return [::String]
70
- # The name of the operation's parent resource.
71
- # @!attribute [rw] filter
72
- # @return [::String]
73
- # The standard list filter.
74
- # @!attribute [rw] page_size
75
- # @return [::Integer]
76
- # The standard list page size.
77
- # @!attribute [rw] page_token
78
- # @return [::String]
79
- # The standard list page token.
80
- class ListOperationsRequest
81
- include ::Google::Protobuf::MessageExts
82
- extend ::Google::Protobuf::MessageExts::ClassMethods
83
- end
84
-
85
- # The response message for Operations.ListOperations.
86
- # @!attribute [rw] operations
87
- # @return [::Array<::Google::Longrunning::Operation>]
88
- # A list of operations that matches the specified filter in the request.
89
- # @!attribute [rw] next_page_token
90
- # @return [::String]
91
- # The standard List next-page token.
92
- class ListOperationsResponse
93
- include ::Google::Protobuf::MessageExts
94
- extend ::Google::Protobuf::MessageExts::ClassMethods
95
- end
96
-
97
- # The request message for Operations.CancelOperation.
98
- # @!attribute [rw] name
99
- # @return [::String]
100
- # The name of the operation resource to be cancelled.
101
- class CancelOperationRequest
102
- include ::Google::Protobuf::MessageExts
103
- extend ::Google::Protobuf::MessageExts::ClassMethods
104
- end
105
-
106
- # The request message for Operations.DeleteOperation.
107
- # @!attribute [rw] name
108
- # @return [::String]
109
- # The name of the operation resource to be deleted.
110
- class DeleteOperationRequest
111
- include ::Google::Protobuf::MessageExts
112
- extend ::Google::Protobuf::MessageExts::ClassMethods
113
- end
114
-
115
- # The request message for Operations.WaitOperation.
116
- # @!attribute [rw] name
117
- # @return [::String]
118
- # The name of the operation resource to wait on.
119
- # @!attribute [rw] timeout
120
- # @return [::Google::Protobuf::Duration]
121
- # The maximum duration to wait before timing out. If left blank, the wait
122
- # will be at most the time permitted by the underlying HTTP/RPC protocol.
123
- # If RPC context deadline is also specified, the shorter one will be used.
124
- class WaitOperationRequest
125
- include ::Google::Protobuf::MessageExts
126
- extend ::Google::Protobuf::MessageExts::ClassMethods
127
- end
128
-
129
- # A message representing the message types used by a long-running operation.
130
- #
131
- # Example:
132
- #
133
- # rpc LongRunningRecognize(LongRunningRecognizeRequest)
134
- # returns (google.longrunning.Operation) {
135
- # option (google.longrunning.operation_info) = {
136
- # response_type: "LongRunningRecognizeResponse"
137
- # metadata_type: "LongRunningRecognizeMetadata"
138
- # };
139
- # }
140
- # @!attribute [rw] response_type
141
- # @return [::String]
142
- # Required. The message name of the primary return type for this
143
- # long-running operation.
144
- # This type will be used to deserialize the LRO's response.
145
- #
146
- # If the response is in a different package from the rpc, a fully-qualified
147
- # message name must be used (e.g. `google.protobuf.Struct`).
148
- #
149
- # Note: Altering this value constitutes a breaking change.
150
- # @!attribute [rw] metadata_type
151
- # @return [::String]
152
- # Required. The message name of the metadata type for this long-running
153
- # operation.
154
- #
155
- # If the response is in a different package from the rpc, a fully-qualified
156
- # message name must be used (e.g. `google.protobuf.Struct`).
157
- #
158
- # Note: Altering this value constitutes a breaking change.
159
- class OperationInfo
160
- include ::Google::Protobuf::MessageExts
161
- extend ::Google::Protobuf::MessageExts::ClassMethods
162
- end
163
- end
164
- end