# Google Cloud OsLogin V1 Client - Class DeletePosixAccountRequest (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 DeletePosixAccountRequest.

A request message for deleting a POSIX account entry.

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

## Namespace

Google \\ Cloud \\ OsLogin \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format `users/{user}/projects/{project}`. |

### getName

Required. A reference to the POSIX account to update. POSIX accounts are
identified by the project ID they are associated with. A reference to the
POSIX account is in format `users/{user}/projects/{project}`.

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

### setName

Required. A reference to the POSIX account to update. POSIX accounts are
identified by the project ID they are associated with. A reference to the
POSIX account is in format `users/{user}/projects/{project}`.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format `users/{user}/projects/{project}`. Please see OsLoginServiceClient::posixAccountName() for help formatting this field. |

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