# Google Cloud Domains V1 Client - Class GetRegistrationRequest (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.5.5 0.4.2 0.3.1 0.2.11 Reference documentation and code samples for the Google Cloud Domains V1 Client class GetRegistrationRequest.

Request for the `GetRegistration` method.

Generated from protobuf message `google.cloud.domains.v1.GetRegistrationRequest`

## Namespace

Google \\ Cloud \\ Domains \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getName

Required. The name of the `Registration` to get, in the format
`projects/*/locations/*/registrations/*`.

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

### setName

Required. The name of the `Registration` to get, in the format
`projects/*/locations/*/registrations/*`.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the `Registration` to get, in the format `projects/*/locations/*/registrations/*`. Please see DomainsClient::registrationName() for help formatting this field. |

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