Table of Contents

Class Bucket

Namespace
Supabase.Storage
Assembly
Supabase.Storage.dll
public class Bucket
Inheritance
Bucket
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>

CreatedAt

[JsonProperty("created_at")]
public DateTime? CreatedAt { get; set; }

Property Value

DateTime?

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

Id

[JsonProperty("id")]
public string? Id { get; set; }

Property Value

string

Name

[JsonProperty("name")]
public string? Name { get; set; }

Property Value

string

Owner

[JsonProperty("owner")]
public string? Owner { 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

UpdatedAt

[JsonProperty("updated_at")]
public DateTime? UpdatedAt { get; set; }

Property Value

DateTime?