Required. The parent resource whose sinks are to be listed (currently only project parent resources are supported):
"projects/[PROJECT_ID]"
Authorization requires the followingIAMpermission on the specified resourceparent:
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.pageTokenmust be the value ofnextPageTokenfrom 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 ofnextPageTokenin the response indicates that more results might be available.
Request body
The request body must be empty.
Response body
Result returned fromtraceSinks.list.
If successful, the response body contains data with the following structure:
A paginated response where more pages might be available hasnextPageTokenset. To get the next set of results, call the same method again using the value ofnextPageTokenaspageToken.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-23 UTC."],[],[],null,["# Method: projects.traceSinks.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListTraceSinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList all sinks for the parent resource (GCP project).\n\n### HTTP request\n\n`GET https://cloudtrace.googleapis.com/v2beta1/{parent=projects/*}/traceSinks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResult returned from `traceSinks.list`.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/trace.readonly`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]