network_firewall_policies
Creates, updates, deletes, gets or lists a network_firewall_policies resource.
Overview
| Name | network_firewall_policies |
| Type | Resource |
| Id | google.compute.network_firewall_policies |
Fields
The following fields are returned by SELECT queries:
- aggregated_list
| Name | Datatype | Description |
|---|
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
aggregated_list | select | project | returnPartialSuccess, filter, serviceProjectNumber, maxResults, pageToken, includeAllScopes, orderBy | Retrieves an aggregated list of network firewall policies, listing network firewall policies from all applicable scopes (global and regional) and grouping the results per scope. To prevent failure, it is recommended that you set the returnPartialSuccess parameter to true. |
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.
| Name | Datatype | Description |
|---|---|---|
project | string | |
filter | string | |
includeAllScopes | boolean | |
maxResults | integer (uint32) | |
orderBy | string | |
pageToken | string | |
returnPartialSuccess | boolean | |
serviceProjectNumber | string (int64) |
SELECT examples
- aggregated_list
Retrieves an aggregated list of network firewall policies, listing network
firewall policies from all applicable scopes (global and regional) and
grouping the results per scope.
To prevent failure, it is recommended that you set thereturnPartialSuccess parameter to true.
SELECT
*
FROM google.compute.network_firewall_policies
WHERE project = '{{ project }}' -- required
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND filter = '{{ filter }}'
AND serviceProjectNumber = '{{ serviceProjectNumber }}'
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
AND includeAllScopes = '{{ includeAllScopes }}'
AND orderBy = '{{ orderBy }}'
;