Close httplib2 connections.
Gets a resource and its enrollment status.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets a resource and its enrollment status.
Args:
name: string, Required. 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}` (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # An organization, folder, or project with its enrollment status.
"displayName": "A String", # Output only. Display name for the organization, folder, or project.
"enrolled": True or False, # Output only. Deprecated. Whether the organization, folder, or project is enrolled. Use `enrollment_state` instead.
"enrollment": { # Organization, folder, or project to enroll for audit reports. # Output only. Enrolled destination details for the organization, folder, or project.
"destinationDetails": [ # Output only. Cloud Storage buckets where you want to upload the audit reports.
{ # Cloud Storage bucket where the audit report is uploaded to.
"gcsBucketUri": "A String", # URI for the Cloud Storage bucket, in the format `gs://{bucket_name}`.
},
],
"name": "A 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}`
},
"enrollmentState": "A String", # Output only. Enrollment state of the organization, folder, or project.
"name": "A 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}`
}