Package com.google.cloud.asset.v1
Interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset,AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder
- Enclosing class:
- AnalyzeOrgPolicyGovernedAssetsResponse
public static interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe consolidated policy for the analyzed asset.The consolidated policy for the analyzed asset.An IAM policy governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].An IAM policy governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].A Google Cloud resource governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].A Google Cloud resource governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].getPolicyBundle(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource] to the scope specified in the request.intThe ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource] to the scope specified in the request.The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource] to the scope specified in the request.getPolicyBundleOrBuilder(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource] to the scope specified in the request.List<? extends AnalyzerOrgPolicyOrBuilder>The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource] to the scope specified in the request.booleanThe consolidated policy for the analyzed asset.booleanAn IAM policy governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].booleanA Google Cloud resource governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGovernedResource
boolean hasGovernedResource()A Google Cloud resource governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;- Returns:
- Whether the governedResource field is set.
-
getGovernedResource
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource()A Google Cloud resource governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;- Returns:
- The governedResource.
-
getGovernedResourceOrBuilder
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder()A Google Cloud resource governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1; -
hasGovernedIamPolicy
boolean hasGovernedIamPolicy()An IAM policy governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;- Returns:
- Whether the governedIamPolicy field is set.
-
getGovernedIamPolicy
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy()An IAM policy governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;- Returns:
- The governedIamPolicy.
-
getGovernedIamPolicyOrBuilder
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder()An IAM policy governed by the organization policies of the [AnalyzeOrgPolicyGovernedAssetsRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsRequest.constraint].
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2; -
hasConsolidatedPolicy
boolean hasConsolidatedPolicy()The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.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 = 3;- Returns:
- Whether the consolidatedPolicy field is set.
-
getConsolidatedPolicy
AnalyzerOrgPolicy getConsolidatedPolicy()The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.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 = 3;- Returns:
- The consolidatedPolicy.
-
getConsolidatedPolicyOrBuilder
AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder()The consolidated policy for the analyzed asset. The consolidated policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.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 = 3; -
getPolicyBundleList
List<AnalyzerOrgPolicy> getPolicyBundleList()The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.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; -
getPolicyBundle
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.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; -
getPolicyBundleCount
int getPolicyBundleCount()The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.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; -
getPolicyBundleOrBuilderList
List<? extends AnalyzerOrgPolicyOrBuilder> getPolicyBundleOrBuilderList()The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.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; -
getPolicyBundleOrBuilder
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.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; -
getGovernedAssetCase
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.GovernedAssetCase getGovernedAssetCase()
-