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>[src]
pub async fn create(
&self,
bucket: &str,
object: &str,
new_object_access_control: &NewObjectAccessControl
) -> Result<ObjectAccessControl>[src]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>[src]
pub async fn update(
&self,
object_access_control: &ObjectAccessControl
) -> Result<ObjectAccessControl>[src]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>