# Google Cloud Managed Identities V1 Client - Class ResetAdminPasswordResponse (2.2.0)

2.2.0 (latest) 2.1.1 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Managed Identities V1 Client class ResetAdminPasswordResponse.

Response message for
ResetAdminPassword

Generated from protobuf message `google.cloud.managedidentities.v1.ResetAdminPasswordResponse`

## Namespace

Google \\ Cloud \\ ManagedIdentities \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ password` | `string` A random password. See [admin](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain#_Google_Cloud_ManagedIdentities_V1_Domain__getAdmin__) for more information. |

### getPassword

A random password. See [admin](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain#_Google_Cloud_ManagedIdentities_V1_Domain__getAdmin__) for more information.

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

### setPassword

A random password. See [admin](https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.Domain#_Google_Cloud_ManagedIdentities_V1_Domain__getAdmin__) for more information.

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

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