# Google Cloud Vision Ai V1 Client - Class Granularity (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Granularity.

The granularity of annotations under this DataSchema.

Protobuf type `google.cloud.visionai.v1.DataSchemaDetails.Granularity`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ DataSchemaDetails

## Methods

### static::name

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

### static::value

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

## Constants

### GRANULARITY_UNSPECIFIED

    Value: 0

Unspecified granularity.

Generated from protobuf enum `GRANULARITY_UNSPECIFIED = 0;`

### GRANULARITY_ASSET_LEVEL

    Value: 1

Asset-level granularity (annotations must not contain partition info).

Generated from protobuf enum `GRANULARITY_ASSET_LEVEL = 1;`

### GRANULARITY_PARTITION_LEVEL

    Value: 2

Partition-level granularity (annotations must contain partition info).

Generated from protobuf enum `GRANULARITY_PARTITION_LEVEL = 2;`