# Google Anthos Multi Cloud V1 Client - Class GetAttachedServerConfigRequest (1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.2 1.1.2 1.0.0 0.6.1 0.5.4 0.4.4 0.3.0 0.2.3 0.1.4 Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class GetAttachedServerConfigRequest.

GetAttachedServerConfigRequest gets the server config for attached
clusters.

Generated from protobuf message `google.cloud.gkemulticloud.v1.GetAttachedServerConfigRequest`

## Namespace

Google \\ Cloud \\ GkeMultiCloud \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the [AttachedServerConfig](https://docs.cloud.google.com/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AttachedServerConfig) resource to describe. `AttachedServerConfig` names are formatted as `projects/<project-id>/locations/<region>/attachedServerConfig`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

### getName

Required. The name of the
[AttachedServerConfig](https://docs.cloud.google.com/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AttachedServerConfig)
resource to describe.

`AttachedServerConfig` names are formatted as
`projects/<project-id>/locations/<region>/attachedServerConfig`.
See [Resource Names](https://cloud.google.com/apis/design/resource_names)
for more details on Google Cloud resource names.

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

### setName

Required. The name of the
[AttachedServerConfig](https://docs.cloud.google.com/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AttachedServerConfig)
resource to describe.

`AttachedServerConfig` names are formatted as
`projects/<project-id>/locations/<region>/attachedServerConfig`.
See [Resource Names](https://cloud.google.com/apis/design/resource_names)
for more details on Google Cloud resource names.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the [AttachedServerConfig](https://docs.cloud.google.com/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AttachedServerConfig) resource to describe. `AttachedServerConfig` names are formatted as `projects/<project-id>/locations/<region>/attachedServerConfig`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. Please see AttachedClustersClient::attachedServerConfigName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-gke-multi-cloud/latest/V1.GetAttachedServerConfigRequest` |   |