Send feedback
Class Bucket.IamConfig (2.8.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.8.1 keyboard_arrow_down
public static final class Bucket . IamConfig extends GeneratedMessageV3 implements Bucket . IamConfigOrBuilder
Bucket restriction options.
Protobuf type google.storage.v2.Bucket.IamConfig
Static Fields
PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
public static final int PUBLIC_ACCESS_PREVENTION_FIELD_NUMBER
Field Value
public static final int UNIFORM_BUCKET_LEVEL_ACCESS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Bucket . IamConfig getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static Bucket . IamConfig . Builder newBuilder ()
Returns
newBuilder(Bucket.IamConfig prototype)
public static Bucket . IamConfig . Builder newBuilder ( Bucket . IamConfig prototype )
Parameter
Returns
public static Bucket . IamConfig parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Bucket . IamConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Bucket . IamConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bucket . IamConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Bucket . IamConfig parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bucket . IamConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Bucket . IamConfig parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static Bucket . IamConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Bucket . IamConfig parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static Bucket . IamConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Bucket . IamConfig parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bucket . IamConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<Bucket . IamConfig > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Bucket . IamConfig getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<Bucket . IamConfig > getParserForType ()
Returns
Overrides
getPublicAccessPrevention()
public String getPublicAccessPrevention ()
Whether IAM will enforce public access prevention. Valid values are
"enforced" or "inherited".
string public_access_prevention = 3;
Returns
Type
Description
String
The publicAccessPrevention.
getPublicAccessPreventionBytes()
public ByteString getPublicAccessPreventionBytes ()
Whether IAM will enforce public access prevention. Valid values are
"enforced" or "inherited".
string public_access_prevention = 3;
Returns
Type
Description
ByteString
The bytes for publicAccessPrevention.
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
public Bucket . IamConfig . UniformBucketLevelAccess getUniformBucketLevelAccess ()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Returns
public Bucket . IamConfig . UniformBucketLevelAccessOrBuilder getUniformBucketLevelAccessOrBuilder ()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasUniformBucketLevelAccess ()
Bucket restriction options currently enforced on the bucket.
.google.storage.v2.Bucket.IamConfig.UniformBucketLevelAccess uniform_bucket_level_access = 1;
Returns
Type
Description
boolean
Whether the uniformBucketLevelAccess field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public Bucket . IamConfig . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bucket . IamConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public Bucket . IamConfig . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]