SubsetScope

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

Bases: object

The scope of the subset rule

Attributes:

SCOPE_TYPE_ALL

A constant which can be used with the scope_type property of a SubsetScope.

SCOPE_TYPE_SPECIFIC

A constant which can be used with the scope_type property of a SubsetScope.

scope_type

[Required] Gets the scope_type of this SubsetScope.

Methods:

__init__(**kwargs)

Initializes a new SubsetScope object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

SCOPE_TYPE_ALL = 'ALL'

A constant which can be used with the scope_type property of a SubsetScope. This constant has a value of “ALL”

SCOPE_TYPE_SPECIFIC = 'SPECIFIC'

A constant which can be used with the scope_type property of a SubsetScope. This constant has a value of “SPECIFIC”

__init__(**kwargs)

Initializes a new SubsetScope object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

scope_type (str) – The value to assign to the scope_type property of this SubsetScope. Allowed values for this property are: “ALL”, “SPECIFIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property scope_type

[Required] Gets the scope_type of this SubsetScope. Scope of a subsetting rule

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

Returns

The scope_type of this SubsetScope.

Return type

str