REST Resource: folders.locations.resourceEnrollmentStatuses

Resource: ResourceEnrollmentStatus

A resource with its enrollment status.

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

string

Identifier. The name of this resource.

enrollment

object (Enrollment)

Output only. Enrollment which contains enrolled destination details for a resource

enrolled
(deprecated)

boolean

Output only. Is resource enrolled.

displayName

string

Output only. Display name of the project/folder/organization.

enrollmentState

enum (ResourceEnrollmentState)

Output only. Enrollment state of the resource.

Enrollment

The enrollment resource.

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

string

Identifier. The name of this Enrollment, in the format of scope given in request.

destinationDetails[]

object (DestinationDetails)

Output only. The locations where the generated reports can be uploaded.

ResourceEnrollmentState

The different enrollment states of a resource.

Enums
RESOURCE_ENROLLMENT_STATE_UNSPECIFIED Unspecified. Invalid state.
NOT_ENROLLED Not enrolled.
INHERITED Resource is not enrolled but the parent is enrolled.
ENROLLED Enrolled.

Methods

get

Get a resource along with its enrollment status.

list

Fetches all resources under the parent along with their enrollment.