StorageFunctions

Functions

Link copied to clipboard

Gets an existing bucket in Google Cloud Storage service (GCS). See the official documentation and API.

suspend fun getBucket(name: String): GetBucketResult
suspend fun getBucket(argument: suspend GetBucketPlainArgsBuilder.() -> Unit): GetBucketResult
Link copied to clipboard

Gets an existing object inside an existing bucket in Google Cloud Storage service (GCS). See the official documentation and API.

suspend fun getBucketObject(bucket: String? = null, name: String? = null): GetBucketObjectResult
Link copied to clipboard

Gets an existing object content inside an existing bucket in Google Cloud Storage service (GCS). See the official documentation and API.

suspend fun getBucketObjectContent(bucket: String, content: String? = null, name: String): GetBucketObjectContentResult
Link copied to clipboard

The Google Cloud storage signed URL data source generates a signed URL for a given storage object. Signed URLs provide a way to give time-limited read or write access to anyone in possession of the URL, regardless of whether they have a Google account. For more info about signed URL's is available here.

suspend fun getObjectSignedUrl(bucket: String, contentMd5: String? = null, contentType: String? = null, credentials: String? = null, duration: String? = null, extensionHeaders: Map<String, String>? = null, httpMethod: String? = null, path: String): GetObjectSignedUrlResult