pub struct BucketIamConfigurationBucketPolicyOnly {
pub enabled: Option<bool>,
pub locked_time: Option<DateTime<Utc>>,
}
Expand description
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.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enabled: Option<bool>
If set, access is controlled only by bucket-level or above IAM policies.
locked_time: Option<DateTime<Utc>>
The deadline for changing iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled may be changed from true to false until the locked time, after which the field is immutable.
Trait Implementations§
source§impl Clone for BucketIamConfigurationBucketPolicyOnly
impl Clone for BucketIamConfigurationBucketPolicyOnly
source§fn clone(&self) -> BucketIamConfigurationBucketPolicyOnly
fn clone(&self) -> BucketIamConfigurationBucketPolicyOnly
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 Default for BucketIamConfigurationBucketPolicyOnly
impl Default for BucketIamConfigurationBucketPolicyOnly
source§fn default() -> BucketIamConfigurationBucketPolicyOnly
fn default() -> BucketIamConfigurationBucketPolicyOnly
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BucketIamConfigurationBucketPolicyOnly
impl<'de> Deserialize<'de> for BucketIamConfigurationBucketPolicyOnly
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
impl NestedType for BucketIamConfigurationBucketPolicyOnly
impl Part for BucketIamConfigurationBucketPolicyOnly
Auto Trait Implementations§
impl RefUnwindSafe for BucketIamConfigurationBucketPolicyOnly
impl Send for BucketIamConfigurationBucketPolicyOnly
impl Sync for BucketIamConfigurationBucketPolicyOnly
impl Unpin for BucketIamConfigurationBucketPolicyOnly
impl UnwindSafe for BucketIamConfigurationBucketPolicyOnly
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