code: public void removeGlobalForwardingRule(@Nonnull String globalForwardingRule) throws CloudException, InternalException {
          Compute gce = provider.getGoogleCompute();
  
          GoogleMethod method = new GoogleMethod(provider);
          try {
              Operation job = gce.globalForwardingRules().delete(ctx.getAccountNumber(), globalForwardingRule.replaceAll(".*/", "")).execute();
              method.getOperationComplete(provider.getContext(), job, GoogleOperationType.GLOBAL_OPERATION, null, null);
          } catch ( IOException ex ) {
              if (ex.getClass() == GoogleJsonResponseException.class) {
                  GoogleJsonResponseException gjre = (GoogleJsonResponseException)ex;
                  throw new GoogleException(CloudErrorType.GENERAL, gjre.getStatusCode(), gjre.getContent(), gjre.getDetails().getMessage());
              } else
                  throw new CloudException("An error occurred removing global forwarding rule " + ex.getMessage());
          } catch (Exception ex) {
              throw new CloudException("Error removing global forwarding rule " + ex.getMessage());
          }
      }
docs: /*
  takes either a globalForwardingRule name or url