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") @Nullable UrlMap get(String urlMapName)
@Named(value="UrlMaps:insert") Operation create(UrlMapOptions urlMapOptions)
urlMapOptions
- the options of the urlMap to add.@Named(value="UrlMaps:insert") 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") Operation update(String urlMapName, UrlMapOptions urlMapOptions)
urlMapName
- the name urlMap to be updated.urlMapOptions
- the new urlMap options.@Named(value="UrlMaps:patch") Operation patch(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") Operation delete(String urlMapName)
urlMapName
- name of the urlMap resource to delete.@Named(value="UrlMaps:validate") @Nullable UrlMapValidateResult validate(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") @Nullable UrlMapValidateResult validate(String urlMapName, UrlMap urlMap)
urlMapName
- name of the urlMap to run tests on.urlMap
- the url map to be tested.@Named(value="UrlMaps:list") ListPage<UrlMap> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="UrlMaps:list") Iterator<ListPage<UrlMap>> list()
#listPage(String, String, ListOptions)
@Named(value="UrlMaps:list") Iterator<ListPage<UrlMap>> list(ListOptions options)
#listPage(String, String, ListOptions)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.