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

Request message for AnalyzeAsset.

Generated from protobuf message `google.cloud.visionai.v1.AnalyzeAssetRequest`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the asset to analyze. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}` |

### getName

Required. The resource name of the asset to analyze.

Format:
`projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`

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

### setName

Required. The resource name of the asset to analyze.

Format:
`projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`

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

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