SubsettingSchemaRelationSummary

class oci.data_safe.models.SubsettingSchemaRelationSummary(**kwargs)

Bases: object

Summary of a relationship between tables in the subsetting for a subsetting policy.

Attributes:

RELATION_TYPE_APP_DEFINED

A constant which can be used with the relation_type property of a SubsettingSchemaRelationSummary.

RELATION_TYPE_DB_DEFINED

A constant which can be used with the relation_type property of a SubsettingSchemaRelationSummary.

RELATION_TYPE_NONE

A constant which can be used with the relation_type property of a SubsettingSchemaRelationSummary.

child_columns

[Required] Gets the child_columns of this SubsettingSchemaRelationSummary.

child_object_key

[Required] Gets the child_object_key of this SubsettingSchemaRelationSummary.

child_object_name

[Required] Gets the child_object_name of this SubsettingSchemaRelationSummary.

child_schema_name

[Required] Gets the child_schema_name of this SubsettingSchemaRelationSummary.

key

[Required] Gets the key of this SubsettingSchemaRelationSummary.

parent_columns

[Required] Gets the parent_columns of this SubsettingSchemaRelationSummary.

parent_object_key

[Required] Gets the parent_object_key of this SubsettingSchemaRelationSummary.

parent_object_name

[Required] Gets the parent_object_name of this SubsettingSchemaRelationSummary.

parent_schema_name

[Required] Gets the parent_schema_name of this SubsettingSchemaRelationSummary.

relation_type

[Required] Gets the relation_type of this SubsettingSchemaRelationSummary.

time_created

Gets the time_created of this SubsettingSchemaRelationSummary.

time_updated

Gets the time_updated of this SubsettingSchemaRelationSummary.

Methods:

__init__(**kwargs)

Initializes a new SubsettingSchemaRelationSummary object with values from keyword arguments.

RELATION_TYPE_APP_DEFINED = 'APP_DEFINED'

A constant which can be used with the relation_type property of a SubsettingSchemaRelationSummary. This constant has a value of “APP_DEFINED”

RELATION_TYPE_DB_DEFINED = 'DB_DEFINED'

A constant which can be used with the relation_type property of a SubsettingSchemaRelationSummary. This constant has a value of “DB_DEFINED”

RELATION_TYPE_NONE = 'NONE'

A constant which can be used with the relation_type property of a SubsettingSchemaRelationSummary. This constant has a value of “NONE”

__init__(**kwargs)

Initializes a new SubsettingSchemaRelationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • key (str) – The value to assign to the key property of this SubsettingSchemaRelationSummary.

  • parent_object_key (str) – The value to assign to the parent_object_key property of this SubsettingSchemaRelationSummary.

  • parent_schema_name (str) – The value to assign to the parent_schema_name property of this SubsettingSchemaRelationSummary.

  • parent_object_name (str) – The value to assign to the parent_object_name property of this SubsettingSchemaRelationSummary.

  • parent_columns (list[str]) – The value to assign to the parent_columns property of this SubsettingSchemaRelationSummary.

  • child_object_key (str) – The value to assign to the child_object_key property of this SubsettingSchemaRelationSummary.

  • child_schema_name (str) – The value to assign to the child_schema_name property of this SubsettingSchemaRelationSummary.

  • child_object_name (str) – The value to assign to the child_object_name property of this SubsettingSchemaRelationSummary.

  • child_columns (list[str]) – The value to assign to the child_columns property of this SubsettingSchemaRelationSummary.

  • relation_type (str) – The value to assign to the relation_type property of this SubsettingSchemaRelationSummary. Allowed values for this property are: “NONE”, “APP_DEFINED”, “DB_DEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this SubsettingSchemaRelationSummary.

  • time_updated (datetime) – The value to assign to the time_updated property of this SubsettingSchemaRelationSummary.

property child_columns

[Required] Gets the child_columns of this SubsettingSchemaRelationSummary. Unique identifiers identifying the child columns in the relation.

Returns

The child_columns of this SubsettingSchemaRelationSummary.

Return type

list[str]

property child_object_key

[Required] Gets the child_object_key of this SubsettingSchemaRelationSummary. The key that identifies the child subsetting table in this relation.

Returns

The child_object_key of this SubsettingSchemaRelationSummary.

Return type

str

property child_object_name

[Required] Gets the child_object_name of this SubsettingSchemaRelationSummary. The name of the child subsetting table

Returns

The child_object_name of this SubsettingSchemaRelationSummary.

Return type

str

property child_schema_name

[Required] Gets the child_schema_name of this SubsettingSchemaRelationSummary. The database schema that contains the child subsetting table

Returns

The child_schema_name of this SubsettingSchemaRelationSummary.

Return type

str

property key

[Required] Gets the key of this SubsettingSchemaRelationSummary. The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.

Returns

The key of this SubsettingSchemaRelationSummary.

Return type

str

property parent_columns

[Required] Gets the parent_columns of this SubsettingSchemaRelationSummary. Unique identifiers identifying the parents columns in the relation.

Returns

The parent_columns of this SubsettingSchemaRelationSummary.

Return type

list[str]

property parent_object_key

[Required] Gets the parent_object_key of this SubsettingSchemaRelationSummary. The key that identifies the parent subsetting table in this relation.

Returns

The parent_object_key of this SubsettingSchemaRelationSummary.

Return type

str

property parent_object_name

[Required] Gets the parent_object_name of this SubsettingSchemaRelationSummary. The name of the parent subsetting table

Returns

The parent_object_name of this SubsettingSchemaRelationSummary.

Return type

str

property parent_schema_name

[Required] Gets the parent_schema_name of this SubsettingSchemaRelationSummary. The database schema that contains the parent subsetting table

Returns

The parent_schema_name of this SubsettingSchemaRelationSummary.

Return type

str

property relation_type

[Required] Gets the relation_type of this SubsettingSchemaRelationSummary. The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.

Allowed values for this property are: “NONE”, “APP_DEFINED”, “DB_DEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The relation_type of this SubsettingSchemaRelationSummary.

Return type

str

property time_created

Gets the time_created of this SubsettingSchemaRelationSummary. The date and time the subsetting relation was created, in the format defined by RFC3339.

Returns

The time_created of this SubsettingSchemaRelationSummary.

Return type

datetime

property time_updated

Gets the time_updated of this SubsettingSchemaRelationSummary. The date and time the subsetting relation was last updated, in the format defined by RFC3339.

Returns

The time_updated of this SubsettingSchemaRelationSummary.

Return type

datetime