# Stackdriver Logging V2 Client - Class LifecycleState (2.1.0)

2.1.0 (latest) 2.0.0 1.34.5 1.33.0 1.32.3 1.31.3 1.30.3 1.29.0 1.28.5 1.27.1 1.26.0 1.25.5 1.24.10 Reference documentation and code samples for the Stackdriver Logging V2 Client class LifecycleState.

LogBucket lifecycle states.

Protobuf type `google.logging.v2.LifecycleState`

## Namespace

Google \\ Cloud \\ Logging \\ V2

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### LIFECYCLE_STATE_UNSPECIFIED

    Value: 0

Unspecified state. This is only used/useful for distinguishing unset
values.

Generated from protobuf enum `LIFECYCLE_STATE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 1

The normal and active state.

Generated from protobuf enum `ACTIVE = 1;`

### DELETE_REQUESTED

    Value: 2

The resource has been marked for deletion by the user. For some resources
(e.g. buckets), this can be reversed by an un-delete operation.

Generated from protobuf enum `DELETE_REQUESTED = 2;`

### UPDATING

    Value: 3

The resource has been marked for an update by the user. It will remain in
this state until the update is complete.

Generated from protobuf enum `UPDATING = 3;`

### CREATING

    Value: 4

The resource has been marked for creation by the user. It will remain in
this state until the creation is complete.

Generated from protobuf enum `CREATING = 4;`

### FAILED

    Value: 5

The resource is in an INTERNAL error state.

Generated from protobuf enum `FAILED = 5;`