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.
Implements
IMessageAnalyzeOrgPoliciesResponseTypesOrgPolicyResult, IEquatableAnalyzeOrgPoliciesResponseTypesOrgPolicyResult, IDeepCloneableAnalyzeOrgPoliciesResponseTypesOrgPolicyResult, IBufferMessage, IMessageNamespace
Google.Cloud.Asset.V1Assembly
Google.Cloud.Asset.V1.dll
Constructors
OrgPolicyResult()
public OrgPolicyResult()
OrgPolicyResult(OrgPolicyResult)
public OrgPolicyResult(AnalyzeOrgPoliciesResponse.Types.OrgPolicyResult other)
Parameter | |
---|---|
Name | Description |
other |
AnalyzeOrgPoliciesResponseTypesOrgPolicyResult |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |