# Cloud Vision V1 Client - Class Property (2.2.1)

2.2.1 (latest) 2.2.0 2.1.3 2.0.3 1.10.3 1.9.4 1.8.0 1.7.6 1.6.8 Reference documentation and code samples for the Cloud Vision V1 Client class Property.

A `Property` consists of a user-supplied name/value pair.

Generated from protobuf message `google.cloud.vision.v1.Property`

## Namespace

Google \\ Cloud \\ Vision \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Name of the property. |
| `↳ value` | `string` Value of the property. |
| `↳ uint64_value` | `int|string` Value of numeric properties. |

### getName

Name of the property.

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

### setName

Name of the property.

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

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

### getValue

Value of the property.

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

### setValue

Value of the property.

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

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

### getUint64Value

Value of numeric properties.

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

### setUint64Value

Value of numeric properties.

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

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