Class ActivateConsentRequest
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.
Implements
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1.Data
Assembly: Google.Apis.CloudHealthcare.v1.dll
Syntax
public class ActivateConsentRequest : IDirectResponseSchema
Properties
ConsentArtifact
Required. 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}
.
If the draft Consent had a Consent artifact, this Consent artifact overwrites it.
Declaration
[JsonProperty("consentArtifact")]
public virtual string ConsentArtifact { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
Timestamp in UTC of when this Consent is considered expired.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Ttl
The time to live for this Consent from when it is marked as active.
Declaration
[JsonProperty("ttl")]
public virtual object Ttl { get; set; }
Property Value
Type | Description |
---|---|
object |