Audit Manager V1 API - Class Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus (v1.2.0)

Reference documentation and code samples for the Audit Manager V1 API class Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — Output only. Display name for the organization, folder, or project.

#enrolled

def enrolled() -> ::Boolean
Returns
  • (::Boolean) — Output only. Deprecated. Whether the organization, folder, or project is enrolled. Use enrollment_state instead.

#enrollment

def enrollment() -> ::Google::Cloud::AuditManager::V1::Enrollment
Returns

#enrollment_state

def enrollment_state() -> ::Google::Cloud::AuditManager::V1::ResourceEnrollmentStatus::ResourceEnrollmentState
Returns

#name

def name() -> ::String
Returns
  • (::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}

#name=

def name=(value) -> ::String
Parameter
  • value (::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}
Returns
  • (::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}