Firewalls
class Firewalls extends Resource (View source)
The "firewalls" collection of methods.
Typical usage is:
$computeService = new Google\Service\Compute(...);
$firewalls = $computeService->firewalls;
Methods
Deletes the specified firewall. (firewalls.delete)
Returns the specified firewall. (firewalls.get)
Retrieves the list of firewall rules available to the specified project.
Details
Operation
delete(string $project, string $firewall, array $optParams = [])
Deletes the specified firewall. (firewalls.delete)
Firewall
get(string $project, string $firewall, array $optParams = [])
Returns the specified firewall. (firewalls.get)
Operation
insert(string $project, Firewall $postBody, array $optParams = [])
Creates a firewall rule in the specified project using the data included in the request. (firewalls.insert)
FirewallList
listFirewalls(string $project, array $optParams = [])
Retrieves the list of firewall rules available to the specified project.
(firewalls.listFirewalls)
Operation
patch(string $project, string $firewall, Firewall $postBody, array $optParams = [])
Updates the specified firewall rule with the data included in the request.
This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (firewalls.patch)
Operation
update(string $project, string $firewall, Firewall $postBody, array $optParams = [])
Updates the specified firewall rule with the data included in the request.
Note that all fields will be updated if using PUT, even fields that are not specified. To update individual fields, please use PATCH instead. (firewalls.update)