Interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder

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

public static interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
    com.google.protobuf.ByteString
    The asset type of the [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
    The full resource name of the resource on which this IAM policy is set.
    com.google.protobuf.ByteString
    The full resource name of the resource on which this IAM policy is set.
    getFolders(int index)
    The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.
    com.google.protobuf.ByteString
    getFoldersBytes(int index)
    The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.
    int
    The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.
    The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.
    The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.
    com.google.protobuf.ByteString
    The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.
    The IAM policy directly set on the given resource.
    The IAM policy directly set on the given resource.
    The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.
    com.google.protobuf.ByteString
    The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.
    boolean
    The IAM policy directly set on the given 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

    • getAttachedResource

      String getAttachedResource()
       The full resource name of the resource on which this IAM policy is set.
       Example:
       `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
       See [Cloud Asset Inventory Resource Name
       Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       for more information.
       
      string attached_resource = 1;
      Returns:
      The attachedResource.
    • getAttachedResourceBytes

      com.google.protobuf.ByteString getAttachedResourceBytes()
       The full resource name of the resource on which this IAM policy is set.
       Example:
       `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
       See [Cloud Asset Inventory Resource Name
       Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
       for more information.
       
      string attached_resource = 1;
      Returns:
      The bytes for attachedResource.
    • hasPolicy

      boolean hasPolicy()
       The IAM policy directly set on the given resource.
       
      .google.iam.v1.Policy policy = 2;
      Returns:
      Whether the policy field is set.
    • getPolicy

      Policy getPolicy()
       The IAM policy directly set on the given resource.
       
      .google.iam.v1.Policy policy = 2;
      Returns:
      The policy.
    • getPolicyOrBuilder

      PolicyOrBuilder getPolicyOrBuilder()
       The IAM policy directly set on the given resource.
       
      .google.iam.v1.Policy policy = 2;
    • getProject

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

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

      List<String> getFoldersList()
       The folder(s) that this IAM policy belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the IAM policy
       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 IAM policy belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the IAM policy
       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 IAM policy belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the IAM policy
       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 IAM policy belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the IAM policy
       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 IAM policy belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       IAM policy belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Returns:
      The organization.
    • getOrganizationBytes

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

      String getAssetType()
       The asset type of the
       [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
       Example:
       `cloudresourcemanager.googleapis.com/Project`
       See [Cloud Asset Inventory Supported Asset
       Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
       for all supported asset types.
       
      string asset_type = 8;
      Returns:
      The assetType.
    • getAssetTypeBytes

      com.google.protobuf.ByteString getAssetTypeBytes()
       The asset type of the
       [AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.attached_resource].
       Example:
       `cloudresourcemanager.googleapis.com/Project`
       See [Cloud Asset Inventory Supported Asset
       Types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
       for all supported asset types.
       
      string asset_type = 8;
      Returns:
      The bytes for assetType.