Interface OperationApi
@Consumes("application/json")
public interface OperationApi
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
static final class
static final class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deletes an operation by name.Returns an operation by self-link or null if not found.list()
list
(ListOptions options) listInRegion
(String region) listInRegion
(String region, ListOptions options) listInZone
(String zone) listInZone
(String zone, ListOptions options) listPage
(String pageToken, ListOptions listOptions) Retrieves the list of operation resources available to the specified project.listPageInRegion
(String region, String pageToken, ListOptions listOptions) Retrieves the list of operation resources available in the specified region.listPageInZone
(String zone, String pageToken, ListOptions listOptions) Retrieves the list of operation resources available in the specified zone.
-
Method Details
-
get
Returns an operation by self-link or null if not found. -
delete
Deletes an operation by name. -
listPage
@Named("GlobalOperations:list") @GET @Path("/global/operations") ListPage<Operation> listPage(@Nullable @QueryParam("pageToken") String pageToken, ListOptions listOptions) Retrieves the list of operation 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 pagelistOptions
- listing options- Returns:
- a page of the list
-
list
@Named("GlobalOperations:list") @GET @Path("/global/operations") Iterator<ListPage<Operation>> list()- See Also:
-
list
@Named("GlobalOperations:list") @GET @Path("/global/operations") Iterator<ListPage<Operation>> list(ListOptions options) - See Also:
-
listPageInRegion
@Named("RegionOperations:list") @GET @Path("/regions/{region}/operations") ListPage<Operation> listPageInRegion(@PathParam("region") String region, @Nullable @QueryParam("pageToken") String pageToken, ListOptions listOptions) Retrieves the list of operation resources available in the specified region. 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 pagelistOptions
- listing options- Returns:
- a page of the list
-
listInRegion
@Named("RegionOperations:list") @GET @Path("/regions/{region}/operations") Iterator<ListPage<Operation>> listInRegion(@PathParam("region") String region) - See Also:
-
listInRegion
@Named("RegionOperations:list") @GET @Path("/regions/{region}/operations") Iterator<ListPage<Operation>> listInRegion(@PathParam("region") String region, ListOptions options) - See Also:
-
listPageInZone
@Named("ZoneOperations:list") @GET @Path("/zones/{zone}/operations") ListPage<Operation> listPageInZone(@PathParam("zone") String zone, @Nullable @QueryParam("pageToken") String pageToken, ListOptions listOptions) Retrieves the list of operation resources available in the specified zone. 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 pagelistOptions
- listing options- Returns:
- a page of the list
-
listInZone
@Named("ZoneOperations:list") @GET @Path("/zones/{zone}/operations") Iterator<ListPage<Operation>> listInZone(@PathParam("zone") String zone) - See Also:
-
listInZone
@Named("ZoneOperations:list") @GET @Path("/zones/{zone}/operations") Iterator<ListPage<Operation>> listInZone(@PathParam("zone") String zone, ListOptions options) - See Also:
-