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 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

       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

       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

       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

       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

      AnalyzerOrgPolicy 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.
      
       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

      AnalyzerOrgPolicyOrBuilder 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.
      
       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