disableService method

ResponseFuture<Operation> disableService(
  1. DisableServiceRequest request, {
  2. CallOptions? options,
})

Disable a service so that it can no longer be used with a project. This prevents unintended usage that may cause unexpected billing charges or security leaks.

It is not valid to call the disable method on a service that is not currently enabled. Callers will receive a FAILED_PRECONDITION status if the target service is not currently enabled.

Implementation

$grpc.ResponseFuture<$1.Operation> disableService(
  $0.DisableServiceRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$disableService, request, options: options);
}