Google Cloud Asset Inventory v1 API - Class AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult (3.4.0)

public sealed class OrgPolicyResult : IMessage<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IEquatable<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IDeepCloneable<AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult.

The organization policy result to the query.

Inheritance

Object > AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult

Namespace

Google.Cloud.Asset.V1

Assembly

Google.Cloud.Asset.V1.dll

Constructors

OrgPolicyResult()

public OrgPolicyResult()

OrgPolicyResult(AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult)

public OrgPolicyResult(AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult other)
Parameter
NameDescription
otherAnalyzeOrgPoliciesResponse.Types.OrgPolicyResult

Properties

ConsolidatedPolicy

public AnalyzerOrgPolicy ConsolidatedPolicy { get; set; }

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.

Property Value
TypeDescription
AnalyzerOrgPolicy

PolicyBundle

public RepeatedField<AnalyzerOrgPolicy> PolicyBundle { get; }

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.

Property Value
TypeDescription
RepeatedField<AnalyzerOrgPolicy>