Method projects.sinks.list

Lists project sinks associated with a project.

HTTP request

GET https://logging.googleapis.com/v1beta3/{projectName=projects/*}/sinks

(This URI uses URI Template syntax.)

Path parameters

Parameter name Type Description
projectName string The project whose sinks are wanted.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Result returned from ListSinks.

JSON representation
{
  "sinks": [
    {
      object(LogSink)
    }
  ],
}
Field name Type Description
sinks[] object(LogSink) The requested sinks. If a returned LogSink object has an empty destination field, the client can retrieve the complete LogSink object by calling projects.sinks.get.

Authorization

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/logging.read
  • https://www.googleapis.com/auth/logging.admin
  • https://www.googleapis.com/auth/cloud-platform.read-only
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Auth Guide.

Try it!