> + @Path("/regions/{region}/forwardingRules")
> + @OAuthScopes(COMPUTE_READONLY_SCOPE)
> + @ResponseParser(ParseForwardingRules.class)
> + @Transform(ParseForwardingRules.ToPagedIterable.class)
> + @Fallback(EmptyPagedIterableOnNotFoundOr404.class)
> + PagedIterable<ForwardingRule> listInRegion(@PathParam("region") String
> region);
> +
> + @Named("ForwardingRules:list")
> + @GET
> + @Consumes(MediaType.APPLICATION_JSON)
> + @Path("/regions/{region}/forwardingRules")
> + @OAuthScopes(COMPUTE_READONLY_SCOPE)
> + @ResponseParser(ParseForwardingRules.class)
> + @Transform(ParseForwardingRules.ToPagedIterable.class)
> + @Fallback(EmptyPagedIterableOnNotFoundOr404.class)
> + PagedIterable<ForwardingRule> listInRegion(@PathParam("region") String
> region, ListOptions options);
This method shouldn't be needed. Let's have a method that returns all records
without parameters, and one that returns the iterable with marker, and gets the
ListOptions object as a parameter.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/22/files#r15394295