google-cloud-gaming-v1 0.5.0 → 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 +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1449fc3600ab1bb97db2d0fc2030b20cab6a9b06e3fa1777b77dd847d04e5fc5
|
4
|
+
data.tar.gz: 8dbecee2878824e105f69e582271915b66f3f12af2d5d505937aab2f6a781c20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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/
|
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
|
-
# #
|
256
|
-
#
|
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
|
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
|
445
|
-
# #
|
446
|
-
# #
|
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 "
|
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
|
635
|
-
# #
|
636
|
-
# #
|
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 "
|
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
|
821
|
-
# #
|
822
|
-
# #
|
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 "
|
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
|
-
# #
|
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
|