logging.yaml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # Google Cloud Logging API service configuration
  2. type: google.api.Service
  3. config_version: 2
  4. name: logging.googleapis.com
  5. title: Stackdriver Logging API
  6. apis:
  7. - name: google.logging.v2.LoggingServiceV2
  8. - name: google.logging.v2.ConfigServiceV2
  9. - name: google.logging.v2.MetricsServiceV2
  10. documentation:
  11. summary:
  12. The Google Cloud Logging API lets you write log
  13. entries and manage your logs, log sinks and logs-based metrics.
  14. overview: |
  15. (== suppress_warning versioning-http-version-prefix ==)
  16. # Auth section
  17. authentication:
  18. rules:
  19. - selector: |-
  20. google.logging.v1.LoggingService.DeleteLog,
  21. google.logging.v1.ConfigService.CreateLogServiceSink,
  22. google.logging.v1.ConfigService.CreateLogSink,
  23. google.logging.v1.ConfigService.CreateSink,
  24. google.logging.v1.ConfigService.DeleteLogServiceSink,
  25. google.logging.v1.ConfigService.DeleteLogSink,
  26. google.logging.v1.ConfigService.DeleteSink,
  27. google.logging.v1.ConfigService.UpdateLogServiceSink,
  28. google.logging.v1.ConfigService.UpdateLogSink,
  29. google.logging.v1.ConfigService.UpdateSink,
  30. google.logging.v2.LoggingServiceV2.DeleteLog,
  31. google.logging.v2.ConfigServiceV2.CreateSink,
  32. google.logging.v2.ConfigServiceV2.DeleteSink,
  33. google.logging.v2.ConfigServiceV2.UpdateSink,
  34. oauth:
  35. canonical_scopes: |-
  36. https://www.googleapis.com/auth/logging.admin,
  37. https://www.googleapis.com/auth/cloud-platform
  38. - selector: |-
  39. google.logging.v1.LoggingService.ListLogEntries,
  40. google.logging.v1.LoggingService.ListLogServiceIndexes,
  41. google.logging.v1.LoggingService.ListLogServices,
  42. google.logging.v1.LoggingService.ListLogs,
  43. google.logging.v1.ConfigService.GetLogServiceSink,
  44. google.logging.v1.ConfigService.GetLogSink,
  45. google.logging.v1.ConfigService.GetSink,
  46. google.logging.v1.ConfigService.ListLogServiceSinks,
  47. google.logging.v1.ConfigService.ListLogSinks,
  48. google.logging.v1.ConfigService.ListSinks,
  49. google.logging.v1.MetricsService.GetLogMetric,
  50. google.logging.v1.MetricsService.ListLogMetrics,
  51. google.logging.v2.LoggingServiceV2.ListLogEntries,
  52. google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors,
  53. google.logging.v2.ConfigServiceV2.GetSink,
  54. google.logging.v2.ConfigServiceV2.ListSinks,
  55. google.logging.v2.MetricsServiceV2.GetLogMetric,
  56. google.logging.v2.MetricsServiceV2.ListLogMetrics
  57. oauth:
  58. canonical_scopes: |-
  59. https://www.googleapis.com/auth/logging.read,
  60. https://www.googleapis.com/auth/logging.admin,
  61. https://www.googleapis.com/auth/cloud-platform.read-only,
  62. https://www.googleapis.com/auth/cloud-platform
  63. - selector: |-
  64. google.logging.v1.LoggingService.WriteLogEntries,
  65. google.logging.v1.MetricsService.CreateLogMetric,
  66. google.logging.v1.MetricsService.DeleteLogMetric,
  67. google.logging.v1.MetricsService.UpdateLogMetric,
  68. google.logging.v2.LoggingServiceV2.WriteLogEntries,
  69. google.logging.v2.MetricsServiceV2.CreateLogMetric,
  70. google.logging.v2.MetricsServiceV2.DeleteLogMetric,
  71. google.logging.v2.MetricsServiceV2.UpdateLogMetric
  72. oauth:
  73. canonical_scopes: |-
  74. https://www.googleapis.com/auth/logging.write,
  75. https://www.googleapis.com/auth/logging.admin,
  76. https://www.googleapis.com/auth/cloud-platform