Skip to main content

organization_security_policies_associations

Creates, updates, deletes, gets or lists an organization_security_policies_associations resource.

Overview

Nameorganization_security_policies_associations
TypeResource
Idgoogle.compute.organization_security_policies_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associationsarrayA list of associations.
kindstringOutput only. [Output Only] Type of securityPolicy associations. Alwayscompute#organizationSecurityPoliciesListAssociations for lists of securityPolicy associations. (default: compute#organizationSecurityPoliciesListAssociationsResponse)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_associationsselecttargetResourceLists associations of a specified target, i.e., organization or folder.

Use this API to read Cloud Armor policies. Previously, alpha and beta
versions of this API were used to read firewall policies. This usage is
now disabled for most organizations. Use firewallPolicies.listAssociations
instead.

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
targetResourcestring

SELECT examples

Lists associations of a specified target, i.e., organization or folder.

Use this API to read Cloud Armor policies. Previously, alpha and beta
versions of this API were used to read firewall policies. This usage is
now disabled for most organizations. Use firewallPolicies.listAssociations
instead.

SELECT
associations,
kind
FROM google.compute.organization_security_policies_associations
WHERE targetResource = '{{ targetResource }}'
;