# Google Cloud Vmware Engine V1 Client - Class Credentials (1.3.0)

1.3.0 (latest) 1.2.2 1.1.4 1.0.0 0.5.6 0.4.0 0.3.3 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class Credentials.

Credentials for a private cloud.

Generated from protobuf message `google.cloud.vmwareengine.v1.Credentials`

## Namespace

Google \\ Cloud \\ VmwareEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ username` | `string` Initial username. |
| `↳ password` | `string` Initial password. |

### getUsername

Initial username.

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

### setUsername

Initial username.

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

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

### getPassword

Initial password.

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

### setPassword

Initial password.

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

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