Interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer, AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
Enclosing class:
AnalyzeOrgPolicyGovernedContainersResponse

public static interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The consolidated organization policy for the analyzed resource.
    The consolidated organization policy for the analyzed resource.
    getEffectiveTags(int index)
    The effective tags on this resource.
    int
    The effective tags on this resource.
    The effective tags on this resource.
    The effective tags on this resource.
    The effective tags on this resource.
    getFolders(int index)
    The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.
    com.google.protobuf.ByteString
    getFoldersBytes(int index)
    The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.
    int
    The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.
    The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.
    The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.
    com.google.protobuf.ByteString
    The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.
    The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.
    com.google.protobuf.ByteString
    The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.
    The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
    com.google.protobuf.ByteString
    The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
    getPolicyBundle(int index)
    The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
    int
    The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
    The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
    The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
    The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
    The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.
    com.google.protobuf.ByteString
    The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.
    boolean
    The consolidated organization policy for the analyzed resource.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getFullResourceName

      String getFullResourceName()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       an organization/folder/project resource.
       
      string full_resource_name = 1;
      Returns:
      The fullResourceName.
    • getFullResourceNameBytes

      com.google.protobuf.ByteString getFullResourceNameBytes()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       an organization/folder/project resource.
       
      string full_resource_name = 1;
      Returns:
      The bytes for fullResourceName.
    • getParent

      String getParent()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       the parent of
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
       
      string parent = 2;
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       the parent of
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
       
      string parent = 2;
      Returns:
      The bytes for parent.
    • hasConsolidatedPolicy

      boolean hasConsolidatedPolicy()
       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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 organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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 organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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;
    • getProject

      String getProject()
       The project that this resource belongs to, in the format of
       projects/{PROJECT_NUMBER}. This field is available when the resource
       belongs to a project.
       
      string project = 5;
      Returns:
      The project.
    • getProjectBytes

      com.google.protobuf.ByteString getProjectBytes()
       The project that this resource belongs to, in the format of
       projects/{PROJECT_NUMBER}. This field is available when the resource
       belongs to a project.
       
      string project = 5;
      Returns:
      The bytes for project.
    • getFoldersList

      List<String> getFoldersList()
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Returns:
      A list containing the folders.
    • getFoldersCount

      int getFoldersCount()
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Returns:
      The count of folders.
    • getFolders

      String getFolders(int index)
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Parameters:
      index - The index of the element to return.
      Returns:
      The folders at the given index.
    • getFoldersBytes

      com.google.protobuf.ByteString getFoldersBytes(int index)
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the folders at the given index.
    • getOrganization

      String getOrganization()
       The organization that this resource belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       resource belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Returns:
      The organization.
    • getOrganizationBytes

      com.google.protobuf.ByteString getOrganizationBytes()
       The organization that this resource belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       resource belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Returns:
      The bytes for organization.
    • getEffectiveTagsList

      List<EffectiveTagDetails> getEffectiveTagsList()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • getEffectiveTags

      EffectiveTagDetails getEffectiveTags(int index)
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • getEffectiveTagsCount

      int getEffectiveTagsCount()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • getEffectiveTagsOrBuilderList

      List<? extends EffectiveTagDetailsOrBuilder> getEffectiveTagsOrBuilderList()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • getEffectiveTagsOrBuilder

      EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(int index)
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;