Options

struct Options

Options to adjust the behavior of this request, including plugin-options

  • Tag: StorageRemoveRequestOptions
  • Access level of the storage system. Defaults to public

    • Tag: StorageRemoveRequestOptions.accessLevel

    Declaration

    Swift

    @available(*, deprecated, message: "Use `path` in Storage API instead of `Options`")
    public let accessLevel: StorageAccessLevel
  • A Storage Bucket that contains the object to remove. Defaults to nil, in which case the default one will be used.

    • Tag: StorageDownloadDataRequest.bucket

    Declaration

    Swift

    public let bucket: (any StorageBucket)?
  • Extra plugin specific options, only used in special circumstances when the existing options do not provide a way to utilize the underlying storage system’s functionality. See plugin documentation for expected key/values

    • Tag: StorageRemoveRequestOptions.pluginOptions

    Declaration

    Swift

    public let pluginOptions: Any?
    • Tag: StorageRemoveRequestOptions.init

    Declaration

    Swift

    public init(
        accessLevel: StorageAccessLevel = .guest,
        pluginOptions: Any? = nil
    )
    • Tag: StorageRemoveRequestOptions.init

    Declaration

    Swift

    public init(
        bucket: some StorageBucket,
        pluginOptions: Any? = nil
    )