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
object
Bucket.IamConfigurationData.BucketPolicyOnlyData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class Bucket.IamConfigurationData.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
bool?

LockedTime

DateTime representation of LockedTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LockedTimeDateTimeOffset instead.")]
public virtual DateTime? LockedTime { get; set; }
Property Value
Type Description
DateTime?

LockedTimeDateTimeOffset

DateTimeOffset representation of LockedTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LockedTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

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
string
In this article
Back to top Generated by DocFX