google-cloud-gaming-v1 0.7.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -143
  3. data/lib/google/cloud/gaming/v1/version.rb +3 -8
  4. metadata +16 -229
  5. data/.yardopts +0 -12
  6. data/AUTHENTICATION.md +0 -151
  7. data/lib/google/cloud/gaming/v1/common_pb.rb +0 -63
  8. data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +0 -68
  9. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +0 -1168
  10. data/lib/google/cloud/gaming/v1/game_server_clusters_service/credentials.rb +0 -51
  11. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +0 -770
  12. data/lib/google/cloud/gaming/v1/game_server_clusters_service/paths.rb +0 -73
  13. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/client.rb +0 -938
  14. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/operations.rb +0 -795
  15. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/service_stub.rb +0 -524
  16. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest.rb +0 -54
  17. data/lib/google/cloud/gaming/v1/game_server_clusters_service.rb +0 -57
  18. data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +0 -46
  19. data/lib/google/cloud/gaming/v1/game_server_clusters_service_services_pb.rb +0 -61
  20. data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +0 -56
  21. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +0 -738
  22. data/lib/google/cloud/gaming/v1/game_server_configs_service/credentials.rb +0 -51
  23. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +0 -770
  24. data/lib/google/cloud/gaming/v1/game_server_configs_service/paths.rb +0 -73
  25. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/client.rb +0 -607
  26. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/operations.rb +0 -795
  27. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/service_stub.rb +0 -285
  28. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest.rb +0 -53
  29. data/lib/google/cloud/gaming/v1/game_server_configs_service.rb +0 -56
  30. data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +0 -46
  31. data/lib/google/cloud/gaming/v1/game_server_configs_service_services_pb.rb +0 -55
  32. data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +0 -66
  33. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +0 -1259
  34. data/lib/google/cloud/gaming/v1/game_server_deployments_service/credentials.rb +0 -51
  35. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +0 -770
  36. data/lib/google/cloud/gaming/v1/game_server_deployments_service/paths.rb +0 -88
  37. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/client.rb +0 -999
  38. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/operations.rb +0 -795
  39. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/service_stub.rb +0 -584
  40. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest.rb +0 -54
  41. data/lib/google/cloud/gaming/v1/game_server_deployments_service.rb +0 -57
  42. data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +0 -46
  43. data/lib/google/cloud/gaming/v1/game_server_deployments_service_services_pb.rb +0 -70
  44. data/lib/google/cloud/gaming/v1/realms_pb.rb +0 -59
  45. data/lib/google/cloud/gaming/v1/realms_service/client.rb +0 -947
  46. data/lib/google/cloud/gaming/v1/realms_service/credentials.rb +0 -51
  47. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +0 -770
  48. data/lib/google/cloud/gaming/v1/realms_service/paths.rb +0 -69
  49. data/lib/google/cloud/gaming/v1/realms_service/rest/client.rb +0 -763
  50. data/lib/google/cloud/gaming/v1/realms_service/rest/operations.rb +0 -795
  51. data/lib/google/cloud/gaming/v1/realms_service/rest/service_stub.rb +0 -405
  52. data/lib/google/cloud/gaming/v1/realms_service/rest.rb +0 -54
  53. data/lib/google/cloud/gaming/v1/realms_service.rb +0 -57
  54. data/lib/google/cloud/gaming/v1/realms_service_pb.rb +0 -46
  55. data/lib/google/cloud/gaming/v1/realms_service_services_pb.rb +0 -56
  56. data/lib/google/cloud/gaming/v1/rest.rb +0 -40
  57. data/lib/google/cloud/gaming/v1.rb +0 -48
  58. data/lib/google-cloud-gaming-v1.rb +0 -21
  59. data/proto_docs/README.md +0 -4
  60. data/proto_docs/google/api/client.rb +0 -381
  61. data/proto_docs/google/api/field_behavior.rb +0 -71
  62. data/proto_docs/google/api/launch_stage.rb +0 -71
  63. data/proto_docs/google/api/resource.rb +0 -222
  64. data/proto_docs/google/cloud/gaming/v1/common.rb +0 -302
  65. data/proto_docs/google/cloud/gaming/v1/game_server_clusters.rb +0 -386
  66. data/proto_docs/google/cloud/gaming/v1/game_server_configs.rb +0 -180
  67. data/proto_docs/google/cloud/gaming/v1/game_server_deployments.rb +0 -301
  68. data/proto_docs/google/cloud/gaming/v1/realms.rb +0 -191
  69. data/proto_docs/google/longrunning/operations.rb +0 -164
  70. data/proto_docs/google/protobuf/any.rb +0 -144
  71. data/proto_docs/google/protobuf/duration.rb +0 -98
  72. data/proto_docs/google/protobuf/empty.rb +0 -34
  73. data/proto_docs/google/protobuf/field_mask.rb +0 -229
  74. data/proto_docs/google/protobuf/timestamp.rb +0 -127
  75. data/proto_docs/google/rpc/status.rb +0 -48
