Interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder (3.41.0)

public static interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder 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 AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

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

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 AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

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

Returns
TypeDescription
AnalyzerOrgPolicyOrBuilder

getFullResourceName()

public abstract String getFullResourceName()

The full resource name of an organization/folder/project resource.

string full_resource_name = 1;

Returns
TypeDescription
String

The fullResourceName.

getFullResourceNameBytes()

public abstract ByteString getFullResourceNameBytes()

The full resource name of an organization/folder/project resource.

string full_resource_name = 1;

Returns
TypeDescription
ByteString

The bytes for fullResourceName.

getParent()

public abstract String getParent()

The full resource name of the parent of AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name.

string parent = 2;

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The full resource name of the parent of AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name.

string parent = 2;

Returns
TypeDescription
ByteString

The bytes for parent.

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

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

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

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

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 AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

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

Returns
TypeDescription
boolean

Whether the consolidatedPolicy field is set.