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: elementElementThe element from which the ID is taken.