ee.Image.resample

An algorithm that returns an image identical to its argument, but which uses bilinear or bicubic interpolation (rather than the default nearest-neighbor) to compute pixels in projections other than its native projection or other levels of the same image pyramid.

This relies on the input image's default projection being meaningful, and so cannot be used on composites, for example. (Instead, you should resample the images that are used to create the composite.)

UsageReturns
Image.resample(mode)Image
ArgumentTypeDetails
this: imageImageThe Image to resample.
modeString, default: "bilinear"The interpolation mode to use. One of 'bilinear' or 'bicubic'.