# Google Cloud Data Catalog V1 Client - Class Service (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class Service.

The source system of the Taxonomy.

Generated from protobuf message `google.cloud.datacatalog.v1.Taxonomy.Service`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1 \\ Taxonomy

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `int` The Google Cloud service name. |
| `↳ identity` | `string` The service agent for the service. |

### getName

The Google Cloud service name.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ManagingSystem](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.ManagingSystem). |

### setName

The Google Cloud service name.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ManagingSystem](https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.ManagingSystem). |

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

### getIdentity

The service agent for the service.

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

### setIdentity

The service agent for the service.

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

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