Show / Hide Table of Contents

Class MaskingColumn

A masking column is a resource corresponding to a database column that you want to mask. It's a subresource of masking policy resource and is always associated with a masking policy. Note that only parent columns are managed as masking columns. The child columns are automatically managed using the childColumns attribute.

Inheritance
object
MaskingColumn
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class MaskingColumn

Properties

ChildColumns

Declaration
[JsonProperty(PropertyName = "childColumns")]
public List<string> ChildColumns { get; set; }
Property Value
Type Description
List<string>

An array of child columns that are in referential relationship with the masking column.

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. Note that the same name is used for the masking column. There is no separate displayName attribute for the masking column.

Remarks

Required

DataType

Declaration
[JsonProperty(PropertyName = "dataType")]
public string DataType { get; set; }
Property Value
Type Description
string

The data type of the masking column.

IsMaskingEnabled

Declaration
[Required(ErrorMessage = "IsMaskingEnabled is required.")]
[JsonProperty(PropertyName = "isMaskingEnabled")]
public bool? IsMaskingEnabled { get; set; }
Property Value
Type Description
bool?

Indicates whether data masking is enabled for the masking column.

Remarks

Required

Key

Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
Type Description
string

The unique key that identifies the masking column. It's numeric and unique within a masking policy.

Remarks

Required

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
string

Details about the current state of the masking column.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaskingColumnLifecycleState? LifecycleState { get; set; }
Property Value
Type Description
MaskingColumnLifecycleState?

The current state of the masking column.

Remarks

Required

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>

An array of masking formats assigned to the masking column.

MaskingPolicyId

Declaration
[Required(ErrorMessage = "MaskingPolicyId is required.")]
[JsonProperty(PropertyName = "maskingPolicyId")]
public string MaskingPolicyId { get; set; }
Property Value
Type Description
string

The OCID of the masking policy that contains the masking column.

Remarks

Required

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.

Remarks

Required

ObjectType

Declaration
[JsonProperty(PropertyName = "objectType")]
[JsonConverter(typeof(ResponseEnumConverter))]
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.

Remarks

Required

SensitiveTypeId

Declaration
[JsonProperty(PropertyName = "sensitiveTypeId")]
public string SensitiveTypeId { get; set; }
Property Value
Type Description
string

The OCID of the sensitive type associated with the masking column.

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the masking column was created, in the format defined by RFC3339.

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the masking column was last updated, in the format defined by RFC3339.

Remarks

Required

In this article
Back to top