Add a new Report Component to the Report. If the component already exists, it will be updated.
To create a new Component, you will need to specify the type
, name
, and config
fields.
Depending on the Component type, you may need to specify additional fields in the config
object.
For size
components, you will need to specify the segment_ids
field ([]string
) in the config
object.
For composition
components, you will need to specify the segment_ids
([]string
) field and a field
(string
) from the user schema in the config
object.
For overflow
components, you will need to specify the segment_ids
([]string
) field in the config
object.
For dataflow
components, you will need to specify the segment_ids
([]string
) field in the config
object, as well as show_providers
, show_streams
, and show_destinations
(boolean
) options.