disableService method

  1. @Deprecated('This method is deprecated')
ResponseFuture<Operation> disableService(
  1. DisableServiceRequest request, {
  2. CallOptions? options,
})

Disables 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.

Operation response type: google.protobuf.Empty

Implementation

@$core.Deprecated('This method is deprecated')
$grpc.ResponseFuture<$1.Operation> disableService(
  $0.DisableServiceRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$disableService, request, options: options);
}