Required. The organization to scope the request. Only organization policies within the scope will be analyzed. The output containers will also be limited to the ones governed by those in-scope organization policies.
When filtering by a specific field, the only supported operator is =. For example, filtering by parent="//cloudresourcemanager.googleapis.com/folders/001" will return all the containers under "folders/001".
If the constraint is defined with default policy, it will also appear in the list.
project
string
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.
folders[]
string
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.
organization
string
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.
[[["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-30 UTC."],[[["\u003cp\u003eThis API allows for the analysis of organization policies that govern containers (projects, folders, or organizations) within a specified scope.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request for this analysis is a \u003ccode\u003eGET\u003c/code\u003e request to a specific URL with path parameters, such as the \u003ccode\u003escope\u003c/code\u003e of the analysis, to be specified.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters like \u003ccode\u003econstraint\u003c/code\u003e, \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003epageSize\u003c/code\u003e are used to refine the analysis, filter the results, and manage pagination.\u003c/p\u003e\n"],["\u003cp\u003eThe response body returns a list of \u003ccode\u003egovernedContainers\u003c/code\u003e, the \u003ccode\u003econstraint\u003c/code\u003e definition, and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, all represented in a defined JSON structure.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGovernedContainer\u003c/code\u003e object details the analyzed resources, including its full resource name, parent, consolidated policy, policy bundle, project, folders, organization, and effective tags.\u003c/p\u003e\n"]]],[],null,["# Method: analyzeOrgPolicyGovernedContainers\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.AnalyzeOrgPolicyGovernedContainersResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [GovernedContainer](#GovernedContainer)\n - [JSON representation](#GovernedContainer.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nAnalyzes organization policies governed containers (projects, folders or organization) under a scope.\n\n### HTTP request\n\n`GET https://cloudasset.googleapis.com/v1/{scope=*/*}:analyzeOrgPolicyGovernedContainers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for [AssetService.AnalyzeOrgPolicyGovernedContainers](/asset-inventory/docs/reference/rest/v1/TopLevel/analyzeOrgPolicyGovernedContainers#google.cloud.asset.v1.AssetService.AnalyzeOrgPolicyGovernedContainers).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\nGovernedContainer\n-----------------\n\nThe organization/folder/project resource governed by organization policies of [AnalyzeOrgPolicyGovernedContainersRequest.constraint](/asset-inventory/docs/reference/rest/v1/TopLevel/analyzeOrgPolicyGovernedContainers#body.QUERY_PARAMETERS.constraint)."]]