Struct cloud_storage::client::ObjectAccessControlClient [−][src]
pub struct ObjectAccessControlClient<'a>(_);Expand description
Operations on ObjectAccessControls.
Implementations
pub async fn create(
&self,
bucket: &str,
object: &str,
new_object_access_control: &NewObjectAccessControl
) -> Result<ObjectAccessControl>
pub async fn create(
&self,
bucket: &str,
object: &str,
new_object_access_control: &NewObjectAccessControl
) -> Result<ObjectAccessControl>
Creates a new ACL entry on the specified object.
Important
This method fails with a 400 Bad Request response for buckets with uniform
bucket-level access enabled. Use Bucket::get_iam_policy and Bucket::set_iam_policy to
control access instead.
Retrieves ACL entries on the specified object.
Important
Important: This method fails with a 400 Bad Request response for buckets with uniform
bucket-level access enabled. Use Bucket::get_iam_policy and Bucket::set_iam_policy to
control access instead.
Returns the ACL entry for the specified entity on the specified bucket.
Important
Important: This method fails with a 400 Bad Request response for buckets with uniform
bucket-level access enabled. Use Bucket::get_iam_policy and Bucket::set_iam_policy to
control access instead.
pub async fn update(
&self,
object_access_control: &ObjectAccessControl
) -> Result<ObjectAccessControl>
pub async fn update(
&self,
object_access_control: &ObjectAccessControl
) -> Result<ObjectAccessControl>
Updates an ACL entry on the specified object.
Important
Important: This method fails with a 400 Bad Request response for buckets with uniform
bucket-level access enabled. Use Bucket::get_iam_policy and Bucket::set_iam_policy to
control access instead.
Permanently deletes the ACL entry for the specified entity on the specified object.
Important
Important: This method fails with a 400 Bad Request response for buckets with uniform
bucket-level access enabled. Use Bucket::get_iam_policy and Bucket::set_iam_policy to
control access instead.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ObjectAccessControlClient<'a>
impl<'a> Send for ObjectAccessControlClient<'a>
impl<'a> Sync for ObjectAccessControlClient<'a>
impl<'a> Unpin for ObjectAccessControlClient<'a>
impl<'a> !UnwindSafe for ObjectAccessControlClient<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more