Interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder (3.43.0)

public static interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsolidatedPolicy()

public abstract AnalyzerOrgPolicy getConsolidatedPolicy()

The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

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

Returns
Type Description
AnalyzerOrgPolicy

The consolidatedPolicy.

getConsolidatedPolicyOrBuilder()

public abstract AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder()

The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

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

Returns
Type Description
AnalyzerOrgPolicyOrBuilder

getGovernedAssetCase()

public abstract AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.GovernedAssetCase getGovernedAssetCase()
Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.GovernedAssetCase

getGovernedIamPolicy()

public abstract AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy()

An IAM policy governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy

The governedIamPolicy.

getGovernedIamPolicyOrBuilder()

public abstract AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder()

An IAM policy governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder

getGovernedResource()

public abstract AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource()

A Google Cloud resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource

The governedResource.

getGovernedResourceOrBuilder()

public abstract AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder()

A Google Cloud resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;

Returns
Type Description
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder

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 = 4;

Parameter
Name Description
index int
Returns
Type Description
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 = 4;

Returns
Type Description
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 = 4;

Returns
Type Description
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 = 4;

Parameter
Name Description
index int
Returns
Type Description
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 = 4;

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

hasConsolidatedPolicy()

public abstract boolean hasConsolidatedPolicy()

The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

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

Returns
Type Description
boolean

Whether the consolidatedPolicy field is set.

hasGovernedIamPolicy()

public abstract boolean hasGovernedIamPolicy()

An IAM policy governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;

Returns
Type Description
boolean

Whether the governedIamPolicy field is set.

hasGovernedResource()

public abstract boolean hasGovernedResource()

A Google Cloud resource governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;

Returns
Type Description
boolean

Whether the governedResource field is set.