Class OrgPolicyResult (3.25.1)

OrgPolicyResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The organization policy result to the query.

Attributes

NameDescription
consolidated_policy google.cloud.asset_v1.types.AnalyzerOrgPolicy
The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPoliciesResponse.policy_bundle][]. The evaluation will respect the organization policy `hierarchy rules
policy_bundle MutableSequence[google.cloud.asset_v1.types.AnalyzerOrgPolicy]
The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
project str
The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.
folders MutableSequence[str]
The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.
organization str
The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.