public static enum Bucket.IamConfig.PublicAccessPrevention extends Enum<Bucket.IamConfig.PublicAccessPrevention> implements com.google.protobuf.ProtocolMessageEnum
Public Access Prevention config values.Protobuf enum
google.storage.v2.Bucket.IamConfig.PublicAccessPrevention| Enum Constant and Description |
|---|
ENFORCED
Prevents access from being granted to public members 'allUsers' and
'allAuthenticatedUsers'.
|
INHERITED
This setting is inherited from Org Policy.
|
PUBLIC_ACCESS_PREVENTION_UNSPECIFIED
No specified PublicAccessPrevention.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENFORCED_VALUE
Prevents access from being granted to public members 'allUsers' and
'allAuthenticatedUsers'.
|
static int |
INHERITED_VALUE
This setting is inherited from Org Policy.
|
static int |
PUBLIC_ACCESS_PREVENTION_UNSPECIFIED_VALUE
No specified PublicAccessPrevention.
|
| Modifier and Type | Method and Description |
|---|---|
static Bucket.IamConfig.PublicAccessPrevention |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Bucket.IamConfig.PublicAccessPrevention> |
internalGetValueMap() |
static Bucket.IamConfig.PublicAccessPrevention |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Bucket.IamConfig.PublicAccessPrevention |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Bucket.IamConfig.PublicAccessPrevention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bucket.IamConfig.PublicAccessPrevention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bucket.IamConfig.PublicAccessPrevention PUBLIC_ACCESS_PREVENTION_UNSPECIFIED
No specified PublicAccessPrevention.
PUBLIC_ACCESS_PREVENTION_UNSPECIFIED = 0;public static final Bucket.IamConfig.PublicAccessPrevention ENFORCED
Prevents access from being granted to public members 'allUsers' and 'allAuthenticatedUsers'. Prevents attempts to grant new access to public members.
ENFORCED = 1;public static final Bucket.IamConfig.PublicAccessPrevention INHERITED
This setting is inherited from Org Policy. Does not prevent access from being granted to public members 'allUsers' or 'allAuthenticatedUsers'.
INHERITED = 2;public static final Bucket.IamConfig.PublicAccessPrevention UNRECOGNIZED
public static final int PUBLIC_ACCESS_PREVENTION_UNSPECIFIED_VALUE
No specified PublicAccessPrevention.
PUBLIC_ACCESS_PREVENTION_UNSPECIFIED = 0;public static final int ENFORCED_VALUE
Prevents access from being granted to public members 'allUsers' and 'allAuthenticatedUsers'. Prevents attempts to grant new access to public members.
ENFORCED = 1;public static final int INHERITED_VALUE
This setting is inherited from Org Policy. Does not prevent access from being granted to public members 'allUsers' or 'allAuthenticatedUsers'.
INHERITED = 2;public static Bucket.IamConfig.PublicAccessPrevention[] values()
for (Bucket.IamConfig.PublicAccessPrevention c : Bucket.IamConfig.PublicAccessPrevention.values()) System.out.println(c);
public static Bucket.IamConfig.PublicAccessPrevention valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Bucket.IamConfig.PublicAccessPrevention valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Bucket.IamConfig.PublicAccessPrevention forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Bucket.IamConfig.PublicAccessPrevention> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Bucket.IamConfig.PublicAccessPrevention valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.