Struct google_storage1::api::BucketIamConfigurationBucketPolicyOnly[][src]

pub struct BucketIamConfigurationBucketPolicyOnly {
    pub enabled: Option<bool>,
    pub locked_time: Option<String>,
}

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<String>

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

impl Clone for BucketIamConfigurationBucketPolicyOnly[src]

impl Debug for BucketIamConfigurationBucketPolicyOnly[src]

impl Default for BucketIamConfigurationBucketPolicyOnly[src]

impl<'de> Deserialize<'de> for BucketIamConfigurationBucketPolicyOnly[src]

impl NestedType for BucketIamConfigurationBucketPolicyOnly[src]

impl Part for BucketIamConfigurationBucketPolicyOnly[src]

impl Serialize for BucketIamConfigurationBucketPolicyOnly[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.