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

public sealed class AnalyzeOrgPoliciesResponse.Types.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(OrgPolicyResult)

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

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

Folders

public RepeatedField<string> Folders { get; }

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.

Property Value
TypeDescription
RepeatedFieldstring

Organization

public string Organization { get; set; }

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.

Property Value
TypeDescription
string

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
RepeatedFieldAnalyzerOrgPolicy

Project

public string Project { get; set; }

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.

Property Value
TypeDescription
string