Interface DiskTypeApi


  • @Path("/diskTypes")
    @Consumes("application/json")
    public interface DiskTypeApi
    • Method Detail

      • get

        @Named("DiskTypes:get")
        @GET
        @Path("/{diskType}")
        DiskType get​(@PathParam("diskType")
                     String diskType)
        Returns a disk type by name or null if not found.
      • listPage

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