REST Resource: folders.locations.resourceEnrollmentStatuses

Resource: ResourceEnrollmentStatus

An organization, folder, or project with its enrollment status.

JSON representation
{
  "name": string,
  "enrollment": {
    object (Enrollment)
  },
  "enrolled": boolean,
  "displayName": string,
  "enrollmentState": enum (ResourceEnrollmentState)
}
Fields
name

string

Identifier. Name of the resource enrollment status, in one of the following formats:

  • folders/{folder}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
  • projects/{project}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
  • organizations/{organization}/locations/{location}/resourceEnrollmentStatuses/{resource_enrollment_status}
enrollment

object (Enrollment)

Output only. Enrolled destination details for the organization, folder, or project.

enrolled
(deprecated)

boolean

Output only. Deprecated. Whether the organization, folder, or project is enrolled. Use enrollmentState instead.

displayName

string

Output only. Display name for the organization, folder, or project.

enrollmentState

enum (ResourceEnrollmentState)

Output only. Enrollment state of the organization, folder, or project.

Enrollment

Organization, folder, or project to enroll for audit reports.

JSON representation
{
  "name": string,
  "destinationDetails": [
    {
      object (DestinationDetails)
    }
  ]
}
Fields
name

string

Identifier. Name of the enrollment, in one of the following formats:

  • projects/{project}/locations/{location}/enrollments/{enrollment}
  • folders/{folder}/locations/{location}/enrollments/{enrollment}
  • organizations/{organization}/locations/{location}/enrollments/{enrollment}
destinationDetails[]

object (DestinationDetails)

Output only. Cloud Storage buckets where you want to upload the audit reports.

ResourceEnrollmentState

Different enrollment states of the resource and its parent.

Enums
RESOURCE_ENROLLMENT_STATE_UNSPECIFIED Default value. This value is unused.
NOT_ENROLLED The resource isn't enrolled.
INHERITED The resource isn't enrolled but the parent is enrolled.
ENROLLED The resource is enrolled.

Methods

get

Gets a resource and its enrollment status.

list

Lists all the folders and projects in an organization or folder, along with their enrollments.