Show / Hide Table of Contents

Class Bucket.IamConfigurationData.BucketPolicyOnlyData

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.

Inheritance
System.Object
Bucket.IamConfigurationData.BucketPolicyOnlyData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class BucketPolicyOnlyData

Properties

Enabled

If set, access is controlled only by bucket-level or above IAM policies.

Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

LockedTime

System.DateTime representation of LockedTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTime? LockedTime { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

LockedTimeRaw

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.

Declaration
[JsonProperty("lockedTime")]
public virtual string LockedTimeRaw { get; set; }
Property Value
Type Description
System.String
In This Article
Back to top