1.4.0 (latest) 1.3.4 1.2.3 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class Settings.

Describes the Migration Center settings related to the project.

Generated from protobuf message `google.cloud.migrationcenter.v1.Settings`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The name of the resource. |
| `↳ preference_set` | `string` The preference set used by default for a project. |

### getName

Output only. The name of the resource.

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

### setName

Output only. The name of the resource.

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

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

### getPreferenceSet

The preference set used by default for a project.

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

### setPreferenceSet

The preference set used by default for a project.

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

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