# Google Cloud OsLogin V1 Client - Class GetLoginProfileRequest (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.9.6 1.8.0 1.7.0 1.6.0 1.5.2 1.4.6 Reference documentation and code samples for the Google Cloud OsLogin V1 Client class GetLoginProfileRequest.

A request message for retrieving the login profile information for a user.

Generated from protobuf message `google.cloud.oslogin.v1.GetLoginProfileRequest`

## Namespace

Google \\ Cloud \\ OsLogin \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The unique ID for the user in format `users/{user}`. |
| `↳ project_id` | `string` The project ID of the Google Cloud Platform project. |
| `↳ system_id` | `string` A system ID for filtering the results of the request. |

### getName

Required. The unique ID for the user in format `users/{user}`.

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

### setName

Required. The unique ID for the user in format `users/{user}`.

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

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

### getProjectId

The project ID of the Google Cloud Platform project.

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

### setProjectId

The project ID of the Google Cloud Platform project.

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

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

### getSystemId

A system ID for filtering the results of the request.

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

### setSystemId

A system ID for filtering the results of the request.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The unique ID for the user in format `users/{user}`. Please see OsLoginServiceClient::userName() for help formatting this field. |

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