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 |
userId |
Required. User's UUID provided by the client. |
userSignature |
Optional. User's signature. |
guardianSignature |
Optional. A signature from a guardian. |
witnessSignature |
Optional. A signature from a witness. |
consentContentScreenshots[] |
Optional. Screenshots, PDFs, or other binary information documenting the user's consent. |
consentContentVersion |
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 | |
---|---|
userId |
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 |
signatureTime |
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
|
|
rawBytes |
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. |
gcsUri |
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 . |