Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.18 KB

SegmentBody.md

File metadata and controls

28 lines (22 loc) · 1.18 KB

LaunchDarklyApi::SegmentBody

Properties

Name Type Description Notes
name String A human-friendly name for the segment
key String A unique key used to reference the segment
description String A description of the segment's purpose [optional]
tags Array<String> Tags for the segment [optional]
unbounded Boolean Whether to create a standard segment (<code>false</code>) or a big segment (<code>true</code>). Standard segments include rule-based and smaller list-based segments. Big segments include larger list-based segments and synced segments. Only use a big segment if you need to add more than 15,000 individual targets. [optional]
unbounded_context_kind String For big segments, the targeted context kind. [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::SegmentBody.new(
  name: Example segment,
  key: segment-key-123abc,
  description: Bundle our sample customers together,
  tags: [&quot;testing&quot;],
  unbounded: false,
  unbounded_context_kind: device
)