Interface RegionApi


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

      • 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