Class Rpo (2.8.0)

public final class Rpo extends StringEnumValue

Enums for the Recovery Point Objective (RPO) of dual-region buckets, which determines how fast data is replicated between regions. See Also: https://cloud.google.com/storage/docs/turbo-replication

Inheritance

java.lang.Object > com.google.cloud.StringEnumValue > Rpo

Static Fields

ASYNC_TURBO

public static final Rpo ASYNC_TURBO

Turbo recovery point objective. With this setting, data in a dual-region bucket will replicate between regions within 15 minutes.

Field Value
TypeDescription
Rpo

DEFAULT

public static final Rpo DEFAULT

Default recovery point objective. With this setting, there is no guarantee on the amount of time it takes for data to replicate between regions.

Field Value
TypeDescription
Rpo

Static Methods

valueOf(String constant)

public static Rpo valueOf(String constant)

Get the Rpo for the given String constant, and allow unrecognized values.

Parameter
NameDescription
constantString
Returns
TypeDescription
Rpo

valueOfStrict(String constant)

public static Rpo valueOfStrict(String constant)

Get the Rpo for the given String constant, and throw an exception if the constant is not recognized.

Parameter
NameDescription
constantString
Returns
TypeDescription
Rpo

values()

public static Rpo[] values()

Return the known values for Rpo.

Returns
TypeDescription
Rpo[]