Interface ZoneApi


  • @Path("/zones")
    @Consumes("application/json")
    public interface ZoneApi
    • Method Detail

      • get

        @Named("Zones:get")
        @GET
        @Path("/{zone}")
        Zone get​(@PathParam("zone")
                 String zone)
        Returns a zone by name or null if not found.
      • listPage

        @Named("Zones:list")
        @GET
        ListPage<Zone> listPage​(@Nullable @QueryParam("pageToken")
                                String pageToken,
                                ListOptions listOptions)
        Retrieves the list of zone 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