Interface ResourceEnrollmentStatusOrBuilder (0.17.0)

public interface ResourceEnrollmentStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

public abstract String getDisplayName()

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

string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

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

string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getEnrolled() (deprecated)

public abstract boolean getEnrolled()

Deprecated. google.cloud.auditmanager.v1.ResourceEnrollmentStatus.enrolled is deprecated. See google/cloud/auditmanager/v1/auditmanager.proto;l=812

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

bool enrolled = 3 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The enrolled.

getEnrollment()

public abstract Enrollment getEnrollment()

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

.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Enrollment

The enrollment.

getEnrollmentOrBuilder()

public abstract EnrollmentOrBuilder getEnrollmentOrBuilder()

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

.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
EnrollmentOrBuilder

getEnrollmentState()

public abstract ResourceEnrollmentStatus.ResourceEnrollmentState getEnrollmentState()

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

.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentState enrollment_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceEnrollmentStatus.ResourceEnrollmentState

The enrollmentState.

getEnrollmentStateValue()

public abstract int getEnrollmentStateValue()

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

.google.cloud.auditmanager.v1.ResourceEnrollmentStatus.ResourceEnrollmentState enrollment_state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for enrollmentState.

getName()

public abstract String getName()

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}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

hasEnrollment()

public abstract boolean hasEnrollment()

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

.google.cloud.auditmanager.v1.Enrollment enrollment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the enrollment field is set.