- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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 | 
 Required. The parent resource whose sinks are to be listed (currently only project parent resources are supported): Authorization requires the following IAM permission on the specified resource  
 | 
Query parameters
| Parameters | |
|---|---|
| pageToken | 
 Optional. If present, then retrieve the next batch of results from the preceding call to this method.  | 
| pageSize | 
 Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of  | 
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 ( | 
| Fields | |
|---|---|
| sinks[] | 
 A list of sinks. | 
| nextPageToken | 
 A paginated response where more pages might be available has  | 
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.