public static enum BucketInfo.PublicAccessPrevention extends Enum<BucketInfo.PublicAccessPrevention>
Enum Constant and Description |
---|
ENFORCED |
INHERITED |
UNKNOWN
If the api returns a value that isn't defined in
BucketInfo.PublicAccessPrevention this value
will be returned. |
UNSPECIFIED
Deprecated.
use
INHERITED |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static BucketInfo.PublicAccessPrevention |
parse(String value) |
static BucketInfo.PublicAccessPrevention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketInfo.PublicAccessPrevention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketInfo.PublicAccessPrevention ENFORCED
@Deprecated public static final BucketInfo.PublicAccessPrevention UNSPECIFIED
INHERITED
public static final BucketInfo.PublicAccessPrevention UNKNOWN
BucketInfo.PublicAccessPrevention
this value
will be returned.public static final BucketInfo.PublicAccessPrevention INHERITED
public static BucketInfo.PublicAccessPrevention[] values()
for (BucketInfo.PublicAccessPrevention c : BucketInfo.PublicAccessPrevention.values()) System.out.println(c);
public static BucketInfo.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 String getValue()
public static BucketInfo.PublicAccessPrevention parse(String value)
Copyright © 2023 Google LLC. All rights reserved.