# Google Cloud Dms V1 Client - Class ApplyHash (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class ApplyHash.

Apply a hash function on the value.

Generated from protobuf message `google.cloud.clouddms.v1.ApplyHash`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ uuid_from_bytes` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/GPBEmpty` Optional. Generate UUID from the data's byte array |

### getUuidFromBytes

Optional. Generate UUID from the data's byte array

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/GPBEmpty|null` |   |

### hasUuidFromBytes

### setUuidFromBytes

Optional. Generate UUID from the data's byte array

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/GPBEmpty` |

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

### getHashFunction

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