@Deprecated
public static interface ServiceControllerGrpc.ServiceControllerFutureClient
[Google Service Control API](/service-control/overview) Lets clients check and report operations against a [managed service][google.api.servicemanagement.v1.ManagedService].
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<CheckResponse> |
check(CheckRequest request)
Deprecated.
Checks an operation with Google Service Control to decide whether
the given operation should proceed.
|
com.google.common.util.concurrent.ListenableFuture<ReportResponse> |
report(ReportRequest request)
Deprecated.
Reports operations to Google Service Control.
|
com.google.common.util.concurrent.ListenableFuture<CheckResponse> check(CheckRequest request)
Checks an operation with Google Service Control to decide whether the given operation should proceed. It should be called before the operation is executed. If feasible, the client should cache the check results and reuse them for up to 60s. In case of server errors, the client may rely on the cached results for longer time. This method requires the `servicemanagement.services.check` permission on the specified service. For more information, see [Google Cloud IAM](https://cloud.google.com/iam).
com.google.common.util.concurrent.ListenableFuture<ReportResponse> report(ReportRequest request)
Reports operations to Google Service Control. It should be called after the operation is completed. If feasible, the client should aggregate reporting data for up to 5s to reduce API traffic. Limiting aggregation to 5s is to reduce data loss during client crashes. Clients should carefully choose the aggregation window to avoid data loss risk more than 0.01% for business and compliance reasons. This method requires the `servicemanagement.services.report` permission on the specified service. For more information, see [Google Cloud IAM](https://cloud.google.com/iam).