Interface AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAttachedResource()
      The full resource name of the resource associated with this IAM policy.
      com.google.protobuf.ByteString getAttachedResourceBytes()
      The full resource name of the resource associated with this IAM policy.
      String 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 getFoldersCount()
      The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.
      List<String> getFoldersList()
      The folder(s) that this IAM policy belongs to, in the format of folders/{FOLDER_NUMBER}.
      String getOrganization()
      The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.
      com.google.protobuf.ByteString getOrganizationBytes()
      The organization that this IAM policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.
      com.google.iam.v1.Policy getPolicy()
      The IAM policy directly set on the given resource.
      com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
      The IAM policy directly set on the given resource.
      String getProject()
      The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.
      com.google.protobuf.ByteString getProjectBytes()
      The project that this IAM policy belongs to, in the format of projects/{PROJECT_NUMBER}.
      boolean hasPolicy()
      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 Detail

      • getAttachedResource

        String getAttachedResource()
         The full resource name of the resource associated with this IAM policy.
         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 associated with this IAM policy.
         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

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

        com.google.iam.v1.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.