Struct google_storage1::api::BucketIamConfiguration
source · pub struct BucketIamConfiguration {
pub bucket_policy_only: Option<BucketIamConfigurationBucketPolicyOnly>,
pub public_access_prevention: Option<String>,
pub uniform_bucket_level_access: Option<BucketIamConfigurationUniformBucketLevelAccess>,
}
Expand description
The bucket’s IAM configuration.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bucket_policy_only: Option<BucketIamConfigurationBucketPolicyOnly>
The bucket’s uniform bucket-level access configuration. The feature was formerly known as Bucket Policy Only. For backward compatibility, this field will be populated with identical information as the uniformBucketLevelAccess field. We recommend using the uniformBucketLevelAccess field to enable and disable the feature.
public_access_prevention: Option<String>
The bucket’s Public Access Prevention configuration. Currently, ‘inherited’ and ‘enforced’ are supported.
uniform_bucket_level_access: Option<BucketIamConfigurationUniformBucketLevelAccess>
The bucket’s uniform bucket-level access configuration.
Trait Implementations§
source§impl Clone for BucketIamConfiguration
impl Clone for BucketIamConfiguration
source§fn clone(&self) -> BucketIamConfiguration
fn clone(&self) -> BucketIamConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BucketIamConfiguration
impl Debug for BucketIamConfiguration
source§impl Default for BucketIamConfiguration
impl Default for BucketIamConfiguration
source§fn default() -> BucketIamConfiguration
fn default() -> BucketIamConfiguration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BucketIamConfiguration
impl<'de> Deserialize<'de> for BucketIamConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for BucketIamConfiguration
impl Serialize for BucketIamConfiguration
impl NestedType for BucketIamConfiguration
impl Part for BucketIamConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for BucketIamConfiguration
impl Send for BucketIamConfiguration
impl Sync for BucketIamConfiguration
impl Unpin for BucketIamConfiguration
impl UnwindSafe for BucketIamConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more