Package com.google.cloud.asset.v1
Interface AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnalyzeOrgPoliciesResponse.OrgPolicyResult
,AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder
- Enclosing class:
- AnalyzeOrgPoliciesResponse
public static interface AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalyzerOrgPolicy
getConsolidatedPolicy()
The consolidated organization policy for the analyzed resource.AnalyzerOrgPolicyOrBuilder
getConsolidatedPolicyOrBuilder()
The consolidated organization policy for the analyzed resource.AnalyzerOrgPolicy
getPolicyBundle(int index)
The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].int
getPolicyBundleCount()
The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].List<AnalyzerOrgPolicy>
getPolicyBundleList()
The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].AnalyzerOrgPolicyOrBuilder
getPolicyBundleOrBuilder(int index)
The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].List<? extends AnalyzerOrgPolicyOrBuilder>
getPolicyBundleOrBuilderList()
The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][].boolean
hasConsolidatedPolicy()
The consolidated organization policy for the analyzed resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConsolidatedPolicy
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](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
- Returns:
- Whether the consolidatedPolicy field is set.
-
getConsolidatedPolicy
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](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
- Returns:
- The consolidatedPolicy.
-
getConsolidatedPolicyOrBuilder
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](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
-
getPolicyBundleList
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;
-
getPolicyBundle
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;
-
getPolicyBundleCount
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;
-
getPolicyBundleOrBuilderList
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;
-
getPolicyBundleOrBuilder
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;
-
-