pub struct OrgPolicyResult {
pub consolidated_policy: Option<AnalyzerOrgPolicy>,
pub folders: Option<Vec<String>>,
pub organization: Option<String>,
pub policy_bundle: Option<Vec<AnalyzerOrgPolicy>>,
pub project: Option<String>,
}Expand description
The organization policy result to the query.
This type is not used in any activity, and only used as part of another schema.
Fields§
§consolidated_policy: Option<AnalyzerOrgPolicy>The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating policy_bundle. The evaluation will respect the organization policy hierarchy rules.
folders: Option<Vec<String>>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: Option<String>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.
policy_bundle: Option<Vec<AnalyzerOrgPolicy>>The ordered list of all organization policies from the 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: Option<String>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.
Trait Implementations§
Source§impl Clone for OrgPolicyResult
impl Clone for OrgPolicyResult
Source§fn clone(&self) -> OrgPolicyResult
fn clone(&self) -> OrgPolicyResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more