Files
developer.sailpoint.com/docs/tools/sdk/python/Reference/V2024/Models/Segment.md
2025-02-20 12:59:19 -05:00

1.6 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
v2024-segment Segment Segment Segment pythonsdk
python
Python
sdk
Segment
V2024Segment
/tools/sdk/python/v2024/models/segment
SDK
Software Development Kit
Segment
V2024Segment

Segment

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]
owner OwnerReferenceSegments [optional]
visibility_criteria SegmentVisibilityCriteria [optional]
active bool This boolean indicates whether the segment is currently active. Inactive segments have no effect. [optional] [default to False]
}

Example

from sailpoint.v2024.models.segment import Segment

segment = Segment(
id='0f11f2a4-7c94-4bf3-a2bd-742580fe3bde',
name='segment-xyz',
created='2020-01-01T00:00Z',
modified='2020-01-01T00:00Z',
description='This segment represents xyz',
owner=sailpoint.v2024.models.owner_reference_segments.OwnerReferenceSegments(
                    type = 'IDENTITY', 
                    id = '2c9180a46faadee4016fb4e018c20639', 
                    name = 'support', ),
visibility_criteria=,
active=True
)

[Back to top]