Interface RegionApi


@Path("/regions") @Consumes("application/json") public interface RegionApi
  • Method Details

    • get

      @Named("Regions:get") @GET @Path("/{region}") Region get(@PathParam("region") String region)
      Returns a region by name or null if not found.
    • listPage

      @Named("Regions:list") @GET ListPage<Region> listPage(@Nullable @QueryParam("pageToken") String pageToken, ListOptions listOptions)
      Retrieves the list of region resources available to the specified project. By default the list as a maximum size of 100, if no options are provided or ListOptions#getMaxResults() has not been set.
      Parameters:
      pageToken - marks the beginning of the next list page
      listOptions - listing options
      Returns:
      a page of the list
    • list

      @Named("Regions:list") @GET Iterator<ListPage<Region>> list()
      See Also:
    • list

      @Named("Regions:list") @GET Iterator<ListPage<Region>> list(ListOptions options)
      See Also: