# Google Cloud Storage Batch Operations V1 Client - Class HoldStatus (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class HoldStatus.

Describes the status of the hold.

Protobuf type `google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus`

## Namespace

Google \\ Cloud \\ StorageBatchOperations \\ V1 \\ PutObjectHold

## Methods

### static::name

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

### static::value

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

## Constants

### HOLD_STATUS_UNSPECIFIED

    Value: 0

Default value, Object hold status will not be changed.

Generated from protobuf enum `HOLD_STATUS_UNSPECIFIED = 0;`

### SET

    Value: 1

Places the hold.

Generated from protobuf enum `SET = 1;`

### PBUNSET

    Value: 2

Releases the hold.

Generated from protobuf enum `UNSET = 2;`