Optional
getVariantSettings?: GetVariantSettingsFnOptional
onUploadStop?: (err: Error | null) => voidWhen upload succeeds, onUploadStop(null)
will be called.
By this time, returned MediaEntry.getUrl should be usable.
If upload fails, onUploadStop(err)
will be called, passing the error returned by GCS NodeJS SDK.
If the file already exist, onUploadStop(err)
will also be called with an error.
QueryOptions's url
If given,
getVariantSettings()
settings in constructor is overridden. Specifies variant settings for this specific insert operation.