jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Turli <notificati...@github.com>
Subject Re: [jclouds-labs-google] initial commit to support GCE LB (#22)
Date Mon, 11 Aug 2014 20:46:11 GMT
> +
> +   /**
> +    * Returns the specified ForwardingRule resource.
> +    *
> +    * @param region     the name of the region scoping this request.
> +    * @param forwardingRule the name of the ForwardingRule resource to return.
> +    * @return a ForwardingRule resource.
> +    */
> +   @Named("ForwardingRules:get")
> +   @GET
> +   @Consumes(MediaType.APPLICATION_JSON)
> +   @Path("/regions/{region}/forwardingRules/{forwardingRule}")
> +   @OAuthScopes(COMPUTE_READONLY_SCOPE)
> +   @Fallback(NullOnNotFoundOr404.class)
> +   @Nullable
> +   ForwardingRule getInRegion(@PathParam("region") String region, @PathParam("forwardingRule")
String forwardingRule);

could you please point me to an existing API? Is [NovaApi]( https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/NovaApi.java)
a good example? If yes, I'm not sure about the usage of @EndpointParam

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/22/files#r16079041
Mime
View raw message