@Consumes(value="application/json")
public interface UrlMapApi
Modifier and Type | Interface and Description |
---|---|
static class |
UrlMapApi.UrlMapPages |
Modifier and Type | Method and Description |
---|---|
Operation |
create(String name,
URI defaultService)
Creates a urlMap resource in the specified project using the data included in the request.
|
Operation |
create(UrlMapOptions urlMapOptions)
Creates a urlMap resource in the specified project using the data included in the request.
|
Operation |
delete(String urlMapName)
Deletes the specified urlMap resource.
|
UrlMap |
get(String urlMapName)
Returns the specified urlMap resource by name or null if not found.
|
Iterator<ListPage<UrlMap>> |
list() |
Iterator<ListPage<UrlMap>> |
list(ListOptions options) |
ListPage<UrlMap> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of urlMap resources available to the specified project.
|
Operation |
patch(String urlMapName,
UrlMapOptions urlMapOptions)
Updates the specified urlMap resource, with patch semantics, with the data included in the request.
|
Operation |
update(String urlMapName,
UrlMapOptions urlMapOptions)
Updates the specified urlMap resource with the data included in the request.
|
UrlMapValidateResult |
validate(String urlMapName,
UrlMap urlMap)
Runs the tests specified for the give urlMap resource.
|
UrlMapValidateResult |
validate(String urlMapName,
UrlMapOptions options)
Runs the tests specified for the give urlMap resource.
|
@Named(value="UrlMaps:get") @GET @Path(value="/{urlMap}") @Nullable UrlMap get(@PathParam(value="urlMap") String urlMapName)
@Named(value="UrlMaps:insert") @POST @Produces(value="application/json") Operation create(UrlMapOptions urlMapOptions)
urlMapOptions
- the options of the urlMap to add.@Named(value="UrlMaps:insert") @POST @Produces(value="application/json") Operation create(String name, URI defaultService)
name
- the name of the urlMap to be inserted.defaultService
- the default backend service of the urlMap to add.@Named(value="UrlMaps:update") @PUT @Produces(value="application/json") @Path(value="/{urlMap}") Operation update(@PathParam(value="urlMap") String urlMapName, UrlMapOptions urlMapOptions)
urlMapName
- the name urlMap to be updated.urlMapOptions
- the new urlMap options.@Named(value="UrlMaps:patch") @Produces(value="application/json") @Path(value="/{urlMap}") Operation patch(@PathParam(value="urlMap") String urlMapName, UrlMapOptions urlMapOptions)
UrlMapOptions.Builder#buildForPatch()
may be helpful.urlMapName
- the name urlMap to be updated.urlMapOptions
- the new urlMap options.@Named(value="UrlMaps:delete") @DELETE @Path(value="/{urlMap}") Operation delete(@PathParam(value="urlMap") String urlMapName)
urlMapName
- name of the urlMap resource to delete.@Named(value="UrlMaps:validate") @POST @Path(value="/{urlMap}/validate") @Nullable UrlMapValidateResult validate(@PathParam(value="urlMap") String urlMapName, UrlMapOptions options)
urlMapName
- name of the urlMap to run tests on.options
- options that represent the url map to be tested.@Named(value="UrlMaps:validate") @POST @Path(value="/{urlMap}/validate") @Nullable UrlMapValidateResult validate(@PathParam(value="urlMap") String urlMapName, UrlMap urlMap)
urlMapName
- name of the urlMap to run tests on.urlMap
- the url map to be tested.@Named(value="UrlMaps:list") @GET ListPage<UrlMap> listPage(@Nullable@QueryParam(value="pageToken") String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="UrlMaps:list") @GET Iterator<ListPage<UrlMap>> list()
#listPage(String, String, ListOptions)
@Named(value="UrlMaps:list") @GET Iterator<ListPage<UrlMap>> list(ListOptions options)
#listPage(String, String, ListOptions)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.