logging.yaml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. type: google.api.Service
  2. config_version: 3
  3. name: logging.googleapis.com
  4. title: Cloud Logging API
  5. apis:
  6. - name: google.logging.v2.ConfigServiceV2
  7. - name: google.logging.v2.LoggingServiceV2
  8. - name: google.logging.v2.MetricsServiceV2
  9. documentation:
  10. summary: |-
  11. Writes log entries and manages your Cloud Logging configuration. The table
  12. entries below are presented in alphabetical order, not in order of common
  13. use. For explanations of the concepts found in the table entries, read the
  14. documentation at https://cloud.google.com/logging/docs.
  15. overview: '# Introduction
  16. The Cloud Logging service.'
  17. backend:
  18. rules:
  19. - selector: 'google.logging.v2.ConfigServiceV2.*'
  20. deadline: 60.0
  21. - selector: 'google.logging.v2.LoggingServiceV2.*'
  22. deadline: 60.0
  23. - selector: google.logging.v2.LoggingServiceV2.ListLogEntries
  24. deadline: 10.0
  25. - selector: google.logging.v2.LoggingServiceV2.TailLogEntries
  26. deadline: 3600.0
  27. - selector: 'google.logging.v2.MetricsServiceV2.*'
  28. deadline: 60.0
  29. authentication:
  30. rules:
  31. - selector: 'google.logging.v2.ConfigServiceV2.*'
  32. oauth:
  33. canonical_scopes: |-
  34. https://www.googleapis.com/auth/cloud-platform,
  35. https://www.googleapis.com/auth/logging.admin
  36. - selector: google.logging.v2.ConfigServiceV2.GetBucket
  37. oauth:
  38. canonical_scopes: |-
  39. https://www.googleapis.com/auth/cloud-platform,
  40. https://www.googleapis.com/auth/cloud-platform.read-only,
  41. https://www.googleapis.com/auth/logging.admin,
  42. https://www.googleapis.com/auth/logging.read
  43. - selector: google.logging.v2.ConfigServiceV2.GetCmekSettings
  44. oauth:
  45. canonical_scopes: |-
  46. https://www.googleapis.com/auth/cloud-platform,
  47. https://www.googleapis.com/auth/cloud-platform.read-only,
  48. https://www.googleapis.com/auth/logging.admin,
  49. https://www.googleapis.com/auth/logging.read
  50. - selector: google.logging.v2.ConfigServiceV2.GetExclusion
  51. oauth:
  52. canonical_scopes: |-
  53. https://www.googleapis.com/auth/cloud-platform,
  54. https://www.googleapis.com/auth/cloud-platform.read-only,
  55. https://www.googleapis.com/auth/logging.admin,
  56. https://www.googleapis.com/auth/logging.read
  57. - selector: google.logging.v2.ConfigServiceV2.GetSink
  58. oauth:
  59. canonical_scopes: |-
  60. https://www.googleapis.com/auth/cloud-platform,
  61. https://www.googleapis.com/auth/cloud-platform.read-only,
  62. https://www.googleapis.com/auth/logging.admin,
  63. https://www.googleapis.com/auth/logging.read
  64. - selector: google.logging.v2.ConfigServiceV2.GetView
  65. oauth:
  66. canonical_scopes: |-
  67. https://www.googleapis.com/auth/cloud-platform,
  68. https://www.googleapis.com/auth/cloud-platform.read-only,
  69. https://www.googleapis.com/auth/logging.admin,
  70. https://www.googleapis.com/auth/logging.read
  71. - selector: google.logging.v2.ConfigServiceV2.ListBuckets
  72. oauth:
  73. canonical_scopes: |-
  74. https://www.googleapis.com/auth/cloud-platform,
  75. https://www.googleapis.com/auth/cloud-platform.read-only,
  76. https://www.googleapis.com/auth/logging.admin,
  77. https://www.googleapis.com/auth/logging.read
  78. - selector: google.logging.v2.ConfigServiceV2.ListExclusions
  79. oauth:
  80. canonical_scopes: |-
  81. https://www.googleapis.com/auth/cloud-platform,
  82. https://www.googleapis.com/auth/cloud-platform.read-only,
  83. https://www.googleapis.com/auth/logging.admin,
  84. https://www.googleapis.com/auth/logging.read
  85. - selector: google.logging.v2.ConfigServiceV2.ListSinks
  86. oauth:
  87. canonical_scopes: |-
  88. https://www.googleapis.com/auth/cloud-platform,
  89. https://www.googleapis.com/auth/cloud-platform.read-only,
  90. https://www.googleapis.com/auth/logging.admin,
  91. https://www.googleapis.com/auth/logging.read
  92. - selector: google.logging.v2.ConfigServiceV2.ListViews
  93. oauth:
  94. canonical_scopes: |-
  95. https://www.googleapis.com/auth/cloud-platform,
  96. https://www.googleapis.com/auth/cloud-platform.read-only,
  97. https://www.googleapis.com/auth/logging.admin,
  98. https://www.googleapis.com/auth/logging.read
  99. - selector: 'google.logging.v2.LoggingServiceV2.*'
  100. oauth:
  101. canonical_scopes: |-
  102. https://www.googleapis.com/auth/cloud-platform,
  103. https://www.googleapis.com/auth/cloud-platform.read-only,
  104. https://www.googleapis.com/auth/logging.admin,
  105. https://www.googleapis.com/auth/logging.read
  106. - selector: google.logging.v2.LoggingServiceV2.DeleteLog
  107. oauth:
  108. canonical_scopes: |-
  109. https://www.googleapis.com/auth/cloud-platform,
  110. https://www.googleapis.com/auth/logging.admin
  111. - selector: google.logging.v2.LoggingServiceV2.WriteLogEntries
  112. oauth:
  113. canonical_scopes: |-
  114. https://www.googleapis.com/auth/cloud-platform,
  115. https://www.googleapis.com/auth/logging.admin,
  116. https://www.googleapis.com/auth/logging.write
  117. - selector: 'google.logging.v2.MetricsServiceV2.*'
  118. oauth:
  119. canonical_scopes: |-
  120. https://www.googleapis.com/auth/cloud-platform,
  121. https://www.googleapis.com/auth/logging.admin,
  122. https://www.googleapis.com/auth/logging.write
  123. - selector: google.logging.v2.MetricsServiceV2.GetLogMetric
  124. oauth:
  125. canonical_scopes: |-
  126. https://www.googleapis.com/auth/cloud-platform,
  127. https://www.googleapis.com/auth/cloud-platform.read-only,
  128. https://www.googleapis.com/auth/logging.admin,
  129. https://www.googleapis.com/auth/logging.read
  130. - selector: google.logging.v2.MetricsServiceV2.ListLogMetrics
  131. oauth:
  132. canonical_scopes: |-
  133. https://www.googleapis.com/auth/cloud-platform,
  134. https://www.googleapis.com/auth/cloud-platform.read-only,
  135. https://www.googleapis.com/auth/logging.admin,
  136. https://www.googleapis.com/auth/logging.read