coin
The coin() step is a filter step that can be used to get a random coin toss with the inserted odds between 0.0 and 1.0.
For example, to find a random set of ingredients that must be used in a cooking contest:
g.V().hasLabel('ingredient').coin(0.1)