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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/README.md +2 -2
  4. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +16 -18
  5. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +12 -14
  6. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/client.rb +936 -0
  7. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/operations.rb +793 -0
  8. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/service_stub.rb +524 -0
  9. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest.rb +54 -0
  10. data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +7 -1
  11. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +12 -14
  12. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +12 -14
  13. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/client.rb +605 -0
  14. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/operations.rb +793 -0
  15. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/service_stub.rb +285 -0
  16. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest.rb +53 -0
  17. data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +7 -1
  18. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +20 -22
  19. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +12 -14
  20. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/client.rb +997 -0
  21. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/operations.rb +793 -0
  22. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/service_stub.rb +584 -0
  23. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest.rb +54 -0
  24. data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +7 -1
  25. data/lib/google/cloud/gaming/v1/realms_service/client.rb +16 -18
  26. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +12 -14
  27. data/lib/google/cloud/gaming/v1/realms_service/rest/client.rb +761 -0
  28. data/lib/google/cloud/gaming/v1/realms_service/rest/operations.rb +793 -0
  29. data/lib/google/cloud/gaming/v1/realms_service/rest/service_stub.rb +405 -0
  30. data/lib/google/cloud/gaming/v1/realms_service/rest.rb +54 -0
  31. data/lib/google/cloud/gaming/v1/realms_service.rb +7 -1
  32. data/lib/google/cloud/gaming/v1/rest.rb +40 -0
  33. data/lib/google/cloud/gaming/v1/version.rb +1 -1
  34. data/lib/google/cloud/gaming/v1.rb +7 -2
  35. data/proto_docs/google/api/client.rb +318 -0
  36. data/proto_docs/google/api/launch_stage.rb +71 -0
  37. data/proto_docs/google/protobuf/empty.rb +0 -2
  38. data/proto_docs/google/rpc/status.rb +4 -2
  39. metadata +27 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4a3281ca7c4eeefe9cb0d17dfd9ec56c3c1e82ffc0c84b370d484fbeae1026c
4
- data.tar.gz: dd36a9dbab765ff15fc20ec6889865d92b7f99372fd54817ab94354154566b63
3
+ metadata.gz: 1449fc3600ab1bb97db2d0fc2030b20cab6a9b06e3fa1777b77dd847d04e5fc5
4
+ data.tar.gz: 8dbecee2878824e105f69e582271915b66f3f12af2d5d505937aab2f6a781c20
5
5
  SHA512:
6
- metadata.gz: 4d9f1607929cb5d06b71e28440cdeb804a74664ad20e672e85ae75bf8355592a623a3fe8b65b78a36bb9dc3d6b21c308f299af495d39f8a246e23a841aa3bf91
7
- data.tar.gz: 915e325b1b30c81a5c2e8cedb4f7295924064ec08c917cd021037e1c19957b3c4bed36faa228a01ad77af25d89689a70349e43a00d02fd81e4bd499a378d22ff
6
+ metadata.gz: 40c85896e4fb901855dbe15f1f3e412f49735ad7c1a9f6c86b39531f952fd5fc21f6ed91baa970ff279c38f08b35314116f7c73226bc97359b9d02716e3af4d6
7
+ data.tar.gz: 9ea3ce1293d13ed78a156ae62362a064f53ba8eddb13f7740dc84465a218308afb59e972e7b9ce0c329380b9195dfef9009f72a6d75d64ed10b847ee6b16e6e2
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Gaming V1 API
2
2
 
3
- API Client library for the Cloud Gaming V1 API
3
+ Deploy and manage infrastructure for global multiplayer gaming experiences.
4
4
 
5
5
  With Game Servers, studios and publishers can deploy and manage their game server infrastructure hosted on multiple Agones clusters around the world through a single interface.
6
6
 
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -251,13 +251,11 @@ module Google
251
251
  # # Call the list_game_server_clusters method.
252
252
  # result = client.list_game_server_clusters request
253
253
  #
254
- # # The returned object is of type Gapic::PagedEnumerable. You can
255
- # # iterate over all elements by calling #each, and the enumerable
256
- # # will lazily make API calls to fetch subsequent pages. Other
257
- # # methods are also available for managing paging directly.
258
- # result.each do |response|
254
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
255
+ # # over elements, and API calls will be issued to fetch pages as needed.
256
+ # result.each do |item|
259
257
  # # Each element is of type ::Google::Cloud::Gaming::V1::GameServerCluster.
260
- # p response
258
+ # p item
261
259
  # end
262
260
  #
263
261
  def list_game_server_clusters request, options = nil
@@ -441,14 +439,14 @@ module Google
441
439
  # # Call the create_game_server_cluster method.
442
440
  # result = client.create_game_server_cluster request
443
441
  #
444
- # # The returned object is of type Gapic::Operation. You can use this
445
- # # object to check the status of an operation, cancel it, or wait
446
- # # for results. Here is how to block until completion:
442
+ # # The returned object is of type Gapic::Operation. You can use it to
443
+ # # check the status of an operation, cancel it, or wait for results.
444
+ # # Here is how to wait for a response.
447
445
  # result.wait_until_done! timeout: 60
448
446
  # if result.response?
449
447
  # p result.response
450
448
  # else
451
- # puts "Error!"
449
+ # puts "No response received."
452
450
  # end
453
451
  #
454
452
  def create_game_server_cluster request, options = nil
@@ -631,14 +629,14 @@ module Google
631
629
  # # Call the delete_game_server_cluster method.
632
630
  # result = client.delete_game_server_cluster request
633
631
  #
634
- # # The returned object is of type Gapic::Operation. You can use this
635
- # # object to check the status of an operation, cancel it, or wait
636
- # # for results. Here is how to block until completion:
632
+ # # The returned object is of type Gapic::Operation. You can use it to
633
+ # # check the status of an operation, cancel it, or wait for results.
634
+ # # Here is how to wait for a response.
637
635
  # result.wait_until_done! timeout: 60
638
636
  # if result.response?
639
637
  # p result.response
640
638
  # else
641
- # puts "Error!"
639
+ # puts "No response received."
642
640
  # end
643
641
  #
644
642
  def delete_game_server_cluster request, options = nil
@@ -817,14 +815,14 @@ module Google
817
815
  # # Call the update_game_server_cluster method.
818
816
  # result = client.update_game_server_cluster request
819
817
  #
820
- # # The returned object is of type Gapic::Operation. You can use this
821
- # # object to check the status of an operation, cancel it, or wait
822
- # # for results. Here is how to block until completion:
818
+ # # The returned object is of type Gapic::Operation. You can use it to
819
+ # # check the status of an operation, cancel it, or wait for results.
820
+ # # Here is how to wait for a response.
823
821
  # result.wait_until_done! timeout: 60
824
822
  # if result.response?
825
823
  # p result.response
826
824
  # else
827
- # puts "Error!"
825
+ # puts "No response received."
828
826
  # end
829
827
  #
830
828
  def update_game_server_cluster 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
- # # iterate over all elements by calling #each, and the enumerable
163
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
257
- # # object to check the status of an operation, cancel it, or wait
258
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
544
- # # object to check the status of an operation, cancel it, or wait
545
- # # for results. Here is how to block until completion:
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 "Error!"
548
+ # puts "No response received."
551
549
  # end
552
550
  #
553
551
  def wait_operation request, options = nil