# Google Cloud Capacity Planner V1beta Client - Class Unit (0.1.2)

0.1.2 (latest) 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class Unit.

Protobuf type `google.cloud.capacityplanner.v1beta.Unit`

## Namespace

Google \\ Cloud \\ CapacityPlanner \\ V1beta

## Methods

### static::name

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

### static::value

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

## Constants

### UNIT_UNSPECIFIED

    Value: 0

Generated from protobuf enum `UNIT_UNSPECIFIED = 0;`

### UNIT_COUNT

    Value: 1

Generated from protobuf enum `UNIT_COUNT = 1;`

### KB

    Value: 2

Kilobytes (10\^3 bytes)

Generated from protobuf enum `KB = 2;`

### GB

    Value: 3

Gigabytes (10\^9 bytes)

Generated from protobuf enum `GB = 3;`

### TB

    Value: 4

Terabytes (10\^12 bytes)

Generated from protobuf enum `TB = 4;`

### MIB

    Value: 17

Mebibytes (2\^20 bytes)

Generated from protobuf enum `MIB = 17;`

### GIB

    Value: 5

Gibibytes (2\^30 bytes)

Generated from protobuf enum `GIB = 5;`

### TIB

    Value: 6

Tebibytes (2\^40 bytes)

Generated from protobuf enum `TIB = 6;`

### QPS

    Value: 7

Queries per second

Generated from protobuf enum `QPS = 7;`

### MB

    Value: 8

Megabytes (10\^6 bytes)

Generated from protobuf enum `MB = 8;`

### PIB

    Value: 9

Pebibytes (2\^50 bytes)

Generated from protobuf enum `PIB = 9;`

### TBPS

    Value: 10

Terabits (10\^12 bits) per second

Generated from protobuf enum `TBPS = 10 [deprecated = true];`

### GBPS_BITS

    Value: 11

Generated from protobuf enum `GBPS_BITS = 11;`

### GIB_BITS

    Value: 12

Generated from protobuf enum `GIB_BITS = 12;`

### MBPS_BITS

    Value: 13

Generated from protobuf enum `MBPS_BITS = 13;`

### MBPS_BYTES

    Value: 14

Generated from protobuf enum `MBPS_BYTES = 14;`

### TBPS_BITS

    Value: 15

Generated from protobuf enum `TBPS_BITS = 15;`

### TBPS_BYTES

    Value: 16

Generated from protobuf enum `TBPS_BYTES = 16;`

### KOPS

    Value: 18

Generated from protobuf enum `KOPS = 18;`