# Google Cloud Vision Ai V1 Client - Class InstanceType (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 InstanceType.

All the supported instance types.

Protobuf type `google.cloud.visionai.v1.Instance.InstanceType`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ Instance

## Methods

### static::name

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

### static::value

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

## Constants

### INSTANCE_TYPE_UNSPECIFIED

    Value: 0

Unspecified instance type.

If the instance type is not specified, the default one is
STREAMING_PREDICTION.

Generated from protobuf enum `INSTANCE_TYPE_UNSPECIFIED = 0;`

### STREAMING_PREDICTION

    Value: 1

Instance type for streaming prediction.

Generated from protobuf enum `STREAMING_PREDICTION = 1;`

### BATCH_PREDICTION

    Value: 2

Instance type for batch prediction.

Generated from protobuf enum `BATCH_PREDICTION = 2;`

### ONLINE_PREDICTION

    Value: 3

Instance type for online prediction.

Generated from protobuf enum `ONLINE_PREDICTION = 3;`