Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 1.97 KB

MetricGroupRep.md

File metadata and controls

46 lines (40 loc) · 1.97 KB

LaunchDarklyApi::MetricGroupRep

Properties

Name Type Description Notes
_id String The ID of this metric group
key String A unique key to reference the metric group
name String A human-friendly name for the metric group
kind String The type of the metric group
description String Description of the metric group [optional]
_links Hash<String, Link> The location and content type of related resources
_access Access [optional]
tags Array<String> Tags for the metric group
_creation_date Integer
_last_modified Integer
maintainer MaintainerRep
metrics Array<MetricInGroupRep> An ordered list of the metrics in this metric group
_version Integer The version of this metric group
experiments Array<DependentExperimentRep> [optional]
experiment_count Integer The number of experiments using this metric group [optional]

Example

require 'launchdarkly_api'

instance = LaunchDarklyApi::MetricGroupRep.new(
  _id: bc3e5be1-02d2-40c7-9926-26d0aacd7aab,
  key: metric-group-key-123abc,
  name: My metric group,
  kind: funnel,
  description: Description of the metric group,
  _links: {&quot;parent&quot;:{&quot;href&quot;:&quot;/api/v2/projects/my-project&quot;,&quot;type&quot;:&quot;application/json&quot;},&quot;self&quot;:{&quot;href&quot;:&quot;/api/v2/projects/my-project/metric-groups/my-metric-group&quot;,&quot;type&quot;:&quot;application/json&quot;}},
  _access: null,
  tags: [&quot;ops&quot;],
  _creation_date: null,
  _last_modified: null,
  maintainer: null,
  metrics: null,
  _version: 1,
  experiments: null,
  experiment_count: 0
)