Storage_v1Functions

Functions

Link copied to clipboard

Returns metadata for the specified bucket.

suspend fun getBucket(argument: suspend GetBucketPlainArgsBuilder.() -> Unit): GetBucketResult
suspend fun getBucket(bucket: String, ifMetagenerationMatch: String? = null, ifMetagenerationNotMatch: String? = null, projection: String? = null, userProject: String? = null): GetBucketResult
Link copied to clipboard

Returns the ACL entry for the specified entity on the specified bucket.

suspend fun getBucketAccessControl(bucket: String, entity: String, userProject: String? = null): GetBucketAccessControlResult
Link copied to clipboard

Returns an IAM policy for the specified bucket.

suspend fun getBucketIamPolicy(bucket: String, optionsRequestedPolicyVersion: Int? = null, userProject: String? = null): GetBucketIamPolicyResult
Link copied to clipboard

Retrieves an object or its metadata.

suspend fun getBucketObject(bucket: String, generation: String? = null, ifGenerationMatch: String? = null, ifGenerationNotMatch: String? = null, ifMetagenerationMatch: String? = null, ifMetagenerationNotMatch: String? = null, object: String, projection: String? = null, userProject: String? = null): GetBucketObjectResult
Link copied to clipboard

Returns the default object ACL entry for the specified entity on the specified bucket.

suspend fun getDefaultObjectAccessControl(bucket: String, entity: String, userProject: String? = null): GetDefaultObjectAccessControlResult
Link copied to clipboard

Retrieves an HMAC key's metadata

suspend fun getHmacKey(argument: suspend GetHmacKeyPlainArgsBuilder.() -> Unit): GetHmacKeyResult
suspend fun getHmacKey(accessId: String, project: String? = null, userProject: String? = null): GetHmacKeyResult
Link copied to clipboard

View a notification configuration.

suspend fun getNotification(bucket: String, notification: String, userProject: String? = null): GetNotificationResult
Link copied to clipboard

Returns the ACL entry for the specified entity on the specified object.

suspend fun getObjectAccessControl(bucket: String, entity: String, generation: String? = null, object: String, userProject: String? = null): GetObjectAccessControlResult
Link copied to clipboard

Returns an IAM policy for the specified object.

suspend fun getObjectIamPolicy(bucket: String, generation: String? = null, object: String, userProject: String? = null): GetObjectIamPolicyResult