google-cloud-gaming-v1 0.3.1 → 0.4.1

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.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +8 -8
  3. data/README.md +1 -1
  4. data/lib/google/cloud/gaming/v1/common_pb.rb +2 -2
  5. data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +33 -2
  6. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +275 -108
  7. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +149 -37
  8. data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +2 -2
  9. data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +2 -2
  10. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +148 -69
  11. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +149 -37
  12. data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +2 -2
  13. data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +2 -2
  14. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +286 -116
  15. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +149 -37
  16. data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +2 -2
  17. data/lib/google/cloud/gaming/v1/realms_pb.rb +2 -2
  18. data/lib/google/cloud/gaming/v1/realms_service/client.rb +204 -85
  19. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +149 -37
  20. data/lib/google/cloud/gaming/v1/realms_service_pb.rb +2 -2
  21. data/lib/google/cloud/gaming/v1/version.rb +1 -1
  22. data/proto_docs/google/api/field_behavior.rb +7 -1
  23. data/proto_docs/google/cloud/gaming/v1/common.rb +0 -3
  24. data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +117 -19
  25. data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +5 -11
  26. data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +12 -28
  27. data/proto_docs/google/cloud/gaming/v1/realms.rb +7 -13
  28. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a6f18d3f3efa393d026034087aa02de2feec4d077e7efdcb8be9e79c5669784
4
- data.tar.gz: f7007ecc9e4fbf8c2d71ef4373f5c3d113bf97bb5c60b44e05f4737b429e7a97
3
+ metadata.gz: f39e7106ab30dd79cd7649106732fb5bae297256ba669e19342f2895b9acc0e4
4
+ data.tar.gz: 43aca0acc4764cb8291c956a571c51556d3e23a4e40b0b589b91ec39d46b9e5a
5
5
  SHA512:
6
- metadata.gz: 8f2f826d149daf5cd0fb0a5021beb2ac75cb45003bf3ca801da8bfdd9d5fb11ac438f9655bfd8ebcb3b1a8d2b460a569a29130c7afdb974d5de313784f6e49b1
7
- data.tar.gz: 0a971a76c45443626e8df8f461d9e65eb91c06245cd9de81fdb65835910abd20305aebbbc4eeb4ebf874573bb5d242cc170405b97e1f0a672a04a42b38e799dd
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
- 1. `GAMING_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `GAMING_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
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 placing them in
86
- environment variables. Either on an individual client initialization:
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 configured globally for all clients:
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 = my_create_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