Storage_v1Functions
object Storage_v1Functions
Functions
Link copied to clipboard
Returns metadata for the specified bucket.
Link copied to clipboard
suspend fun getBucketAccessControl(argument: GetBucketAccessControlPlainArgs): GetBucketAccessControlResult
Returns the ACL entry for the specified entity on the specified bucket.
suspend fun getBucketAccessControl(argument: suspend GetBucketAccessControlPlainArgsBuilder.() -> Unit): GetBucketAccessControlResult
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(argument: suspend GetBucketIamPolicyPlainArgsBuilder.() -> Unit): GetBucketIamPolicyResult
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(argument: suspend GetBucketObjectPlainArgsBuilder.() -> Unit): GetBucketObjectResult
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
suspend fun getDefaultObjectAccessControl(argument: GetDefaultObjectAccessControlPlainArgs): GetDefaultObjectAccessControlResult
Returns the default object ACL entry for the specified entity on the specified bucket.
suspend fun getDefaultObjectAccessControl(argument: suspend GetDefaultObjectAccessControlPlainArgsBuilder.() -> Unit): GetDefaultObjectAccessControlResult
suspend fun getDefaultObjectAccessControl(bucket: String, entity: String, userProject: String? = null): GetDefaultObjectAccessControlResult
Link copied to clipboard
Retrieves an HMAC key's metadata
suspend fun getHmacKey(accessId: String, project: String? = null, userProject: String? = null): GetHmacKeyResult
Link copied to clipboard
View a notification configuration.
suspend fun getNotification(argument: suspend GetNotificationPlainArgsBuilder.() -> Unit): GetNotificationResult
suspend fun getNotification(bucket: String, notification: String, userProject: String? = null): GetNotificationResult
Link copied to clipboard
suspend fun getObjectAccessControl(argument: GetObjectAccessControlPlainArgs): GetObjectAccessControlResult
Returns the ACL entry for the specified entity on the specified object.
suspend fun getObjectAccessControl(argument: suspend GetObjectAccessControlPlainArgsBuilder.() -> Unit): GetObjectAccessControlResult
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(argument: suspend GetObjectIamPolicyPlainArgsBuilder.() -> Unit): GetObjectIamPolicyResult
suspend fun getObjectIamPolicy(bucket: String, generation: String? = null, object: String, userProject: String? = null): GetObjectIamPolicyResult