google-cloud-gaming-v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/gaming/v1/common_pb.rb +26 -80
  4. data/lib/google/cloud/gaming/v1/game_server_clusters_pb.rb +27 -101
  5. data/lib/google/cloud/gaming/v1/game_server_clusters_service/client.rb +6 -4
  6. data/lib/google/cloud/gaming/v1/game_server_clusters_service/operations.rb +5 -3
  7. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/client.rb +6 -4
  8. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/operations.rb +9 -7
  9. data/lib/google/cloud/gaming/v1/game_server_clusters_service/rest/service_stub.rb +8 -8
  10. data/lib/google/cloud/gaming/v1/game_server_clusters_service_pb.rb +25 -2
  11. data/lib/google/cloud/gaming/v1/game_server_configs_pb.rb +26 -43
  12. data/lib/google/cloud/gaming/v1/game_server_configs_service/client.rb +6 -4
  13. data/lib/google/cloud/gaming/v1/game_server_configs_service/operations.rb +5 -3
  14. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/client.rb +6 -4
  15. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/operations.rb +9 -7
  16. data/lib/google/cloud/gaming/v1/game_server_configs_service/rest/service_stub.rb +4 -4
  17. data/lib/google/cloud/gaming/v1/game_server_configs_service_pb.rb +25 -2
  18. data/lib/google/cloud/gaming/v1/game_server_deployments_pb.rb +27 -80
  19. data/lib/google/cloud/gaming/v1/game_server_deployments_service/client.rb +6 -4
  20. data/lib/google/cloud/gaming/v1/game_server_deployments_service/operations.rb +5 -3
  21. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/client.rb +6 -4
  22. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/operations.rb +9 -7
  23. data/lib/google/cloud/gaming/v1/game_server_deployments_service/rest/service_stub.rb +9 -9
  24. data/lib/google/cloud/gaming/v1/game_server_deployments_service_pb.rb +25 -2
  25. data/lib/google/cloud/gaming/v1/realms_pb.rb +27 -46
  26. data/lib/google/cloud/gaming/v1/realms_service/client.rb +6 -4
  27. data/lib/google/cloud/gaming/v1/realms_service/operations.rb +5 -3
  28. data/lib/google/cloud/gaming/v1/realms_service/rest/client.rb +6 -4
  29. data/lib/google/cloud/gaming/v1/realms_service/rest/operations.rb +9 -7
  30. data/lib/google/cloud/gaming/v1/realms_service/rest/service_stub.rb +6 -6
  31. data/lib/google/cloud/gaming/v1/realms_service_pb.rb +25 -2
  32. data/lib/google/cloud/gaming/v1/version.rb +1 -1
  33. data/proto_docs/google/api/client.rb +67 -4
  34. data/proto_docs/google/protobuf/any.rb +7 -4
  35. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  36. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1449fc3600ab1bb97db2d0fc2030b20cab6a9b06e3fa1777b77dd847d04e5fc5
4
- data.tar.gz: 8dbecee2878824e105f69e582271915b66f3f12af2d5d505937aab2f6a781c20
3
+ metadata.gz: 20717f7d8b7382a79abc4afcc5ce05381737ad1f942d5897fc5054ac447b5fa4
4
+ data.tar.gz: 655fb08201d34e224a5dc1f3cc2a9cba171f787cff22ecfb44e4c2cb53f3817d
5
5
  SHA512:
6
- metadata.gz: 40c85896e4fb901855dbe15f1f3e412f49735ad7c1a9f6c86b39531f952fd5fc21f6ed91baa970ff279c38f08b35314116f7c73226bc97359b9d02716e3af4d6
7
- data.tar.gz: 9ea3ce1293d13ed78a156ae62362a064f53ba8eddb13f7740dc84465a218308afb59e972e7b9ce0c329380b9195dfef9009f72a6d75d64ed10b847ee6b16e6e2
6
+ metadata.gz: 97f0fc136d50210db67109f97c74f1698c4ca6faa9cab327d6e1cc6c5bcbb8b06eca8ecc125f1be7f3a4a7387109823b3be11a18d7335c444eb565120eab5caa
7
+ data.tar.gz: 8a4c2a037edf6551d11756a331c8572c4ad1062df57a44659266453d00e5d69cca79e4c6f7feedbfd37fe5a78b8e2b5012659fa6a9cbd01538a0204d49453995
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
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
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
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/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.
53
53
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/gaming/v1/common.proto
3
4
 
