Class DifferenceColumnSummary
Summary of a SDM masking policy difference column.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class DifferenceColumnSummary
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 difference column. |
Remarks
Required
DifferenceType
Declaration
[Required(ErrorMessage = "DifferenceType is required.")]
[JsonProperty(PropertyName = "differenceType")]
[JsonConverter(typeof(StringEnumConverter))]
public DifferenceColumn.DifferenceTypeEnum? DifferenceType { get; set; }
Property Value
Type | Description |
---|---|
DifferenceColumn.DifferenceTypeEnum? | The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified. |
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 SDM masking policy difference column. |
Remarks
Required
MaskingColumnkey
Declaration
[JsonProperty(PropertyName = "maskingColumnkey")]
public string MaskingColumnkey { get; set; }
Property Value
Type | Description |
---|---|
string | The unique key that identifies the masking column represented by the SDM masking policy difference column. |
ObjectName
Declaration
[Required(ErrorMessage = "ObjectName is required.")]
[JsonProperty(PropertyName = "objectName")]
public string ObjectName { get; set; }
Property Value
Type | Description |
---|---|
string | The database object that contains the difference column. |
Remarks
Required
PlannedAction
Declaration
[Required(ErrorMessage = "PlannedAction is required.")]
[JsonProperty(PropertyName = "plannedAction")]
[JsonConverter(typeof(StringEnumConverter))]
public DifferenceColumn.PlannedActionEnum? PlannedAction { get; set; }
Property Value
Type | Description |
---|---|
DifferenceColumn.PlannedActionEnum? | Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns. |
Remarks
Required
SchemaName
Declaration
[Required(ErrorMessage = "SchemaName is required.")]
[JsonProperty(PropertyName = "schemaName")]
public string SchemaName { get; set; }
Property Value
Type | Description |
---|---|
string | The database schema that contains the difference column. |
Remarks
Required
SensitiveColumnkey
Declaration
[JsonProperty(PropertyName = "sensitiveColumnkey")]
public string SensitiveColumnkey { get; set; }
Property Value
Type | Description |
---|---|
string | The unique key that identifies the sensitive column represented by the SDM masking policy difference column. |
SensitiveTypeId
Declaration
[JsonProperty(PropertyName = "sensitiveTypeId")]
public string SensitiveTypeId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the sensitive type associated with the difference column. |
SyncStatus
Declaration
[Required(ErrorMessage = "SyncStatus is required.")]
[JsonProperty(PropertyName = "syncStatus")]
[JsonConverter(typeof(StringEnumConverter))]
public DifferenceColumn.SyncStatusEnum? SyncStatus { get; set; }
Property Value
Type | Description |
---|---|
DifferenceColumn.SyncStatusEnum? | Indicates if the difference column has been processed.Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy. |
Remarks
Required
TimeLastSynced
Declaration
[JsonProperty(PropertyName = "timeLastSynced")]
public DateTime? TimeLastSynced { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339. |