ActivateConsentRequest class
Activates the latest revision of the specified Consent by committing a new
revision with state
updated to ACTIVE
.
If the latest revision of the given Consent is in the ACTIVE
state, no new
revision is committed. A FAILED_PRECONDITION error occurs if the latest
revision of the given consent is in the REJECTED
or REVOKED
state.
Constructors
- ActivateConsentRequest({String? consentArtifact, String? expireTime, String? ttl})
- ActivateConsentRequest.fromJson(Map json_)
Properties
- consentArtifact ↔ String?
-
The resource name of the Consent artifact that contains documentation of
the user's consent, of the form
projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}
.getter/setter pair - expireTime ↔ String?
-
Timestamp in UTC of when this Consent is considered expired.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttl ↔ String?
-
The time to live for this Consent from when it is marked as active.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited