Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

OrgPolicyResult

import type { OrgPolicyResult } from "https://googleapis.deno.dev/v1/cloudasset:v1.ts";

The organization policy result to the query.

interface OrgPolicyResult {
consolidatedPolicy?: AnalyzerOrgPolicy;
folders?: string[];
organization?: string;
policyBundle?: AnalyzerOrgPolicy[];
project?: string;
}

§Properties

§
consolidatedPolicy?: AnalyzerOrgPolicy
[src]

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.

§
folders?: string[]
[src]

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?: string
[src]

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.

§
policyBundle?: AnalyzerOrgPolicy[]
[src]

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?: string
[src]

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.