Method projects.logServices.sinks.list

Lists log service sinks associated with a log service.

HTTP request

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

(This URI uses URI Template syntax.)

Path parameters

Parameter name Type Description
serviceName string The log service 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 ListLogServiceSinks.

JSON representation
{
  "sinks": [
    {
      object(LogSink)
    }
  ],
}
Field name Type Description
sinks[] object(LogSink) The requested log service sinks. If a returned LogSink object has an empty destination field, the client can retrieve the complete LogSink object by calling logServices.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!