public interface ForwardingRuleApi
Modifier and Type | Interface and Description |
---|---|
static class |
ForwardingRuleApi.ForwardingRulePages |
Modifier and Type | Method and Description |
---|---|
Operation |
create(String forwardingRuleName,
ForwardingRuleCreationOptions options)
Creates a ForwardingRule resource in the specified project and region using the data included in the request.
|
Operation |
delete(String forwardingRule)
Deletes a forwarding rule by name and returns the operation in progress, or null if not found.
|
ForwardingRule |
get(String forwardingRule)
Returns a forwarding rule by name or null if not found.
|
Iterator<ListPage<ForwardingRule>> |
list() |
Iterator<ListPage<ForwardingRule>> |
list(ListOptions options) |
ListPage<ForwardingRule> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of forwarding rule resources available to the specified project.
|
Operation |
setTarget(String forwardingRule,
URI target)
Changes the target url for a forwarding rule.
|
@Named(value="ForwardingRules:get") @Nullable ForwardingRule get(String forwardingRule)
@Named(value="ForwardingRules:insert") Operation create(String forwardingRuleName, ForwardingRuleCreationOptions options)
forwardingRuleName
- the name of the forwarding rule.@Named(value="ForwardingRules:delete") @Nullable Operation delete(String forwardingRule)
@Named(value="ForwardingRules:setTarget") @Nullable Operation setTarget(String forwardingRule, URI target)
forwardingRule
- the name of the ForwardingRule resource in which target is to be set.target
- The URL of the target resource to receive traffic from this forwarding rule.
It must live in the same region as this forwarding rule.@Named(value="ForwardingRules:list") ListPage<ForwardingRule> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="ForwardingRules:list") Iterator<ListPage<ForwardingRule>> list()
listPage(String, ListOptions)
@Named(value="ForwardingRules:list") Iterator<ListPage<ForwardingRule>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.