Class AttributeDefinition
A client-defined consent attribute.
Implements
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1beta1.Data
Assembly: Google.Apis.CloudHealthcare.v1beta1.dll
Syntax
public class AttributeDefinition : IDirectResponseSchema
Properties
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.
Declaration
[JsonProperty("allowedValues")]
public virtual IList<string> AllowedValues { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Category
Required. The category of the attribute. The value of this field cannot be changed after creation.
Declaration
[JsonProperty("category")]
public virtual string Category { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ConsentDefaultValues
Optional. Default values of the attribute in Consents. If no default values are specified, it defaults to an empty value.
Declaration
[JsonProperty("consentDefaultValues")]
public virtual IList<string> ConsentDefaultValues { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
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 RESOURCE.
Declaration
[JsonProperty("dataMappingDefaultValue")]
public virtual string DataMappingDefaultValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Optional. A description of the attribute.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. 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.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |