Resource: ConsentArtifact
Documentation of a user's consent.
JSON representation |
---|
{ "name": string, "userId": string, "userSignature": { object( |
Fields | |
---|---|
name |
Identifier. Resource name of the Consent artifact, of the form |
user |
Required. User's UUID provided by the client. |
user |
Optional. User's signature. |
guardian |
Optional. A signature from a guardian. |
witness |
Optional. A signature from a witness. |
consent |
Optional. Screenshots, PDFs, or other binary information documenting the user's consent. |
consent |
Optional. An string indicating the version of the consent information shown to the user. |
metadata |
Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version. An object containing a list of |
Signature
User signature.
JSON representation |
---|
{
"userId": string,
"image": {
object( |
Fields | |
---|---|
user |
Required. User's UUID provided by the client. |
image |
Optional. An image of the user's signature. |
metadata |
Optional. Metadata associated with the user's signature. For example, the user's name or the user's title. An object containing a list of |
signature |
Optional. Timestamp of the signature. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Image
Raw bytes representing consent artifact content.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
raw |
Consent artifact content represented as a stream of bytes. This field is populated when returned in consentArtifacts.get response, but not included in consentArtifacts.create and ListConsentArtifact response. A base64-encoded string. |
gcs |
Input only. Points to a Cloud Storage URI containing the consent artifact content. The URI must be in the following format: |
Methods |
|
---|---|
|
Creates a new Consent artifact in the parent consent store . |
|
Deletes the specified Consent artifact . |
|
Gets the specified Consent artifact . |
|
Lists the Consent artifacts in the specified consent store . |