View Source GoogleApi.CloudAsset.V1.Model.OrgPolicyResult (google_api_cloud_asset v0.35.0)

The organization policy result to the query.

Attributes

  • consolidatedPolicy (type: GoogleApi.CloudAsset.V1.Model.AnalyzerOrgPolicy.t, default: nil) - 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 (type: list(String.t), default: nil) - 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 (type: String.t, default: nil) - 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 (type: list(GoogleApi.CloudAsset.V1.Model.AnalyzerOrgPolicy.t), default: nil) - 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 (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudAsset.V1.Model.OrgPolicyResult{
  consolidatedPolicy: GoogleApi.CloudAsset.V1.Model.AnalyzerOrgPolicy.t() | nil,
  folders: [String.t()] | nil,
  organization: String.t() | nil,
  policyBundle: [GoogleApi.CloudAsset.V1.Model.AnalyzerOrgPolicy.t()] | nil,
  project: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.