Table of Contents

Class BucketUpsertOptions

Namespace
Supabase.Storage
Assembly
Supabase.Storage.dll
public class BucketUpsertOptions
Inheritance
BucketUpsertOptions
Inherited Members

Properties

AllowedMimes

Specifies the allowed mime types that this bucket can accept during upload.

Expects a List of values such as: ['image/jpeg', 'image/png', etc]

[JsonProperty("allowed_mime_types", NullValueHandling = NullValueHandling.Ignore)]
public List<string>? AllowedMimes { get; set; }

Property Value

List<string>

FileSizeLimit

Specifies the file size limit that this bucket can accept during upload.

Expects a string value following a format like: '1kb', '50mb', '150kb', etc.

[JsonProperty("file_size_limit", NullValueHandling = NullValueHandling.Include)]
public string? FileSizeLimit { get; set; }

Property Value

string

Public

The visibility of the bucket. Public buckets don't require an authorization token to download objects, but still require a valid token for all other operations. By default, buckets are private.

[JsonProperty("public")]
public bool Public { get; set; }

Property Value

bool