googleanalytics/ga-dev-tools — pull request #15 by clancychilds (2014-11-16 09:17:10+00:00)
Title: Add feature to expand Custom Segment definitions.

I originally mentioned this feature in an email to grano. At times, it is necessary to create an API request using the full segment defintion (e.g. when the user that will be executing the query doesn't have the segment defined.) This hack makes it possible to insert the segment definition into the builder rather than just the id.