Skip to main content

Segment

Properties

NameTypeDescriptionNotes
idstrThe segment's ID.[optional]
namestrThe segment's business name.[optional]
createddatetimeThe time when the segment is created.[optional]
modifieddatetimeThe time when the segment is modified.[optional]
descriptionstrThe segment's optional description.[optional]
ownerOwnerReferenceSegments[optional]
visibility_criteriaVisibilityCriteria[optional]
activeboolThis boolean indicates whether the segment is currently active. Inactive segments have no effect.[optional] [default to False]
}

Example

from sailpoint.beta.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.beta.models.owner_reference_segments.OwnerReferenceSegments(
type = 'IDENTITY',
id = '2c9180a46faadee4016fb4e018c20639',
name = 'support', ),
visibility_criteria=sailpoint.beta.models.visibility_criteria.VisibilityCriteria(
expression = sailpoint.beta.models.expression.Expression(
operator = 'EQUALS',
attribute = 'location',
value = sailpoint.beta.models.value.Value(
type = 'STRING', ),
children = [], ), ),
active=True
)

[Back to top]