Interface AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder (3.41.0)

public static interface AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsolidatedPolicy()

public abstract AnalyzerOrgPolicy getConsolidatedPolicy()

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.

.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;

Returns
TypeDescription
AnalyzerOrgPolicy

The consolidatedPolicy.

getConsolidatedPolicyOrBuilder()

public abstract AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder()

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.

.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;

Returns
TypeDescription
AnalyzerOrgPolicyOrBuilder

getPolicyBundle(int index)

public abstract AnalyzerOrgPolicy getPolicyBundle(int index)

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.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerOrgPolicy

getPolicyBundleCount()

public abstract int getPolicyBundleCount()

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.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;

Returns
TypeDescription
int

getPolicyBundleList()

public abstract List<AnalyzerOrgPolicy> getPolicyBundleList()

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.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;

Returns
TypeDescription
List<AnalyzerOrgPolicy>

getPolicyBundleOrBuilder(int index)

public abstract AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index)

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.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerOrgPolicyOrBuilder

getPolicyBundleOrBuilderList()

public abstract List<? extends AnalyzerOrgPolicyOrBuilder> getPolicyBundleOrBuilderList()

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.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 2;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>

hasConsolidatedPolicy()

public abstract boolean hasConsolidatedPolicy()

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.

.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;

Returns
TypeDescription
boolean

Whether the consolidatedPolicy field is set.