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

Configuration for the data.

Generated from protobuf message `google.cloud.visionai.v1.IngestAssetRequest.Config`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ IngestAssetRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ video_type` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.IngestAssetRequest.Config.VideoType` Type information for video data. |
| `↳ asset` | `string` Required. The resource name of the asset that the ingested data belongs to. |

### getVideoType

Type information for video data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.IngestAssetRequest.Config.VideoType|null` |   |

### hasVideoType

### setVideoType

Type information for video data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.IngestAssetRequest.Config.VideoType` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAsset

Required. The resource name of the asset that the ingested data belongs
to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setAsset

Required. The resource name of the asset that the ingested data belongs
to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |