google-cloud-gaming-v1 0.3.1 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/gaming/v1/common_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +33 -2
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +275 -108
- data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +149 -37
- data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +148 -69
- data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +149 -37
- data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +286 -116
- data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +149 -37
- data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/realms_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/realms_service/client.rb +204 -85
- data/lib/google/cloud/gaming/v1/realms_service/operations.rb +149 -37
- data/lib/google/cloud/gaming/v1/realms_service_pb.rb +2 -2
- data/lib/google/cloud/gaming/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/cloud/gaming/v1/common.rb +0 -3
- data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +117 -19
- data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +5 -11
- data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +12 -28
- data/proto_docs/google/cloud/gaming/v1/realms.rb +7 -13
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f39e7106ab30dd79cd7649106732fb5bae297256ba669e19342f2895b9acc0e4
|
4
|
+
data.tar.gz: 43aca0acc4764cb8291c956a571c51556d3e23a4e40b0b589b91ec39d46b9e5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7210843d9956a9d177cdc002ed4ad979a0598a2cb39362b30eea171c597115675cff3023bf58a8dd3d9136f0897cde6649264228787c8a49999f9c7bd9e247a9
|
7
|
+
data.tar.gz: 868675f214598cbc63bade9248e9cbaab56b31603312db6509b386e1607012d3fa0dc82ac05edddbf4d548fec61df0e9b3512e28749fd574db436c94d87b9445
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-gaming-v1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Gaming::V1::GameServerClustersService::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `GAMING_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `GAMING_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/gaming/v1"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Gaming::V1::GameServerClustersService::Client.new
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
87
87
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/gaming/v1"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Gaming::V1::GameServerClustersService::Client.new do |
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/gaming/v1"
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/gaming/v1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Gaming::V1::GameServerClustersService::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Gaming::V1::ListGameServerClustersRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.list_game_server_clusters request
|
38
38
|
```
|
39
39
|
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/gaming/v1/common.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/protobuf/duration_pb'
|
8
6
|
require 'google/protobuf/timestamp_pb'
|
9
7
|
require 'google/api/annotations_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/cloud/gaming/v1/common.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.cloud.gaming.v1.OperationMetadata" do
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/gaming/v1/game_server_clusters.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/cloud/gaming/v1/common_pb'
|
9
7
|
require 'google/protobuf/field_mask_pb'
|
10
8
|
require 'google/protobuf/timestamp_pb'
|
11
9
|
require 'google/api/annotations_pb'
|
10
|
+
require 'google/protobuf'
|
11
|
+
|
12
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
13
13
|
add_file("google/cloud/gaming/v1/game_server_clusters.proto", :syntax => :proto3) do
|
14
14
|
add_message "google.cloud.gaming.v1.ListGameServerClustersRequest" do
|
@@ -17,6 +17,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
optional :page_token, :string, 3
|
18
18
|
optional :filter, :string, 4
|
19
19
|
optional :order_by, :string, 5
|
20
|
+
optional :view, :enum, 6, "google.cloud.gaming.v1.GameServerClusterView"
|
20
21
|
end
|
21
22
|
add_message "google.cloud.gaming.v1.ListGameServerClustersResponse" do
|
22
23
|
repeated :game_server_clusters, :message, 1, "google.cloud.gaming.v1.GameServerCluster"
|
@@ -25,6 +26,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
26
|
end
|
26
27
|
add_message "google.cloud.gaming.v1.GetGameServerClusterRequest" do
|
27
28
|
optional :name, :string, 1
|
29
|
+
optional :view, :enum, 6, "google.cloud.gaming.v1.GameServerClusterView"
|
28
30
|
end
|
29
31
|
add_message "google.cloud.gaming.v1.CreateGameServerClusterRequest" do
|
30
32
|
optional :parent, :string, 1
|
@@ -36,10 +38,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
36
38
|
optional :game_server_cluster_id, :string, 2
|
37
39
|
optional :game_server_cluster, :message, 3, "google.cloud.gaming.v1.GameServerCluster"
|
38
40
|
optional :preview_time, :message, 4, "google.protobuf.Timestamp"
|
41
|
+
optional :view, :enum, 6, "google.cloud.gaming.v1.GameServerClusterView"
|
39
42
|
end
|
40
43
|
add_message "google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse" do
|
41
44
|
optional :etag, :string, 2
|
42
45
|
optional :target_state, :message, 3, "google.cloud.gaming.v1.TargetState"
|
46
|
+
optional :cluster_state, :message, 4, "google.cloud.gaming.v1.KubernetesClusterState"
|
43
47
|
end
|
44
48
|
add_message "google.cloud.gaming.v1.DeleteGameServerClusterRequest" do
|
45
49
|
optional :name, :string, 1
|
@@ -82,6 +86,30 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
82
86
|
optional :connection_info, :message, 5, "google.cloud.gaming.v1.GameServerClusterConnectionInfo"
|
83
87
|
optional :etag, :string, 6
|
84
88
|
optional :description, :string, 7
|
89
|
+
optional :cluster_state, :message, 11, "google.cloud.gaming.v1.KubernetesClusterState"
|
90
|
+
end
|
91
|
+
add_message "google.cloud.gaming.v1.KubernetesClusterState" do
|
92
|
+
optional :agones_version_installed, :string, 1
|
93
|
+
optional :kubernetes_version_installed, :string, 2
|
94
|
+
optional :installation_state, :enum, 3, "google.cloud.gaming.v1.KubernetesClusterState.InstallationState"
|
95
|
+
optional :version_installed_error_message, :string, 4
|
96
|
+
optional :provider, :string, 5
|
97
|
+
optional :agones_version_targeted, :string, 6
|
98
|
+
end
|
99
|
+
add_enum "google.cloud.gaming.v1.KubernetesClusterState.InstallationState" do
|
100
|
+
value :INSTALLATION_STATE_UNSPECIFIED, 0
|
101
|
+
value :AGONES_KUBERNETES_VERSION_SUPPORTED, 1
|
102
|
+
value :AGONES_VERSION_UNSUPPORTED, 2
|
103
|
+
value :AGONES_KUBERNETES_VERSION_UNSUPPORTED, 3
|
104
|
+
value :AGONES_VERSION_UNRECOGNIZED, 4
|
105
|
+
value :KUBERNETES_VERSION_UNRECOGNIZED, 5
|
106
|
+
value :VERSION_VERIFICATION_FAILED, 6
|
107
|
+
value :AGONES_NOT_INSTALLED, 7
|
108
|
+
end
|
109
|
+
add_enum "google.cloud.gaming.v1.GameServerClusterView" do
|
110
|
+
value :GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, 0
|
111
|
+
value :BASIC, 1
|
112
|
+
value :FULL, 2
|
85
113
|
end
|
86
114
|
end
|
87
115
|
end
|
@@ -105,6 +133,9 @@ module Google
|
|
105
133
|
GameServerClusterConnectionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.GameServerClusterConnectionInfo").msgclass
|
106
134
|
GkeClusterReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.GkeClusterReference").msgclass
|
107
135
|
GameServerCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.GameServerCluster").msgclass
|
136
|
+
KubernetesClusterState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.KubernetesClusterState").msgclass
|
137
|
+
KubernetesClusterState::InstallationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.KubernetesClusterState.InstallationState").enummodule
|
138
|
+
GameServerClusterView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.GameServerClusterView").enummodule
|
108
139
|
end
|
109
140
|
end
|
110
141
|
end
|