DataSegment
Properties
Name | Type | Description | Notes |
---|---|---|---|
id | str | The segment's ID. | [optional] |
name | str | The segment's business name. | [optional] |
created | datetime | The time when the segment is created. | [optional] |
modified | datetime | The time when the segment is modified. | [optional] |
description | str | The segment's optional description. | [optional] |
scopes | []Scope | List of Scopes that are assigned to the segment | [optional] |
member_selection | []Ref | List of Identities that are assigned to the segment | [optional] |
member_filter | VisibilityCriteria | [optional] | |
membership | MembershipType | [optional] | |
enabled | bool | This boolean indicates whether the segment is currently active. Inactive segments have no effect. | [optional] [default to False] |
published | bool | This boolean indicates whether the segment is being applied to the accounts. If unpublished its being actively modified to until published | [optional] [default to False] |
} |
Example
from sailpoint.v2024.models.data_segment import DataSegment
data_segment = DataSegment(
id='0f11f2a4-7c94-4bf3-a2bd-742580fe3bde',
name='segment-xyz',
created='2020-01-01T00:00Z',
modified='2020-01-01T00:00Z',
description='This segment represents xyz',
scopes=[{scope=ENTITLEMENT, visibility=SELECTION, scopeFilter=null, scopeSelection=[{type=ENTITLEMENT, id=34d73f611449463ea4fdcf02cda0c397}]}],
member_selection=[{type=IDENTITY, id=29cb6c061da843ea8be4b3125f248f2a}, {type=IDENTITY, id=f7b1b8a35fed4fd4ad2982014e137e19}],
member_filter=sailpoint.v2024.models.visibility_criteria.VisibilityCriteria(
expression = sailpoint.v2024.models.expression.Expression(
operator = 'EQUALS',
attribute = 'location',
value = sailpoint.v2024.models.value.Value(
type = 'STRING', ),
children = [], ), ),
membership='ALL',
enabled=True,
published=True
)