state property

String? state
getter/setter pair

Indicates the current state of this Consent.

Required. Possible string values are:

  • "STATE_UNSPECIFIED" : No state specified. Treated as ACTIVE only at the time of resource creation.
  • "ACTIVE" : The Consent is active and is considered when evaluating a user's consent on resources.
  • "ARCHIVED" : The archived state is currently not being used.
  • "REVOKED" : A revoked Consent is not considered when evaluating a user's consent on resources.
  • "DRAFT" : A draft Consent is not considered when evaluating a user's consent on resources unless explicitly specified.
  • "REJECTED" : 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.

Implementation

core.String? state;