Method: projects.traceSinks.list

List all sinks for the parent resource (GCP project).

HTTP request

GET https://cloudtrace.googleapis.com/v2beta1/{parent=projects/*}/traceSinks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource whose sinks are to be listed (currently only project parent resources are supported):

"projects/[PROJECT_ID]"

Authorization requires the following IAM permission on the specified resource parent:

  • cloudtrace.tracesinks.list

Query parameters

Parameters
pageToken

string

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

pageSize

integer

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.

Request body

The request body must be empty.

Response body

Result returned from traceSinks.list.

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

JSON representation
{
  "sinks": [
    {
      object (TraceSink)
    }
  ],
  "nextPageToken": string
}
Fields
sinks[]

object (TraceSink)

A list of sinks.

nextPageToken

string

A paginated response where more pages might be available has nextPageToken set. To get the next set of results, call the same method again using the value of nextPageToken as pageToken.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/trace.readonly
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.