@Consumes(value="application/json")
public interface BackendServiceApi
| Modifier and Type | Interface and Description |
|---|---|
static class |
BackendServiceApi.BackendServicePages |
| Modifier and Type | Method and Description |
|---|---|
Operation |
create(BackendServiceOptions backendService)
Creates a backend service resource in the specified project using the data
included in the request.
|
Operation |
delete(String backendServiceName)
Deletes the specified backend service resource.
|
BackendService |
get(String backendServiceName)
Returns the specified backend service resource.
|
HealthStatus |
getHealth(String backendServiceName,
URI group)
Gets the most recent health check results for this backend service.
|
Iterator<ListPage<BackendService>> |
list() |
Iterator<ListPage<BackendService>> |
list(ListOptions options) |
ListPage<BackendService> |
listPage(String pageToken,
ListOptions options)
Retrieves the list of backend service resources available to the specified
project.
|
Operation |
patch(String backendServiceName,
BackendServiceOptions backendServiceOptions)
Updates the specified backend service resource, with patch semantics, with
the data included in the request.
|
Operation |
update(String backendServiceName,
BackendServiceOptions backendServiceOptions)
Updates the specified backend service resource with the data included in
the request.
|
@Named(value="BackendServices:get")
@GET
@Path(value="/{backendService}")
@Nullable
BackendService get(@PathParam(value="backendService")
String backendServiceName)
backendServiceName - name of the backend service resource to return.@Named(value="BackendServices:insert") @POST @Produces(value="application/json") Operation create(BackendServiceOptions backendService)
backendService - options for this backend service.@Named(value="BackendServices:update")
@PUT
@Produces(value="application/json")
@Path(value="/{backendService}")
Operation update(@PathParam(value="backendService")
String backendServiceName,
BackendServiceOptions backendServiceOptions)
backendServiceName - the name backend service to be updated.backendServiceOptions - the new backend service.@Named(value="BackendServices:patch")
@Produces(value="application/json")
@Path(value="/{backendService}")
Operation patch(@PathParam(value="backendService")
String backendServiceName,
BackendServiceOptions backendServiceOptions)
backendServiceName - the name backend service to be updated.backendServiceOptions - the new backend service.@Named(value="BackendServices:getHealth")
@POST
@Produces(value="application/json")
@Path(value="/{backendService}/getHealth")
HealthStatus getHealth(@PathParam(value="backendService")
String backendServiceName,
URI group)
backendServiceName - the name backend service to get health stats on.group - the group in the backend service to get health stats on.@Named(value="BackendServices:delete")
@DELETE
@Path(value="/{backendService}")
Operation delete(@PathParam(value="backendService")
String backendServiceName)
backendServiceName - name of the backend service resource to delete.@Named(value="BackendServices:list") @GET ListPage<BackendService> listPage(@QueryParam(value="pageToken")@Nullable String pageToken, ListOptions options)
pageToken - marks the beginning of the next list pagelistOptions - listing options@Named(value="BackendServices:list") @GET Iterator<ListPage<BackendService>> list()
listPage(String, ListOptions)@Named(value="BackendServices:list") @GET Iterator<ListPage<BackendService>> list(ListOptions options)
listPage(String, ListOptions)Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.