@@ -7,88 +8,33 @@ require 'google/api/field_behavior_pb'
7
8
  require 'google/protobuf/duration_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/gaming/v1/common.proto", :syntax => :proto3) do
12
- add_message "google.cloud.gaming.v1.OperationMetadata" do
13
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
14
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
15
- optional :target, :string, 3
16
- optional :verb, :string, 4
17
- optional :status_message, :string, 5
18
- optional :requested_cancellation, :bool, 6
19
- optional :api_version, :string, 7
20
- repeated :unreachable, :string, 8
21
- map :operation_status, :string, :message, 9, "google.cloud.gaming.v1.OperationStatus"
22
- end
23
- add_message "google.cloud.gaming.v1.OperationStatus" do
24
- optional :done, :bool, 1
25
- optional :error_code, :enum, 2, "google.cloud.gaming.v1.OperationStatus.ErrorCode"
26
- optional :error_message, :string, 3
27
- end
28
- add_enum "google.cloud.gaming.v1.OperationStatus.ErrorCode" do
29
- value :ERROR_CODE_UNSPECIFIED, 0
30
- value :INTERNAL_ERROR, 1
31
- value :PERMISSION_DENIED, 2
32
- value :CLUSTER_CONNECTION, 3
33
- end
34
- add_message "google.cloud.gaming.v1.LabelSelector" do
35
- map :labels, :string, :string, 1
36
- end
37
- add_message "google.cloud.gaming.v1.RealmSelector" do
38
- repeated :realms, :string, 1
39
- end
40
- add_message "google.cloud.gaming.v1.Schedule" do
41
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
42
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
43
- optional :cron_job_duration, :message, 3, "google.protobuf.Duration"
44
- optional :cron_spec, :string, 4
45
- end
46
- add_message "google.cloud.gaming.v1.SpecSource" do
47
- optional :game_server_config_name, :string, 1
48
- optional :name, :string, 2
49
- end
50
- add_message "google.cloud.gaming.v1.TargetDetails" do
51
- optional :game_server_cluster_name, :string, 1
52
- optional :game_server_deployment_name, :string, 2
53
- repeated :fleet_details, :message, 3, "google.cloud.gaming.v1.TargetDetails.TargetFleetDetails"
54
- end
55
- add_message "google.cloud.gaming.v1.TargetDetails.TargetFleetDetails" do
56
- optional :fleet, :message, 1, "google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet"
57
- optional :autoscaler, :message, 2, "google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler"
58
- end
59
- add_message "google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet" do
60
- optional :name, :string, 1
61
- optional :spec_source, :message, 2, "google.cloud.gaming.v1.SpecSource"
62
- end
63
- add_message "google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler" do
64
- optional :name, :string, 1
65
- optional :spec_source, :message, 2, "google.cloud.gaming.v1.SpecSource"
66
- end
67
- add_message "google.cloud.gaming.v1.TargetState" do
68
- repeated :details, :message, 1, "google.cloud.gaming.v1.TargetDetails"
69
- end
70
- add_message "google.cloud.gaming.v1.DeployedFleetDetails" do
71
- optional :deployed_fleet, :message, 1, "google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet"
72
- optional :deployed_autoscaler, :message, 2, "google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler"
73
- end
74
- add_message "google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet" do
75
- optional :fleet, :string, 1
76
- optional :fleet_spec, :string, 2
77
- optional :spec_source, :message, 3, "google.cloud.gaming.v1.SpecSource"
78
- optional :status, :message, 5, "google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus"
79
- end
80
- add_message "google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus" do
81
- optional :ready_replicas, :int64, 1
82
- optional :allocated_replicas, :int64, 2
83
- optional :reserved_replicas, :int64, 3
84
- optional :replicas, :int64, 4
85
- end
86
- add_message "google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler" do
87
- optional :autoscaler, :string, 1
88
- optional :spec_source, :message, 4, "google.cloud.gaming.v1.SpecSource"
89
- optional :fleet_autoscaler_spec, :string, 3
11
+
12
+ descriptor_data = "\n#google/cloud/gaming/v1/common.proto\x12\x16google.cloud.gaming.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xda\x03\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0bunreachable\x18\x08 \x03(\tB\x03\xe0\x41\x03\x12]\n\x10operation_status\x18\t \x03(\x0b\x32>.google.cloud.gaming.v1.OperationMetadata.OperationStatusEntryB\x03\xe0\x41\x03\x1a_\n\x14OperationStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.google.cloud.gaming.v1.OperationStatus:\x02\x38\x01\"\xee\x01\n\x0fOperationStatus\x12\x11\n\x04\x64one\x18\x01 \x01(\x08\x42\x03\xe0\x41\x03\x12\x45\n\nerror_code\x18\x02 \x01(\x0e\x32\x31.google.cloud.gaming.v1.OperationStatus.ErrorCode\x12\x15\n\rerror_message\x18\x03 \x01(\t\"j\n\tErrorCode\x12\x1a\n\x16\x45RROR_CODE_UNSPECIFIED\x10\x00\x12\x12\n\x0eINTERNAL_ERROR\x10\x01\x12\x15\n\x11PERMISSION_DENIED\x10\x02\x12\x16\n\x12\x43LUSTER_CONNECTION\x10\x03\"\x81\x01\n\rLabelSelector\x12\x41\n\x06labels\x18\x01 \x03(\x0b\x32\x31.google.cloud.gaming.v1.LabelSelector.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x1f\n\rRealmSelector\x12\x0e\n\x06realms\x18\x01 \x03(\t\"\xb1\x01\n\x08Schedule\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x11\x63ron_job_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x11\n\tcron_spec\x18\x04 \x01(\t\";\n\nSpecSource\x12\x1f\n\x17game_server_config_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\xad\x04\n\rTargetDetails\x12 \n\x18game_server_cluster_name\x18\x01 \x01(\t\x12#\n\x1bgame_server_deployment_name\x18\x02 \x01(\t\x12O\n\rfleet_details\x18\x03 \x03(\x0b\x32\x38.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails\x1a\x83\x03\n\x12TargetFleetDetails\x12S\n\x05\x66leet\x18\x01 \x01(\x0b\x32\x44.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet\x12\x62\n\nautoscaler\x18\x02 \x01(\x0b\x32N.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler\x1aT\n\x0bTargetFleet\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x0bspec_source\x18\x02 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\x1a^\n\x15TargetFleetAutoscaler\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x37\n\x0bspec_source\x18\x02 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\"E\n\x0bTargetState\x12\x36\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32%.google.cloud.gaming.v1.TargetDetails\"\x9b\x05\n\x14\x44\x65ployedFleetDetails\x12R\n\x0e\x64\x65ployed_fleet\x18\x01 \x01(\x0b\x32:.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet\x12\x61\n\x13\x64\x65ployed_autoscaler\x18\x02 \x01(\x0b\x32\x44.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler\x1a\xc3\x02\n\rDeployedFleet\x12\r\n\x05\x66leet\x18\x01 \x01(\t\x12\x12\n\nfleet_spec\x18\x02 \x01(\t\x12\x37\n\x0bspec_source\x18\x03 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\x12^\n\x06status\x18\x05 \x01(\x0b\x32N.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus\x1av\n\x13\x44\x65ployedFleetStatus\x12\x16\n\x0eready_replicas\x18\x01 \x01(\x03\x12\x1a\n\x12\x61llocated_replicas\x18\x02 \x01(\x03\x12\x19\n\x11reserved_replicas\x18\x03 \x01(\x03\x12\x10\n\x08replicas\x18\x04 \x01(\x03\x1a\x85\x01\n\x17\x44\x65ployedFleetAutoscaler\x12\x12\n\nautoscaler\x18\x01 \x01(\t\x12\x37\n\x0bspec_source\x18\x04 \x01(\x0b\x32\".google.cloud.gaming.v1.SpecSource\x12\x1d\n\x15\x66leet_autoscaler_spec\x18\x03 \x01(\tBR\n\x1a\x63om.google.cloud.gaming.v1P\x01Z2cloud.google.com/go/gaming/apiv1/gamingpb;gamingpbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
90
34
  end
