GranularityCapability¶
- class oci.psql.models.GranularityCapability(**kwargs)¶
Bases:
objectDescribes time granularity behavior for time-series Insight.
Attributes:
A constant which can be used with the type property of a GranularityCapability.
A constant which can be used with the type property of a GranularityCapability.
A constant which can be used with the type property of a GranularityCapability.
Gets the max_seconds of this GranularityCapability.
Gets the min_seconds of this GranularityCapability.
Gets the type of this GranularityCapability.
Methods:
__init__(**kwargs)Initializes a new GranularityCapability object with values from keyword arguments.
- TYPE_BACKEND_DETERMINED = 'BACKEND_DETERMINED'¶
A constant which can be used with the type property of a GranularityCapability. This constant has a value of “BACKEND_DETERMINED”
- TYPE_CLIENT_INPUT = 'CLIENT_INPUT'¶
A constant which can be used with the type property of a GranularityCapability. This constant has a value of “CLIENT_INPUT”
- TYPE_FIXED = 'FIXED'¶
A constant which can be used with the type property of a GranularityCapability. This constant has a value of “FIXED”
- __init__(**kwargs)¶
Initializes a new GranularityCapability object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
type (str) – The value to assign to the type property of this GranularityCapability. Allowed values for this property are: “FIXED”, “CLIENT_INPUT”, “BACKEND_DETERMINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
min_seconds (int) – The value to assign to the min_seconds property of this GranularityCapability.
max_seconds (int) – The value to assign to the max_seconds property of this GranularityCapability.
- property max_seconds¶
Gets the max_seconds of this GranularityCapability. Maximum supported granularity in seconds.
- Returns
The max_seconds of this GranularityCapability.
- Return type
int
- property min_seconds¶
Gets the min_seconds of this GranularityCapability. Minimum supported granularity in seconds.
- Returns
The min_seconds of this GranularityCapability.
- Return type
int
- property type¶
Gets the type of this GranularityCapability. Granularity selection strategy.
Allowed values for this property are: “FIXED”, “CLIENT_INPUT”, “BACKEND_DETERMINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this GranularityCapability.
- Return type
str