v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1376177324.7 KB
projects

Creates a new Consent artifact in the parent consent store.

post/v1/{+parent}/consentArtifacts

Path parameters

parentstring required

Required. The name of the consent store this Consent artifact belongs to.

Request body

namestring

Identifier. Resource name of the Consent artifact, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}. Cannot be changed after creation.

metadataobject

Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.

userIdstring

Required. User's UUID provided by the client.

consentContentVersionstring

Optional. An string indicating the version of the consent information shown to the user.

Response

Successful response