public static final class Bucket.IamConfiguration.BucketPolicyOnly extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
BucketPolicyOnly() |
Modifier and Type | Method and Description |
---|---|
Bucket.IamConfiguration.BucketPolicyOnly |
clone() |
Boolean |
getEnabled()
If set, access is controlled only by bucket-level or above IAM policies.
|
DateTime |
getLockedTime()
The deadline for changing iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC
3339 format.
|
Bucket.IamConfiguration.BucketPolicyOnly |
set(String fieldName,
Object value) |
Bucket.IamConfiguration.BucketPolicyOnly |
setEnabled(Boolean enabled)
If set, access is controlled only by bucket-level or above IAM policies.
|
Bucket.IamConfiguration.BucketPolicyOnly |
setLockedTime(DateTime lockedTime)
The deadline for changing iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC
3339 format.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Boolean getEnabled()
null
for nonepublic Bucket.IamConfiguration.BucketPolicyOnly setEnabled(Boolean enabled)
enabled
- enabled or null
for nonepublic DateTime getLockedTime()
null
for nonepublic Bucket.IamConfiguration.BucketPolicyOnly setLockedTime(DateTime lockedTime)
lockedTime
- lockedTime or null
for nonepublic Bucket.IamConfiguration.BucketPolicyOnly set(String fieldName, Object value)
set
in class GenericJson
public Bucket.IamConfiguration.BucketPolicyOnly clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.