Class StorageBucketApi
- Inheritance
-
Storage
Bucket Api
- Implements
- Derived
- Inherited Members
Constructors
StorageBucketApi(string, ClientOptions?, Dictionary<string, string>?)
protected StorageBucketApi(string url, ClientOptions? options, Dictionary<string, string>? headers = null)
Parameters
url
stringoptions
ClientOptions headers
Dictionary<string, string>
StorageBucketApi(string, Dictionary<string, string>?)
Parameters
url
stringheaders
Dictionary<string, string>
Properties
GetHeaders
Function that can be set to return dynamic headers.
Headers specified in the constructor will ALWAYS take precendece over headers returned by this function.
Property Value
Headers
Property Value
Options
Property Value
Url
Property Value
Methods
CreateBucket(string, BucketUpsertOptions?)
Creates a new Storage bucket
Parameters
id
stringoptions
BucketUpsert Options
Returns
DeleteBucket(string)
Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.
You must first Empty
Parameters
id
string
Returns
EmptyBucket(string)
Removes all objects inside a single bucket.
Parameters
id
string
Returns
GetBucket(string)
Retrieves the details of an existing Storage bucket.
Parameters
id
string
Returns
ListBuckets()
Retrieves the details of all Storage buckets within an existing product.
Returns
UpdateBucket(string, BucketUpsertOptions?)
Updates a Storage bucket
Parameters
id
stringoptions
BucketUpsert Options