@@ -1,46 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: google/cloud/gaming/v1/game_server_clusters_service.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/annotations_pb'
8
- require 'google/api/client_pb'
9
- require 'google/cloud/gaming/v1/game_server_clusters_pb'
10
- require 'google/longrunning/operations_pb'
11
-
12
-
13
- descriptor_data = "\n9google/cloud/gaming/v1/game_server_clusters_service.proto\x12\x16google.cloud.gaming.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x31google/cloud/gaming/v1/game_server_clusters.proto\x1a#google/longrunning/operations.proto2\x8a\x11\n\x19GameServerClustersService\x12\xd9\x01\n\x16ListGameServerClusters\x12\x35.google.cloud.gaming.v1.ListGameServerClustersRequest\x1a\x36.google.cloud.gaming.v1.ListGameServerClustersResponse\"P\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters\xda\x41\x06parent\x12\xc6\x01\n\x14GetGameServerCluster\x12\x33.google.cloud.gaming.v1.GetGameServerClusterRequest\x1a).google.cloud.gaming.v1.GameServerCluster\"N\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}\xda\x41\x04name\x12\xac\x02\n\x17\x43reateGameServerCluster\x12\x36.google.cloud.gaming.v1.CreateGameServerClusterRequest\x1a\x1d.google.longrunning.Operation\"\xb9\x01\x82\xd3\xe4\x93\x02V\"?/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters:\x13game_server_cluster\xda\x41\x31parent,game_server_cluster,game_server_cluster_id\xca\x41&\n\x11GameServerCluster\x12\x11OperationMetadata\x12\x8b\x02\n\x1ePreviewCreateGameServerCluster\x12=.google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest\x1a>.google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse\"j\x82\xd3\xe4\x93\x02\x64\"M/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate:\x13game_server_cluster\x12\xed\x01\n\x17\x44\x65leteGameServerCluster\x12\x36.google.cloud.gaming.v1.DeleteGameServerClusterRequest\x1a\x1d.google.longrunning.Operation\"{\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xf6\x01\n\x1ePreviewDeleteGameServerCluster\x12=.google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest\x1a>.google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse\"U\x82\xd3\xe4\x93\x02O*M/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete\x12\xae\x02\n\x17UpdateGameServerCluster\x12\x36.google.cloud.gaming.v1.UpdateGameServerClusterRequest\x1a\x1d.google.longrunning.Operation\"\xbb\x01\x82\xd3\xe4\x93\x02j2S/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:\x13game_server_cluster\xda\x41\x1fgame_server_cluster,update_mask\xca\x41&\n\x11GameServerCluster\x12\x11OperationMetadata\x12\x9f\x02\n\x1ePreviewUpdateGameServerCluster\x12=.google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest\x1a>.google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse\"~\x82\xd3\xe4\x93\x02x2a/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate:\x13game_server_cluster\x1aO\xca\x41\x1bgameservices.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBR\n\x1a\x63om.google.cloud.gaming.v1P\x01Z2cloud.google.com/go/gaming/apiv1/gamingpb;gamingpbb\x06proto3"
14
-
15
- pool = Google::Protobuf::DescriptorPool.generated_pool
16
-
17
- begin
18
- pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
20
- # Compatibility code: will be removed in the next major version.
21
- require 'google/protobuf/descriptor_pb'
22
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
- parsed.clear_dependency
24
- serialized = parsed.class.encode(parsed)
25
- file = pool.add_serialized_file(serialized)
26
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
- imports = [
28
- ]
29
- imports.each do |type_name, expected_filename|
30
- import_file = pool.lookup(type_name).file_descriptor
31
- if import_file.name != expected_filename
32
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
33
- end
34
- end
35
- warn "Each proto file must use a consistent fully-qualified name."
36
- warn "This will become an error in the next major version."
37
- end
38
-
39
- module Google
40
- module Cloud
41
- module Gaming
42
- module V1
43
- end
44
- end
45
- end
46
- end
@@ -1,61 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: google/cloud/gaming/v1/game_server_clusters_service.proto for package 'google.cloud.gaming.v1'
3
- # Original file comments:
4
- # Copyright 2020 Google LLC
5
- #
6
- # Licensed under the Apache License, Version 2.0 (the "License");
7
- # you may not use this file except in compliance with the License.
8
- # You may obtain a copy of the License at
9
- #
10
- # http://www.apache.org/licenses/LICENSE-2.0
11
- #
12
- # Unless required by applicable law or agreed to in writing, software
13
- # distributed under the License is distributed on an "AS IS" BASIS,
14
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
- # See the License for the specific language governing permissions and
16
- # limitations under the License.
17
- #
18
-
19
- require 'grpc'
20
- require 'google/cloud/gaming/v1/game_server_clusters_service_pb'
21
-
22
- module Google
23
- module Cloud
24
- module Gaming
25
- module V1
26
- module GameServerClustersService
27
- # The game server cluster maps to Kubernetes clusters running Agones and is
28
- # used to manage fleets within clusters.
29
- class Service
30
-
31
- include ::GRPC::GenericService
32
-
33
- self.marshal_class_method = :encode
34
- self.unmarshal_class_method = :decode
35
- self.service_name = 'google.cloud.gaming.v1.GameServerClustersService'
36
-
37
- # Lists game server clusters in a given project and location.
38
- rpc :ListGameServerClusters, ::Google::Cloud::Gaming::V1::ListGameServerClustersRequest, ::Google::Cloud::Gaming::V1::ListGameServerClustersResponse
39
- # Gets details of a single game server cluster.
40
- rpc :GetGameServerCluster, ::Google::Cloud::Gaming::V1::GetGameServerClusterRequest, ::Google::Cloud::Gaming::V1::GameServerCluster
41
- # Creates a new game server cluster in a given project and location.
42
- rpc :CreateGameServerCluster, ::Google::Cloud::Gaming::V1::CreateGameServerClusterRequest, ::Google::Longrunning::Operation
43
- # Previews creation of a new game server cluster in a given project and
44
- # location.
45
- rpc :PreviewCreateGameServerCluster, ::Google::Cloud::Gaming::V1::PreviewCreateGameServerClusterRequest, ::Google::Cloud::Gaming::V1::PreviewCreateGameServerClusterResponse
46
- # Deletes a single game server cluster.
47
- rpc :DeleteGameServerCluster, ::Google::Cloud::Gaming::V1::DeleteGameServerClusterRequest, ::Google::Longrunning::Operation
48
- # Previews deletion of a single game server cluster.
49
- rpc :PreviewDeleteGameServerCluster, ::Google::Cloud::Gaming::V1::PreviewDeleteGameServerClusterRequest, ::Google::Cloud::Gaming::V1::PreviewDeleteGameServerClusterResponse
50
- # Patches a single game server cluster.
51
- rpc :UpdateGameServerCluster, ::Google::Cloud::Gaming::V1::UpdateGameServerClusterRequest, ::Google::Longrunning::Operation
52
- # Previews updating a GameServerCluster.
53
- rpc :PreviewUpdateGameServerCluster, ::Google::Cloud::Gaming::V1::PreviewUpdateGameServerClusterRequest, ::Google::Cloud::Gaming::V1::PreviewUpdateGameServerClusterResponse
54
- end
55
-
56
- Stub = Service.rpc_stub_class
57
- end
58
- end
59
- end
60
- end
61
- end
@@ -1,56 +0,0 @@
1
- # frozen_string_literal: true
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # source: google/cloud/gaming/v1/game_server_configs.proto
4
-
5
- require 'google/protobuf'
6
-
7
- require 'google/api/field_behavior_pb'
8
- require 'google/api/resource_pb'
9
- require 'google/cloud/gaming/v1/common_pb'
10
- require 'google/protobuf/timestamp_pb'
11
-
12
-
13
- descriptor_data = "\n0google/cloud/gaming/v1/game_server_configs.proto\x12\x16google.cloud.gaming.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/gaming/v1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x01\n\x1cListGameServerConfigsRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gameservices.googleapis.com/GameServerConfig\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x1dListGameServerConfigsResponse\x12\x45\n\x13game_server_configs\x18\x01 \x03(\x0b\x32(.google.cloud.gaming.v1.GameServerConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x04 \x03(\t\"`\n\x1aGetGameServerConfigRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gameservices.googleapis.com/GameServerConfig\"\xc8\x01\n\x1d\x43reateGameServerConfigRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\x12,gameservices.googleapis.com/GameServerConfig\x12\x16\n\tconfig_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12I\n\x12game_server_config\x18\x03 \x01(\x0b\x32(.google.cloud.gaming.v1.GameServerConfigB\x03\xe0\x41\x02\"c\n\x1d\x44\x65leteGameServerConfigRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,gameservices.googleapis.com/GameServerConfig\"\xb5\x01\n\rScalingConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\"\n\x15\x66leet_autoscaler_spec\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x38\n\tselectors\x18\x04 \x03(\x0b\x32%.google.cloud.gaming.v1.LabelSelector\x12\x33\n\tschedules\x18\x05 \x03(\x0b\x32 .google.cloud.gaming.v1.Schedule\"/\n\x0b\x46leetConfig\x12\x12\n\nfleet_spec\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xa4\x04\n\x10GameServerConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.cloud.gaming.v1.GameServerConfig.LabelsEntry\x12:\n\rfleet_configs\x18\x05 \x03(\x0b\x32#.google.cloud.gaming.v1.FleetConfig\x12>\n\x0fscaling_configs\x18\x06 \x03(\x0b\x32%.google.cloud.gaming.v1.ScalingConfig\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x8f\x01\xea\x41\x8b\x01\n,gameservices.googleapis.com/GameServerConfig\x12[projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}BR\n\x1a\x63om.google.cloud.gaming.v1P\x01Z2cloud.google.com/go/gaming/apiv1/gamingpb;gamingpbb\x06proto3"
14
-
15
- pool = Google::Protobuf::DescriptorPool.generated_pool
16
-
17
- begin
18
- pool.add_serialized_file(descriptor_data)
19
- rescue TypeError => e
20
- # Compatibility code: will be removed in the next major version.
21
- require 'google/protobuf/descriptor_pb'
22
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
- parsed.clear_dependency
24
- serialized = parsed.class.encode(parsed)
25
- file = pool.add_serialized_file(serialized)
26
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
- imports = [
28
- ["google.cloud.gaming.v1.LabelSelector", "google/cloud/gaming/v1/common.proto"],
29
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
40
-
41
- module Google
42
- module Cloud
43
- module Gaming
44
- module V1
45
- ListGameServerConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.ListGameServerConfigsRequest").msgclass
46
- ListGameServerConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.ListGameServerConfigsResponse").msgclass
47
- GetGameServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.GetGameServerConfigRequest").msgclass
48
- CreateGameServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.CreateGameServerConfigRequest").msgclass
49
- DeleteGameServerConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.DeleteGameServerConfigRequest").msgclass
50
- ScalingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.ScalingConfig").msgclass
51
- FleetConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.FleetConfig").msgclass
52
- GameServerConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.gaming.v1.GameServerConfig").msgclass
53
- end
54
- end
55
- end
56
- end