gaming_grpc_service_config.json 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "methodConfig": [
  3. {
  4. "name": [
  5. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "ListGameServerClusters" },
  6. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "GetGameServerCluster" },
  7. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "PreviewCreateGameServerCluster" },
  8. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "PreviewDeleteGameServerCluster" },
  9. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "PreviewUpdateGameServerCluster" },
  10. { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "ListGameServerConfigs" },
  11. { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "GetGameServerConfig" },
  12. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "ListGameServerDeployments" },
  13. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "GetGameServerDeployment" },
  14. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "GetGameServerDeploymentRollout" },
  15. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "PreviewGameServerDeploymentRollout" },
  16. { "service": "google.cloud.gaming.v1.RealmsService", "method": "ListRealms" },
  17. { "service": "google.cloud.gaming.v1.RealmsService", "method": "GetRealm" },
  18. { "service": "google.cloud.gaming.v1.RealmsService", "method": "PreviewRealmUpdate" },
  19. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "FetchDeploymentState" }
  20. ],
  21. "timeout": "60s",
  22. "retryPolicy": {
  23. "maxAttempts": 5,
  24. "initialBackoff": "1s",
  25. "maxBackoff": "10s",
  26. "backoffMultiplier": 1.3,
  27. "retryableStatusCodes": ["UNAVAILABLE"]
  28. }
  29. },
  30. {
  31. "name": [
  32. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "DeleteGameServerCluster" },
  33. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "UpdateGameServerCluster" },
  34. { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "CreateGameServerConfig" },
  35. { "service": "google.cloud.gaming.v1.GameServerConfigsService", "method": "DeleteGameServerConfig" },
  36. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "CreateGameServerDeployment" },
  37. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "DeleteGameServerDeployment" },
  38. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "UpdateGameServerDeployment" },
  39. { "service": "google.cloud.gaming.v1.GameServerDeploymentsService", "method": "UpdateGameServerDeploymentRollout" },
  40. { "service": "google.cloud.gaming.v1.RealmsService", "method": "CreateRealm" },
  41. { "service": "google.cloud.gaming.v1.RealmsService", "method": "DeleteRealm" },
  42. { "service": "google.cloud.gaming.v1.RealmsService", "method": "UpdateRealm" }
  43. ],
  44. "timeout": "60s"
  45. },
  46. {
  47. "name": [
  48. { "service": "google.cloud.gaming.v1.GameServerClustersService", "method": "CreateGameServerCluster" }
  49. ],
  50. "timeout": "120s"
  51. }
  52. ]
  53. }