> +         return null;
> +      }
> +
> +      ListOptions options = new ListOptions.Builder().filter("network eq 
> .*/" + group.getName());
> +
> +      FluentIterable<Firewall> fws = 
> api.getFirewallApiForProject(userProject.get()).list(options).concat();
> +
> +      for (Firewall fw : fws) {
> +         if (equalsIpPermission(ipPermission).apply(fw)) {
> +            AtomicReference<Operation> operation = new 
> AtomicReference<Operation>(api.getFirewallApiForProject(userProject.get())
> +                    .delete(fw.getName()));
> +
> +            retry(operationDonePredicate, operationCompleteCheckTimeout, 
> operationCompleteCheckInterval,
> +                    MILLISECONDS).apply(operation);
> +
> +            checkState(!operation.get().getHttpError().isPresent(), "Could 
> not delete firewall, operation failed" + operation);

See questions above

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/5/files#r7379931

Reply via email to