Resource: AttributeDefinition
A client-defined consent attribute.
JSON representation |
---|
{
"name": string,
"description": string,
"category": enum( |
Fields | |
---|---|
name |
Identifier. Resource name of the Attribute definition, of the form |
description |
Optional. A description of the attribute. |
category |
Required. The category of the attribute. The value of this field cannot be changed after creation. |
allowedValues[] |
Required. Possible values for the attribute. The number of allowed values must not exceed 500. An empty list is invalid. The list can only be expanded after creation. |
consentDefaultValues[] |
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value. |
dataMappingDefaultValue |
Optional. Default value of the attribute in User data mappings. If no default value is specified, it defaults to an empty value. This field is only applicable to attributes of the category |
Category
The category of the attribute.
Enums | |
---|---|
CATEGORY_UNSPECIFIED |
No category specified. This option is invalid. |
RESOURCE |
Specify this category when this attribute describes the properties of resources. For example, data anonymity or data type. |
REQUEST |
Specify this category when this attribute describes the properties of requests. For example, requester's role or requester's organization. |
Methods |
|
---|---|
|
Creates a new Attribute definition in the parent consent store . |
|
Deletes the specified Attribute definition . |
|
Gets the specified Attribute definition . |
|
Lists the Attribute definitions in the specified consent store . |
|
Updates the specified Attribute definition . |