Get Traffic Summary
GetTrafficSummary returns app-scoped traffic counters and a time-bucketed outcome series for the Edges owned by app_id, over the same since/until window and Edge-resolution contract as ListTrafficEvents (empty/zero response when the app has no Edges or the audit reader isn’t configured).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The appId field.
Query Parameters
Defaults to TB_TIME_BUCKET_HOUR when unset.
TB_TIME_BUCKET_UNSPECIFIED, TB_TIME_BUCKET_HOUR, TB_TIME_BUCKET_DAY Same defaulting/bounding contract as ListTrafficEventsRequest.since -- enforced by the handler, not this field's validation.
The until field.
Response
Successful response
The TBControlPlaneServiceGetTrafficSummaryResponse message.
The allowedEvents field.
The deniedEvents field.
The distinctAgentCount field.
The distinctToolCount field.
The series field.
The totalEvents field.
The totalRequestBytes field.
The totalResponseBytes field.
The unspecifiedEvents field.