# Google Cloud Chronicle V1 Client - Class GetRetrohuntRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class GetRetrohuntRequest.

Request message for GetRetrohunt method.

Generated from protobuf message `google.cloud.chronicle.v1.GetRetrohuntRequest`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the retrohunt to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}` |

### getName

Required. The name of the retrohunt to retrieve.

Format:
`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`

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

### setName

Required. The name of the retrohunt to retrieve.

Format:
`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the retrohunt to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}/retrohunts/{retrohunt}` Please see RuleServiceClient::retrohuntName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.GetRetrohuntRequest` |   |