Creates an asset from a JSON value. To create an empty image collection or folder, pass in a "value" object with a "type" key whose value is one of* (i.e. "ImageCollection" or "Folder").

Returns a description of the saved asset, including a generated ID, or null if a callback is specified.

UsageReturns, path, force, properties, callback)Object

An object describing the asset to create or a JSON string with the already-serialized value for the new asset.

pathString, optional

An optional desired ID, including full path.

forceBoolean, optional

Force overwrite.

propertiesObject, optional

The keys and values of the properties to set

callbackFunction, optional

An optional callback. If not supplied, the call is made synchronously.



// Your example goes here!


# Your example goes here!