SubsettingAnalyticsSummary

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

Bases: object

Summary of subsetting analytics data

Attributes:

METRIC_NAME_ORIGINAL_SIZE_IN_BYTES

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_REDUCED_PERCENT

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_REDUCED_ROW_COUNT

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_REDUCED_SIZE_IN_BYTES

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_SIZE_AFTER_SUBSETTING_IN_BYTES

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_SUBSETTED_SCHEMA

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_SUBSETTED_TABLE

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_SUBSETTING_DATABASE

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_SUBSETTING_POLICY

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

METRIC_NAME_SUBSETTING_WORK_REQUEST

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary.

count

[Required] Gets the count of this SubsettingAnalyticsSummary.

dimensions

Gets the dimensions of this SubsettingAnalyticsSummary.

metric_name

[Required] Gets the metric_name of this SubsettingAnalyticsSummary.

time_last_subsetted

Gets the time_last_subsetted of this SubsettingAnalyticsSummary.

Methods:

__init__(**kwargs)

Initializes a new SubsettingAnalyticsSummary object with values from keyword arguments.

METRIC_NAME_ORIGINAL_SIZE_IN_BYTES = 'ORIGINAL_SIZE_IN_BYTES'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “ORIGINAL_SIZE_IN_BYTES”

METRIC_NAME_REDUCED_PERCENT = 'REDUCED_PERCENT'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “REDUCED_PERCENT”

METRIC_NAME_REDUCED_ROW_COUNT = 'REDUCED_ROW_COUNT'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “REDUCED_ROW_COUNT”

METRIC_NAME_REDUCED_SIZE_IN_BYTES = 'REDUCED_SIZE_IN_BYTES'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “REDUCED_SIZE_IN_BYTES”

METRIC_NAME_SIZE_AFTER_SUBSETTING_IN_BYTES = 'SIZE_AFTER_SUBSETTING_IN_BYTES'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “SIZE_AFTER_SUBSETTING_IN_BYTES”

METRIC_NAME_SUBSETTED_SCHEMA = 'SUBSETTED_SCHEMA'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “SUBSETTED_SCHEMA”

METRIC_NAME_SUBSETTED_TABLE = 'SUBSETTED_TABLE'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “SUBSETTED_TABLE”

METRIC_NAME_SUBSETTING_DATABASE = 'SUBSETTING_DATABASE'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “SUBSETTING_DATABASE”

METRIC_NAME_SUBSETTING_POLICY = 'SUBSETTING_POLICY'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “SUBSETTING_POLICY”

METRIC_NAME_SUBSETTING_WORK_REQUEST = 'SUBSETTING_WORK_REQUEST'

A constant which can be used with the metric_name property of a SubsettingAnalyticsSummary. This constant has a value of “SUBSETTING_WORK_REQUEST”

__init__(**kwargs)

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

Parameters
  • metric_name (str) – The value to assign to the metric_name property of this SubsettingAnalyticsSummary. Allowed values for this property are: “SUBSETTING_POLICY”, “SUBSETTING_DATABASE”, “SUBSETTING_WORK_REQUEST”, “SUBSETTED_SCHEMA”, “SUBSETTED_TABLE”, “REDUCED_ROW_COUNT”, “REDUCED_SIZE_IN_BYTES”, “REDUCED_PERCENT”, “ORIGINAL_SIZE_IN_BYTES”, “SIZE_AFTER_SUBSETTING_IN_BYTES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • dimensions (oci.data_safe.models.SubsettingAnalyticsDimensions) – The value to assign to the dimensions property of this SubsettingAnalyticsSummary.

  • count (int) – The value to assign to the count property of this SubsettingAnalyticsSummary.

  • time_last_subsetted (datetime) – The value to assign to the time_last_subsetted property of this SubsettingAnalyticsSummary.

property count

[Required] Gets the count of this SubsettingAnalyticsSummary. The total count for the aggregation metric

Returns

The count of this SubsettingAnalyticsSummary.

Return type

int

property dimensions

Gets the dimensions of this SubsettingAnalyticsSummary.

Returns

The dimensions of this SubsettingAnalyticsSummary.

Return type

oci.data_safe.models.SubsettingAnalyticsDimensions

property metric_name

[Required] Gets the metric_name of this SubsettingAnalyticsSummary. The name of the aggregation metric

Allowed values for this property are: “SUBSETTING_POLICY”, “SUBSETTING_DATABASE”, “SUBSETTING_WORK_REQUEST”, “SUBSETTED_SCHEMA”, “SUBSETTED_TABLE”, “REDUCED_ROW_COUNT”, “REDUCED_SIZE_IN_BYTES”, “REDUCED_PERCENT”, “ORIGINAL_SIZE_IN_BYTES”, “SIZE_AFTER_SUBSETTING_IN_BYTES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The metric_name of this SubsettingAnalyticsSummary.

Return type

str

property time_last_subsetted

Gets the time_last_subsetted of this SubsettingAnalyticsSummary. The date and time the target database was last subsetted using a subsetting policy, in the format defined by RFC3339

Returns

The time_last_subsetted of this SubsettingAnalyticsSummary.

Return type

datetime