public interface FirewallApi
Modifier and Type | Interface and Description |
---|---|
static class |
FirewallApi.FirewallPages |
Modifier and Type | Method and Description |
---|---|
Operation |
createInNetwork(String name,
URI network,
FirewallOptions firewallOptions)
Creates a firewall resource in the specified project using the data included in the request.
|
Operation |
delete(String firewall)
Deletes a firewall by name and returns the operation in progress, or null if not found.
|
Firewall |
get(String firewall)
Returns a firewall by name or null if not found.
|
Iterator<ListPage<Firewall>> |
list() |
Iterator<ListPage<Firewall>> |
list(ListOptions options) |
ListPage<Firewall> |
listPage(String pageToken,
ListOptions listOptions)
Retrieves the list of firewall resources available to the specified project.
|
Operation |
patch(String firewall,
FirewallOptions firewallOptions)
Updates the specified firewall resource, with patch semantics, with the data included in the request.
|
Operation |
update(String firewall,
FirewallOptions firewallOptions)
Updates the specified firewall resource with the data included in the request.
|
@Named(value="Firewalls:get") @Nullable Firewall get(String firewall)
@Named(value="Firewalls:insert") Operation createInNetwork(String name, URI network, FirewallOptions firewallOptions)
name
- the name of the firewall to be inserted.network
- the network to which to add the firewallfirewallOptions
- the options of the firewall to add@Named(value="Firewalls:update") Operation update(String firewall, FirewallOptions firewallOptions)
firewall
- the name firewall to be updated.firewallOptions
- the new firewall.@Named(value="Firewalls:patch") Operation patch(String firewall, FirewallOptions firewallOptions)
firewall
- the name firewall to be updated.firewallOptions
- the new firewall.@Named(value="Firewalls:delete") Operation delete(String firewall)
@Named(value="Firewalls:list") ListPage<Firewall> listPage(@Nullable String pageToken, ListOptions listOptions)
pageToken
- marks the beginning of the next list pagelistOptions
- listing options@Named(value="Firewalls:list") Iterator<ListPage<Firewall>> list()
listPage(String, ListOptions)
@Named(value="Firewalls:list") Iterator<ListPage<Firewall>> list(ListOptions options)
listPage(String, ListOptions)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.