[Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations.
associations[]
object
A list of associations.
associations[].name
string
The name for an association.
associations[].attachmentTarget
string
The target that the firewall policy is attached to.
associations[].firewallPolicyId
string
[Output Only] The firewall policy ID of the association.
associations[].shortName
string
[Output Only] The short name of the firewall policy of the association.
associations[].displayName (deprecated)
string
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
associations[].priority
integer
An integer indicating the priority of an association. The priority must be a positive value between 1 and 2147483647. Firewall Policies are evaluated from highest to lowest priority where 1 is the highest priority and 2147483647 is the lowest priority. The default value is 1000. If two associations have the same priority then lexicographical order on association names is applied.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eThis webpage details how to list firewall policy associations for a target resource, such as an organization or folder, using a \u003ccode\u003eGET\u003c/code\u003e HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe required \u003ccode\u003etarget\u003c/code\u003e resource is specified as a query parameter in the URL, with the request body needing to be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will contain a JSON structure that includes a list of associations, each containing details such as name, attachment target, firewall policy ID, and short name.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires specific OAuth scopes or IAM permissions, including \u003ccode\u003ecompute.organizations.listAssociations\u003c/code\u003e and potentially \u003ccode\u003ecompute.organizations.setFirewallPolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON response will always have the \u003ccode\u003ecompute#FirewallPoliciesListAssociations\u003c/code\u003e kind, representing a list of firewall policy associations.\u003c/p\u003e\n"]]],[],null,["# Method: firewallPolicies.listAssociations\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FirewallPoliciesListAssociationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nLists associations of a specified target, i.e., organization or folder.\n\n### HTTP request\n\n`GET https://compute.googleapis.com/compute/beta/locations/global/firewallPolicies/listAssociations`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/compute.readonly`\n- `\n https://www.googleapis.com/auth/compute`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nIn addition to any permissions specified on the fields above, authorization requires one or more of the following [IAM](https://cloud.google.com/iam/docs/) permissions:\n\n- `compute.organizations.listAssociations`\n- `compute.organizations.setFirewallPolicy`\n\nTo find predefined roles that contain those permissions, see [Compute Engine IAM Roles](/compute/docs/access/iam)."]]