Class CreateMaskingColumnDetails
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CreateMaskingColumnDetails
Properties
ColumnName
Declaration
[Required(ErrorMessage = "ColumnName is required.")]
[JsonProperty(PropertyName = "columnName")]
public string ColumnName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the database column. This attribute cannot be updated for an existing masking column. Note that the same name is used for the masking column. There is no separate displayName attribute for the masking column. |
Remarks
Required
IsMaskingEnabled
Declaration
[JsonProperty(PropertyName = "isMaskingEnabled")]
public bool? IsMaskingEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates whether data masking is enabled for the masking column. Set it to false if you don't want to mask the column. |
MaskingColumnGroup
Declaration
[JsonProperty(PropertyName = "maskingColumnGroup")]
public string MaskingColumnGroup { get; set; }
Property Value
Type | Description |
---|---|
string |
MaskingFormats
Declaration
[JsonProperty(PropertyName = "maskingFormats")]
public List<MaskingFormat> MaskingFormats { get; set; }
Property Value
Type | Description |
---|---|
List<MaskingFormat> |
ObjectName
Declaration
[Required(ErrorMessage = "ObjectName is required.")]
[JsonProperty(PropertyName = "objectName")]
public string ObjectName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the object (table or editioning view) that contains the database column. This attribute cannot be updated for an existing masking column. |
Remarks
Required
ObjectType
Declaration
[JsonProperty(PropertyName = "objectType")]
[JsonConverter(typeof(StringEnumConverter))]
public ObjectType? ObjectType { get; set; }
Property Value
Type | Description |
---|---|
ObjectType? | The type of the object that contains the database column. |
SchemaName
Declaration
[Required(ErrorMessage = "SchemaName is required.")]
[JsonProperty(PropertyName = "schemaName")]
public string SchemaName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the schema that contains the database column. This attribute cannot be updated for an existing masking column. |
Remarks
Required
SensitiveTypeId
Declaration
[JsonProperty(PropertyName = "sensitiveTypeId")]
public string SensitiveTypeId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the sensitive type to be associated with the masking column. Note that
if the maskingFormats attribute isn't provided while creating a masking column, |