google-cloud-gaming-v1 0.4.4 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +12 -7
- data/lib/google/cloud/gaming/v1/common_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +16 -18
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +15 -14
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/client.rb +936 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/operations.rb +793 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/service_stub.rb +524 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest.rb +54 -0
- data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +7 -1
- data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +12 -14
- data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +15 -14
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/client.rb +605 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/operations.rb +793 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/service_stub.rb +285 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service/rest.rb +53 -0
- data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +7 -1
- data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +20 -22
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +15 -14
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/client.rb +997 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/operations.rb +793 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/service_stub.rb +584 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest.rb +54 -0
- data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +7 -1
- data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/realms_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/realms_service/client.rb +16 -18
- data/lib/google/cloud/gaming/v1/realms_service/operations.rb +15 -14
- data/lib/google/cloud/gaming/v1/realms_service/rest/client.rb +761 -0
- data/lib/google/cloud/gaming/v1/realms_service/rest/operations.rb +793 -0
- data/lib/google/cloud/gaming/v1/realms_service/rest/service_stub.rb +405 -0
- data/lib/google/cloud/gaming/v1/realms_service/rest.rb +54 -0
- data/lib/google/cloud/gaming/v1/realms_service.rb +7 -1
- data/lib/google/cloud/gaming/v1/realms_service_pb.rb +2 -1
- data/lib/google/cloud/gaming/v1/rest.rb +40 -0
- data/lib/google/cloud/gaming/v1/version.rb +1 -1
- data/lib/google/cloud/gaming/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +32 -13
|
@@ -227,13 +227,11 @@ module Google
|
|
|
227
227
|
# # Call the list_game_server_configs method.
|
|
228
228
|
# result = client.list_game_server_configs request
|
|
229
229
|
#
|
|
230
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
|
231
|
-
# #
|
|
232
|
-
#
|
|
233
|
-
# # methods are also available for managing paging directly.
|
|
234
|
-
# result.each do |response|
|
|
230
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
231
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
232
|
+
# result.each do |item|
|
|
235
233
|
# # Each element is of type ::Google::Cloud::Gaming::V1::GameServerConfig.
|
|
236
|
-
# p
|
|
234
|
+
# p item
|
|
237
235
|
# end
|
|
238
236
|
#
|
|
239
237
|
def list_game_server_configs request, options = nil
|
|
@@ -412,14 +410,14 @@ module Google
|
|
|
412
410
|
# # Call the create_game_server_config method.
|
|
413
411
|
# result = client.create_game_server_config request
|
|
414
412
|
#
|
|
415
|
-
# # The returned object is of type Gapic::Operation. You can use
|
|
416
|
-
# #
|
|
417
|
-
# #
|
|
413
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
414
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
415
|
+
# # Here is how to wait for a response.
|
|
418
416
|
# result.wait_until_done! timeout: 60
|
|
419
417
|
# if result.response?
|
|
420
418
|
# p result.response
|
|
421
419
|
# else
|
|
422
|
-
# puts "
|
|
420
|
+
# puts "No response received."
|
|
423
421
|
# end
|
|
424
422
|
#
|
|
425
423
|
def create_game_server_config request, options = nil
|
|
@@ -507,14 +505,14 @@ module Google
|
|
|
507
505
|
# # Call the delete_game_server_config method.
|
|
508
506
|
# result = client.delete_game_server_config request
|
|
509
507
|
#
|
|
510
|
-
# # The returned object is of type Gapic::Operation. You can use
|
|
511
|
-
# #
|
|
512
|
-
# #
|
|
508
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
509
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
510
|
+
# # Here is how to wait for a response.
|
|
513
511
|
# result.wait_until_done! timeout: 60
|
|
514
512
|
# if result.response?
|
|
515
513
|
# p result.response
|
|
516
514
|
# else
|
|
517
|
-
# puts "
|
|
515
|
+
# puts "No response received."
|
|
518
516
|
# end
|
|
519
517
|
#
|
|
520
518
|
def delete_game_server_config request, options = nil
|
|
@@ -95,6 +95,9 @@ module Google
|
|
|
95
95
|
channel_args: @config.channel_args,
|
|
96
96
|
interceptors: @config.interceptors
|
|
97
97
|
)
|
|
98
|
+
|
|
99
|
+
# Used by an LRO wrapper for some methods of this service
|
|
100
|
+
@operations_client = self
|
|
98
101
|
end
|
|
99
102
|
|
|
100
103
|
# Service calls
|
|
@@ -155,13 +158,11 @@ module Google
|
|
|
155
158
|
# # Call the list_operations method.
|
|
156
159
|
# result = client.list_operations request
|
|
157
160
|
#
|
|
158
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
|
159
|
-
# #
|
|
160
|
-
#
|
|
161
|
-
# # methods are also available for managing paging directly.
|
|
162
|
-
# result.each do |response|
|
|
161
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
|
162
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
|
163
|
+
# result.each do |item|
|
|
163
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
|
164
|
-
# p
|
|
165
|
+
# p item
|
|
165
166
|
# end
|
|
166
167
|
#
|
|
167
168
|
def list_operations request, options = nil
|
|
@@ -250,14 +251,14 @@ module Google
|
|
|
250
251
|
# # Call the get_operation method.
|
|
251
252
|
# result = client.get_operation request
|
|
252
253
|
#
|
|
253
|
-
# # The returned object is of type Gapic::Operation. You can use
|
|
254
|
-
# #
|
|
255
|
-
# #
|
|
254
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
255
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
256
|
+
# # Here is how to wait for a response.
|
|
256
257
|
# result.wait_until_done! timeout: 60
|
|
257
258
|
# if result.response?
|
|
258
259
|
# p result.response
|
|
259
260
|
# else
|
|
260
|
-
# puts "
|
|
261
|
+
# puts "No response received."
|
|
261
262
|
# end
|
|
262
263
|
#
|
|
263
264
|
def get_operation request, options = nil
|
|
@@ -537,14 +538,14 @@ module Google
|
|
|
537
538
|
# # Call the wait_operation method.
|
|
538
539
|
# result = client.wait_operation request
|
|
539
540
|
#
|
|
540
|
-
# # The returned object is of type Gapic::Operation. You can use
|
|
541
|
-
# #
|
|
542
|
-
# #
|
|
541
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
542
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
543
|
+
# # Here is how to wait for a response.
|
|
543
544
|
# result.wait_until_done! timeout: 60
|
|
544
545
|
# if result.response?
|
|
545
546
|
# p result.response
|
|
546
547
|
# else
|
|
547
|
-
# puts "
|
|
548
|
+
# puts "No response received."
|
|
548
549
|
# end
|
|
549
550
|
#
|
|
550
551
|
def wait_operation request, options = nil
|