# Google Cloud Data Catalog V1 Client - Class GetEntryGroupRequest (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 GetEntryGroupRequest.

Request message for
GetEntryGroup.

Generated from protobuf message `google.cloud.datacatalog.v1.GetEntryGroupRequest`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the entry group to get. |
| `↳ read_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The fields to return. If empty or omitted, all fields are returned. |

### getName

Required. The name of the entry group to get.

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

### setName

Required. The name of the entry group to get.

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

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

### getReadMask

The fields to return. If empty or omitted, all fields are returned.

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

### hasReadMask

### clearReadMask

### setReadMask

The fields to return. If empty or omitted, all fields are returned.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the entry group to get. Please see DataCatalogClient::entryGroupName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.GetEntryGroupRequest` |   |

### static::buildFromNameReadMask

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the entry group to get. Please see DataCatalogClient::entryGroupName() for help formatting this field. |
| `readMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The fields to return. If empty or omitted, all fields are returned. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.GetEntryGroupRequest` |   |