91
35
  end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
92
38
  end
93
39
 
94
40
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/gaming/v1/game_server_clusters.proto
3
4
 
@@ -9,109 +10,34 @@ require 'google/cloud/gaming/v1/common_pb'
9
10
  require 'google/protobuf/field_mask_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/gaming/v1/game_server_clusters.proto", :syntax => :proto3) do
14
- add_message "google.cloud.gaming.v1.ListGameServerClustersRequest" do
15
- optional :parent, :string, 1
16
- optional :page_size, :int32, 2
17
- optional :page_token, :string, 3
18
- optional :filter, :string, 4
19
- optional :order_by, :string, 5
20
- optional :view, :enum, 6, "google.cloud.gaming.v1.GameServerClusterView"
21
- end
22
- add_message "google.cloud.gaming.v1.ListGameServerClustersResponse" do
23
- repeated :game_server_clusters, :message, 1, "google.cloud.gaming.v1.GameServerCluster"
24
- optional :next_page_token, :string, 2
25
- repeated :unreachable, :string, 4
26
- end
27
- add_message "google.cloud.gaming.v1.GetGameServerClusterRequest" do
28
- optional :name, :string, 1
29
- optional :view, :enum, 6, "google.cloud.gaming.v1.GameServerClusterView"
30
- end
31
- add_message "google.cloud.gaming.v1.CreateGameServerClusterRequest" do
32
- optional :parent, :string, 1
33
- optional :game_server_cluster_id, :string, 2
34
- optional :game_server_cluster, :message, 3, "google.cloud.gaming.v1.GameServerCluster"
35
- end
36
- add_message "google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest" do
37
- optional :parent, :string, 1
38
- optional :game_server_cluster_id, :string, 2
39
- optional :game_server_cluster, :message, 3, "google.cloud.gaming.v1.GameServerCluster"
40
- optional :preview_time, :message, 4, "google.protobuf.Timestamp"
41
- optional :view, :enum, 6, "google.cloud.gaming.v1.GameServerClusterView"
42
- end
43
- add_message "google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse" do
44
- optional :etag, :string, 2
45
- optional :target_state, :message, 3, "google.cloud.gaming.v1.TargetState"
46
- optional :cluster_state, :message, 4, "google.cloud.gaming.v1.KubernetesClusterState"
47
- end
48
- add_message "google.cloud.gaming.v1.DeleteGameServerClusterRequest" do
49
- optional :name, :string, 1
50
- end
51
- add_message "google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest" do
52
- optional :name, :string, 1
53
- optional :preview_time, :message, 2, "google.protobuf.Timestamp"
54
- end
55
- add_message "google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse" do
56
- optional :etag, :string, 2
57
- optional :target_state, :message, 3, "google.cloud.gaming.v1.TargetState"
58
- end
59
- add_message "google.cloud.gaming.v1.UpdateGameServerClusterRequest" do
60
- optional :game_server_cluster, :message, 1, "google.cloud.gaming.v1.GameServerCluster"
61
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
62
- end
63
- add_message "google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest" do
64
- optional :game_server_cluster, :message, 1, "google.cloud.gaming.v1.GameServerCluster"
65
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
66
- optional :preview_time, :message, 3, "google.protobuf.Timestamp"
67
- end
68
- add_message "google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse" do
69
- optional :etag, :string, 2
70
- optional :target_state, :message, 3, "google.cloud.gaming.v1.TargetState"
71
- end
72
- add_message "google.cloud.gaming.v1.GameServerClusterConnectionInfo" do
73
- optional :namespace, :string, 5
74
- oneof :cluster_reference do
75
- optional :gke_cluster_reference, :message, 7, "google.cloud.gaming.v1.GkeClusterReference"
76
- end
77
- end
78
- add_message "google.cloud.gaming.v1.GkeClusterReference" do
79
- optional :cluster, :string, 1
80
- end
81
- add_message "google.cloud.gaming.v1.GameServerCluster" do
82
- optional :name, :string, 1
83
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
84
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
85
- map :labels, :string, :string, 4
86
- optional :connection_info, :message, 5, "google.cloud.gaming.v1.GameServerClusterConnectionInfo"
87
- optional :etag, :string, 6
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
13
+
14
+ descriptor_data = "\n1google/cloud/gaming/v1/game_server_clusters.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 google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x02\n\x1dListGameServerClustersRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-gameservices.googleapis.com/GameServerCluster\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\x12@\n\x04view\x18\x06 \x01(\x0e\x32-.google.cloud.gaming.v1.GameServerClusterViewB\x03\xe0\x41\x01\"\x97\x01\n\x1eListGameServerClustersResponse\x12G\n\x14game_server_clusters\x18\x01 \x03(\x0b\x32).google.cloud.gaming.v1.GameServerCluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x04 \x03(\t\"\xa4\x01\n\x1bGetGameServerClusterRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-gameservices.googleapis.com/GameServerCluster\x12@\n\x04view\x18\x06 \x01(\x0e\x32-.google.cloud.gaming.v1.GameServerClusterViewB\x03\xe0\x41\x01\"\xd9\x01\n\x1e\x43reateGameServerClusterRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-gameservices.googleapis.com/GameServerCluster\x12#\n\x16game_server_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x13game_server_cluster\x18\x03 \x01(\x0b\x32).google.cloud.gaming.v1.GameServerClusterB\x03\xe0\x41\x02\"\xdb\x02\n%PreviewCreateGameServerClusterRequest\x12\x45\n\x06parent\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\x12-gameservices.googleapis.com/GameServerCluster\x12#\n\x16game_server_cluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12K\n\x13game_server_cluster\x18\x03 \x01(\x0b\x32).google.cloud.gaming.v1.GameServerClusterB\x03\xe0\x41\x02\x12\x35\n\x0cpreview_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x42\n\x04view\x18\x06 \x01(\x0e\x32-.google.cloud.gaming.v1.GameServerClusterViewB\x05\x18\x01\xe0\x41\x01\"\xbd\x01\n&PreviewCreateGameServerClusterResponse\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x39\n\x0ctarget_state\x18\x03 \x01(\x0b\x32#.google.cloud.gaming.v1.TargetState\x12J\n\rcluster_state\x18\x04 \x01(\x0b\x32..google.cloud.gaming.v1.KubernetesClusterStateB\x03\xe0\x41\x03\"e\n\x1e\x44\x65leteGameServerClusterRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-gameservices.googleapis.com/GameServerCluster\"\xa3\x01\n%PreviewDeleteGameServerClusterRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-gameservices.googleapis.com/GameServerCluster\x12\x35\n\x0cpreview_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"q\n&PreviewDeleteGameServerClusterResponse\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x39\n\x0ctarget_state\x18\x03 \x01(\x0b\x32#.google.cloud.gaming.v1.TargetState\"\xa3\x01\n\x1eUpdateGameServerClusterRequest\x12K\n\x13game_server_cluster\x18\x01 \x01(\x0b\x32).google.cloud.gaming.v1.GameServerClusterB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe1\x01\n%PreviewUpdateGameServerClusterRequest\x12K\n\x13game_server_cluster\x18\x01 \x01(\x0b\x32).google.cloud.gaming.v1.GameServerClusterB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x35\n\x0cpreview_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\"q\n&PreviewUpdateGameServerClusterResponse\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x39\n\x0ctarget_state\x18\x03 \x01(\x0b\x32#.google.cloud.gaming.v1.TargetState\"\x97\x01\n\x1fGameServerClusterConnectionInfo\x12L\n\x15gke_cluster_reference\x18\x07 \x01(\x0b\x32+.google.cloud.gaming.v1.GkeClusterReferenceH\x00\x12\x11\n\tnamespace\x18\x05 \x01(\tB\x13\n\x11\x63luster_reference\"&\n\x13GkeClusterReference\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\"\xd4\x04\n\x11GameServerCluster\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\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\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.cloud.gaming.v1.GameServerCluster.LabelsEntry\x12P\n\x0f\x63onnection_info\x18\x05 \x01(\x0b\x32\x37.google.cloud.gaming.v1.GameServerClusterConnectionInfo\x12\x0c\n\x04\x65tag\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12J\n\rcluster_state\x18\x0b \x01(\x0b\x32..google.cloud.gaming.v1.KubernetesClusterStateB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x88\x01\xea\x41\x84\x01\n-gameservices.googleapis.com/GameServerCluster\x12Sprojects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}\"\xe7\x04\n\x16KubernetesClusterState\x12%\n\x18\x61gones_version_installed\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12)\n\x1ckubernetes_version_installed\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x61\n\x12installation_state\x18\x03 \x01(\x0e\x32@.google.cloud.gaming.v1.KubernetesClusterState.InstallationStateB\x03\xe0\x41\x03\x12,\n\x1fversion_installed_error_message\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08provider\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x61gones_version_targeted\x18\x06 \x01(\tB\x03\xe0\x41\x03\"\xac\x02\n\x11InstallationState\x12\"\n\x1eINSTALLATION_STATE_UNSPECIFIED\x10\x00\x12\'\n#AGONES_KUBERNETES_VERSION_SUPPORTED\x10\x01\x12\x1e\n\x1a\x41GONES_VERSION_UNSUPPORTED\x10\x02\x12)\n%AGONES_KUBERNETES_VERSION_UNSUPPORTED\x10\x03\x12\x1f\n\x1b\x41GONES_VERSION_UNRECOGNIZED\x10\x04\x12#\n\x1fKUBERNETES_VERSION_UNRECOGNIZED\x10\x05\x12\x1f\n\x1bVERSION_VERIFICATION_FAILED\x10\x06\x12\x18\n\x14\x41GONES_NOT_INSTALLED\x10\x07*V\n\x15GameServerClusterView\x12(\n$GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x42R\n\x1a\x63om.google.cloud.gaming.v1P\x01Z2cloud.google.com/go/gaming/apiv1/gamingpb;gamingpbb\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
30
+ ["google.cloud.gaming.v1.TargetState", "google/cloud/gaming/v1/common.proto"],
31
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
113
37
  end
114
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
115
41
  end
116
42
 
117
43
  module Google
@@ -155,7 +155,7 @@ module Google
155
155
  credentials = @config.credentials
156
156
  # Use self-signed JWT if the endpoint is unchanged from default,
157
157
  # but only if the default endpoint does not have a region prefix.
158
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
158
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
159
159
  !@config.endpoint.split(".").first.include?("-")
160
160
  credentials ||= Credentials.default scope: @config.scope,
161
161
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -997,9 +997,9 @@ module Google
997
997
  # * (`String`) The path to a service account key file in JSON format
998
998
  # * (`Hash`) A service account key as a Hash
999
999
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1000
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1000
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1001
1001
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1002
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1002
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1003
1003
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1004
1004
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1005
1005
  # * (`nil`) indicating no credentials
@@ -1041,7 +1041,9 @@ module Google
1041
1041
  class Configuration
1042
1042
  extend ::Gapic::Config
1043
1043
 
1044
- config_attr :endpoint, "gameservices.googleapis.com", ::String
1044
+ DEFAULT_ENDPOINT = "gameservices.googleapis.com"
1045
+
1046
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1045
1047
  config_attr :credentials, nil do |value|
1046
1048
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1047
1049
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "gameservices.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "gameservices.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -151,7 +151,7 @@ module Google
151
151
  credentials = @config.credentials
152
152
  # Use self-signed JWT if the endpoint is unchanged from default,
153
153
  # but only if the default endpoint does not have a region prefix.
154
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
154
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
155
155
  !@config.endpoint.split(".").first.include?("-")
156
156
  credentials ||= Credentials.default scope: @config.scope,
157
157
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -778,9 +778,9 @@ module Google
778
778
  # * (`String`) The path to a service account key file in JSON format
779
779
  # * (`Hash`) A service account key as a Hash
780
780
  # * (`Google::Auth::Credentials`) A googleauth credentials object
781
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
781
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
782
782
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
783
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
783
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
784
784
  # * (`nil`) indicating no credentials
785
785
  # @return [::Object]
786
786
  # @!attribute [rw] scope
@@ -813,7 +813,9 @@ module Google
813
813
  class Configuration
814
814
  extend ::Gapic::Config
815
815
 
816
- config_attr :endpoint, "gameservices.googleapis.com", ::String
816
+ DEFAULT_ENDPOINT = "gameservices.googleapis.com"
817
+
818
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
817
819
  config_attr :credentials, nil do |value|
818
820
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
819
821
  allowed.any? { |klass| klass === value }
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "gameservices.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "gameservices.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  end
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_list_game_server_clusters_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_get_game_server_cluster_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_create_game_server_cluster_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_preview_create_game_server_cluster_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_game_server_cluster_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_preview_delete_game_server_cluster_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_update_game_server_cluster_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_preview_update_game_server_cluster_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/gaming/v1/game_server_clusters_service.proto
3
4
 
@@ -8,9 +9,31 @@ require 'google/api/client_pb'
8
9
  require 'google/cloud/gaming/v1/game_server_clusters_pb'
9
10
  require 'google/longrunning/operations_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/gaming/v1/game_server_clusters_service.proto", :syntax => :proto3) do
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
13
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."
14
37
  end
15
38
 
16
39
  module Google