Interface Rotation.ManagedRotationStatusOrBuilder (2.95.0)

public static interface Rotation.ManagedRotationStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract Status getError()

Output only. Displays customer-facing issues that occurred during an asynchronous managed rotation. For example, if there are some permission errors.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Output only. Displays customer-facing issues that occurred during an asynchronous managed rotation. For example, if there are some permission errors.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getState()

public abstract Rotation.ManagedRotationStatus.State getState()

Output only. Indicates whether the Managed Rotation is active or not.

.google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Rotation.ManagedRotationStatus.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Indicates whether the Managed Rotation is active or not.

.google.cloud.secretmanager.v1.Rotation.ManagedRotationStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasError()

public abstract boolean hasError()

Output only. Displays customer-facing issues that occurred during an asynchronous managed rotation. For example, if there are some permission errors.

.google.rpc.Status error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.