# Google Cloud Vm Migration V1 Client - Class ClientSecretCredentials (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ClientSecretCredentials.

Message describing Azure Credentials using tenant ID, client ID and secret.

Generated from protobuf message `google.cloud.vmmigration.v1.AzureSourceDetails.ClientSecretCredentials`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1 \\ AzureSourceDetails

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tenant_id` | `string` Azure tenant ID. |
| `↳ client_id` | `string` Azure client ID. |
| `↳ client_secret` | `string` Input only. Azure client secret. |

### getTenantId

Azure tenant ID.

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

### setTenantId

Azure tenant ID.

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

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

### getClientId

Azure client ID.

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

### setClientId

Azure client ID.

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

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

### getClientSecret

Input only. Azure client secret.

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

### setClientSecret

Input only. Azure client secret.

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

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