report method
Reports operation results to Google Service Control, such as logs and metrics. It should be called after an operation is completed.
If feasible, the client should aggregate reporting data for up to 5 seconds to reduce API traffic. Limiting aggregation to 5 seconds is to reduce data loss during client crashes. Clients should carefully choose the aggregation time window to avoid data loss risk more than 0.01% for business and compliance reasons.
NOTE: the google.api.servicecontrol.v1.ReportRequest has
the size limit (wire-format byte size) of 1MB.
This method requires the servicemanagement.services.report permission
on the specified service. For more information, see
Google Cloud IAM.
Implementation
$grpc.ResponseFuture<$0.ReportResponse> report(
$0.ReportRequest request, {
$grpc.CallOptions? options,
}) {
return $createUnaryCall(_$report, request, options: options);
}