ConsentState

enum ConsentState : Enum<ConsentState> , ConvertibleToJava<ConsentState>

Required. Indicates the current state of this Consent.

Entries

Link copied to clipboard

No state specified. Treated as ACTIVE only at the time of resource creation.

Link copied to clipboard

The Consent is active and is considered when evaluating a user's consent on resources.

Link copied to clipboard

The archived state is currently not being used.

Link copied to clipboard

A revoked Consent is not considered when evaluating a user's consent on resources.

Link copied to clipboard

A draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.

Link copied to clipboard

When a draft Consent is rejected by a user, it is set to a rejected state. A rejected Consent is not considered when evaluating a user's consent on resources.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): ConsentState
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: ConsentState
Link copied to clipboard
Link copied to clipboard