AttributeDefinitionArgs

data class AttributeDefinitionArgs(val allowedValues: Output<List<String>>? = null, val attributeDefinitionId: Output<String>? = null, val category: Output<AttributeDefinitionCategory>? = null, val consentDefaultValues: Output<List<String>>? = null, val consentStoreId: Output<String>? = null, val dataMappingDefaultValue: Output<String>? = null, val datasetId: Output<String>? = null, val description: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<AttributeDefinitionArgs>

Creates a new Attribute definition in the parent consent store.

Constructors

Link copied to clipboard
fun AttributeDefinitionArgs(allowedValues: Output<List<String>>? = null, attributeDefinitionId: Output<String>? = null, category: Output<AttributeDefinitionCategory>? = null, consentDefaultValues: Output<List<String>>? = null, consentStoreId: Output<String>? = null, dataMappingDefaultValue: Output<String>? = null, datasetId: Output<String>? = null, description: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AttributeDefinitionArgs

Properties

Link copied to clipboard
val allowedValues: Output<List<String>>? = null

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.

Link copied to clipboard
val attributeDefinitionId: Output<String>? = null

Required. The ID of the Attribute definition to create. The string must match the following regex: _a-zA-Z{0,255} and must not be a reserved keyword within the Common Expression Language as listed on https://github.com/google/cel-spec/blob/master/doc/langdef.md.

Link copied to clipboard

The category of the attribute. The value of this field cannot be changed after creation.

Link copied to clipboard
val consentDefaultValues: Output<List<String>>? = null

Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.

Link copied to clipboard
val consentStoreId: Output<String>? = null
Link copied to clipboard
val dataMappingDefaultValue: Output<String>? = null

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 RESOURCE.

Link copied to clipboard
val datasetId: Output<String>? = null
Link copied to clipboard
val description: Output<String>? = null

Optional. A description of the attribute.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

Resource name of the Attribute definition, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.

Link copied to clipboard
val project: Output<String>? = null