memcache_v1beta2.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. type: google.api.Service
  2. config_version: 3
  3. name: memcache.googleapis.com
  4. title: Cloud Memorystore for Memcached API
  5. apis:
  6. - name: google.cloud.memcache.v1beta2.CloudMemcache
  7. types:
  8. - name: google.cloud.memcache.v1beta2.LocationMetadata
  9. - name: google.cloud.memcache.v1beta2.OperationMetadata
  10. documentation:
  11. summary: |-
  12. Google Cloud Memorystore for Memcached API is used for creating and
  13. managing Memcached instances in GCP.
  14. rules:
  15. - selector: google.cloud.location.Locations.GetLocation
  16. description: Gets information about a location.
  17. - selector: google.cloud.location.Locations.ListLocations
  18. description: Lists information about the supported locations for this service.
  19. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  20. description: |-
  21. Gets the access control policy for a resource. Returns an empty policy
  22. if the resource exists and does not have a policy set.
  23. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  24. description: |-
  25. Sets the access control policy on the specified resource. Replaces
  26. any existing policy.
  27. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  28. errors.
  29. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  30. description: |-
  31. Returns permissions that a caller has on the specified resource. If the
  32. resource does not exist, this will return an empty set of
  33. permissions, not a `NOT_FOUND` error.
  34. Note: This operation is designed to be used for building
  35. permission-aware UIs and command-line tools, not for authorization
  36. checking. This operation may "fail open" without warning.
  37. backend:
  38. rules:
  39. - selector: google.cloud.location.Locations.GetLocation
  40. deadline: 60.0
  41. - selector: google.cloud.location.Locations.ListLocations
  42. deadline: 60.0
  43. - selector: google.cloud.memcache.v1beta2.CloudMemcache.GetInstance
  44. deadline: 60.0
  45. - selector: google.cloud.memcache.v1beta2.CloudMemcache.ListInstances
  46. deadline: 60.0
  47. - selector: 'google.iam.v1.IAMPolicy.*'
  48. deadline: 60.0
  49. - selector: 'google.longrunning.Operations.*'
  50. deadline: 60.0
  51. - selector: google.longrunning.Operations.GetOperation
  52. deadline: 5.0
  53. http:
  54. rules:
  55. - selector: google.cloud.location.Locations.GetLocation
  56. get: '/v1beta2/{name=projects/*/locations/*}'
  57. - selector: google.cloud.location.Locations.ListLocations
  58. get: '/v1beta2/{name=projects/*}/locations'
  59. - selector: google.longrunning.Operations.CancelOperation
  60. post: '/v1beta2/{name=projects/*/locations/*/operations/*}:cancel'
  61. body: '*'
  62. - selector: google.longrunning.Operations.DeleteOperation
  63. delete: '/v1beta2/{name=projects/*/locations/*/operations/*}'
  64. - selector: google.longrunning.Operations.GetOperation
  65. get: '/v1beta2/{name=projects/*/locations/*/operations/*}'
  66. - selector: google.longrunning.Operations.ListOperations
  67. get: '/v1beta2/{name=projects/*/locations/*}/operations'
  68. authentication:
  69. rules:
  70. - selector: google.cloud.location.Locations.GetLocation
  71. oauth:
  72. canonical_scopes: |-
  73. https://www.googleapis.com/auth/cloud-platform
  74. - selector: google.cloud.location.Locations.ListLocations
  75. oauth:
  76. canonical_scopes: |-
  77. https://www.googleapis.com/auth/cloud-platform
  78. - selector: 'google.cloud.memcache.v1beta2.CloudMemcache.*'
  79. oauth:
  80. canonical_scopes: |-
  81. https://www.googleapis.com/auth/cloud-platform
  82. - selector: 'google.iam.v1.IAMPolicy.*'
  83. oauth:
  84. canonical_scopes: |-
  85. https://www.googleapis.com/auth/cloud-platform
  86. - selector: 'google.longrunning.Operations.*'
  87. oauth:
  88. canonical_scopes: |-
  89. https://www.googleapis.com/auth/cloud-platform