google-cloud-gaming-v1 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- 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 +12 -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_configs_service/client.rb +12 -14
- data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +12 -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_deployments_service/client.rb +20 -22
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +12 -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/realms_service/client.rb +16 -18
- data/lib/google/cloud/gaming/v1/realms_service/operations.rb +12 -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/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/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +27 -8
@@ -235,13 +235,11 @@ module Google
|
|
235
235
|
# # Call the list_realms method.
|
236
236
|
# result = client.list_realms request
|
237
237
|
#
|
238
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
239
|
-
# #
|
240
|
-
#
|
241
|
-
# # methods are also available for managing paging directly.
|
242
|
-
# result.each do |response|
|
238
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
239
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
240
|
+
# result.each do |item|
|
243
241
|
# # Each element is of type ::Google::Cloud::Gaming::V1::Realm.
|
244
|
-
# p
|
242
|
+
# p item
|
245
243
|
# end
|
246
244
|
#
|
247
245
|
def list_realms request, options = nil
|
@@ -418,14 +416,14 @@ module Google
|
|
418
416
|
# # Call the create_realm method.
|
419
417
|
# result = client.create_realm request
|
420
418
|
#
|
421
|
-
# # The returned object is of type Gapic::Operation. You can use
|
422
|
-
# #
|
423
|
-
# #
|
419
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
420
|
+
# # check the status of an operation, cancel it, or wait for results.
|
421
|
+
# # Here is how to wait for a response.
|
424
422
|
# result.wait_until_done! timeout: 60
|
425
423
|
# if result.response?
|
426
424
|
# p result.response
|
427
425
|
# else
|
428
|
-
# puts "
|
426
|
+
# puts "No response received."
|
429
427
|
# end
|
430
428
|
#
|
431
429
|
def create_realm request, options = nil
|
@@ -512,14 +510,14 @@ module Google
|
|
512
510
|
# # Call the delete_realm method.
|
513
511
|
# result = client.delete_realm request
|
514
512
|
#
|
515
|
-
# # The returned object is of type Gapic::Operation. You can use
|
516
|
-
# #
|
517
|
-
# #
|
513
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
514
|
+
# # check the status of an operation, cancel it, or wait for results.
|
515
|
+
# # Here is how to wait for a response.
|
518
516
|
# result.wait_until_done! timeout: 60
|
519
517
|
# if result.response?
|
520
518
|
# p result.response
|
521
519
|
# else
|
522
|
-
# puts "
|
520
|
+
# puts "No response received."
|
523
521
|
# end
|
524
522
|
#
|
525
523
|
def delete_realm request, options = nil
|
@@ -610,14 +608,14 @@ module Google
|
|
610
608
|
# # Call the update_realm method.
|
611
609
|
# result = client.update_realm request
|
612
610
|
#
|
613
|
-
# # The returned object is of type Gapic::Operation. You can use
|
614
|
-
# #
|
615
|
-
# #
|
611
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
612
|
+
# # check the status of an operation, cancel it, or wait for results.
|
613
|
+
# # Here is how to wait for a response.
|
616
614
|
# result.wait_until_done! timeout: 60
|
617
615
|
# if result.response?
|
618
616
|
# p result.response
|
619
617
|
# else
|
620
|
-
# puts "
|
618
|
+
# puts "No response received."
|
621
619
|
# end
|
622
620
|
#
|
623
621
|
def update_realm request, options = nil
|
@@ -158,13 +158,11 @@ module Google
|
|
158
158
|
# # Call the list_operations method.
|
159
159
|
# result = client.list_operations request
|
160
160
|
#
|
161
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
162
|
-
# #
|
163
|
-
#
|
164
|
-
# # methods are also available for managing paging directly.
|
165
|
-
# 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|
|
166
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
167
|
-
# p
|
165
|
+
# p item
|
168
166
|
# end
|
169
167
|
#
|
170
168
|
def list_operations request, options = nil
|
@@ -253,14 +251,14 @@ module Google
|
|
253
251
|
# # Call the get_operation method.
|
254
252
|
# result = client.get_operation request
|
255
253
|
#
|
256
|
-
# # The returned object is of type Gapic::Operation. You can use
|
257
|
-
# #
|
258
|
-
# #
|
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.
|
259
257
|
# result.wait_until_done! timeout: 60
|
260
258
|
# if result.response?
|
261
259
|
# p result.response
|
262
260
|
# else
|
263
|
-
# puts "
|
261
|
+
# puts "No response received."
|
264
262
|
# end
|
265
263
|
#
|
266
264
|
def get_operation request, options = nil
|
@@ -540,14 +538,14 @@ module Google
|
|
540
538
|
# # Call the wait_operation method.
|
541
539
|
# result = client.wait_operation request
|
542
540
|
#
|
543
|
-
# # The returned object is of type Gapic::Operation. You can use
|
544
|
-
# #
|
545
|
-
# #
|
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.
|
546
544
|
# result.wait_until_done! timeout: 60
|
547
545
|
# if result.response?
|
548
546
|
# p result.response
|
549
547
|
# else
|
550
|
-
# puts "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|