--- title: Segment --- :::error **The Ruby SDK is deprecated as of 9/16/2020** The Genesys Cloud Ruby SDK (v96.0.0) will be frozen at its current version level. Any new enhancements to our API or bug fixes will not be backported. If you do need to take advantage of new features or bug fixes outside the Genesys Cloud Ruby SDK, you will need to use the Genesys Cloud REST endpoints directly. More information can be found in the [Official Announcement](https://developer.mypurecloud.com/forum/t/announcement-genesys-cloud-ruby-sdk-end-of-life/8850). ::: ## PureCloud::Segment ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **start_time** | **DateTime** | The timestamp when this segment began. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | | | **end_time** | **DateTime** | The timestamp when this segment ended. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | | | **type** | **String** | The activity taking place for the participant in the segment. | [optional] | | **how_ended** | **String** | A description of the event that ended the segment. | [optional] | | **disconnect_type** | **String** | A description of the event that disconnected the segment | [optional] | {: class="table table-striped"}