Skip to main content

networks_effective_firewalls

Creates, updates, deletes, gets or lists a networks_effective_firewalls resource.

Overview

Namenetworks_effective_firewalls
TypeResource
Idgoogle.compute.networks_effective_firewalls

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
firewallPolicysarray[Output Only] Effective firewalls from firewall policy. It returns Global Network Firewall Policies and Hierarchical Firewall Policies. Use regionNetworkFirewallPolicies.getEffectiveFirewalls to get Regional Network Firewall Policies as well.
firewallsarrayEffective firewalls on the network.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_effective_firewallsselectproject, networkReturns the effective firewalls on a given network.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
networkstring
projectstring

SELECT examples

Returns the effective firewalls on a given network.

SELECT
firewallPolicys,
firewalls
FROM google.compute.networks_effective_firewalls
WHERE project = '{{ project }}' -- required
AND network = '{{ network }}' -- required;