ConnectApi.CdpSegmentInput

Segment input.

PropertyTypeDescriptionRequired or OptionalAvailable Version
additionalMetadataMap<String, String>Map of additional metadata.Optional for creating a segment
Not supported for updating a segment
55.0
dataSpaceStringSegment dataspace. In API version 59.0 and later, this property is not available. Use the dataspace request parameter instead.Optional57.0–58.0
descriptionStringSegment description.Optional55.0
developerNameStringSegment developer name.Required for creating a segment
Not supported for updating a segment
55.0
displayNameStringSegment display name.Optional57.0
includeDbtConnectApi.​CdpSegment​DbtInputSegment data build tool.Required55.0
publishScheduleConnectApi.​PublishSchedulePublish refresh schedule. Values are:
  • One—Refreshes every hour. Used to rapidly publish UI and DBT-based segments.
  • Four—Refreshes every four hours. Used to rapidly publish UI and DBT-based segments.
  • Twelve—Refreshes every twelve hours.
  • TwentyFour—Refreshes every twenty-four hours.
Optional55.0
publishSchedule​EndDateStringDate indicating the end of the publish schedule.Optional if publishSchedule isn’t specified55.0
publishSchedule​StartDateTimeStringDatetime indicating the start of the publish schedule.Optional if publishSchedule isn’t specified55.0
segmentOnApiNameStringAPI name of the SegmentOn entity.Optional57.0
segmentTypeConnectApi.​SegmentTypeType of segment. Value is:
  • Dbt—Data build tool
After a segment is created, the segment type can’t be changed.
Required for creating a segment
Not supported for updating a segment
55.0