ee.Image.id

Returns the ID of a given element within a collection. Objects outside collections are not guaranteed to have IDs.

UsageReturns
Image.id()String
ArgumentTypeDetails
this: elementElement

The element from which the ID is taken.