# Anthos Multi-Cloud v1 API - Class AttachedClusters.AttachedClustersBase (2.10.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.10.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.9.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.9.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.8.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.AttachedClusters.AttachedClustersBase)

    [BindServiceMethod(typeof(AttachedClusters), "BindService")]
    public abstract class AttachedClusters.AttachedClustersBase

Reference documentation and code samples for the Anthos Multi-Cloud v1 API class AttachedClusters.AttachedClustersBase.

Base class for server-side implementations of AttachedClusters

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AttachedClusters.AttachedClustersBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GkeMultiCloud.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)

## Assembly

Google.Cloud.GkeMultiCloud.V1.dll

## Methods

### CreateAttachedCluster(CreateAttachedClusterRequest, ServerCallContext)

    public virtual Task<Operation> CreateAttachedCluster(CreateAttachedClusterRequest request, ServerCallContext context)

Creates a new
\[AttachedCluster\]\[google.cloud.gkemulticloud.v1.AttachedCluster\] resource
on a given Google Cloud Platform project and region.

If successful, the response contains a newly created
\[Operation\]\[google.longrunning.Operation\] resource that can be
described to track the status of the operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CreateAttachedClusterRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### DeleteAttachedCluster(DeleteAttachedClusterRequest, ServerCallContext)

    public virtual Task<Operation> DeleteAttachedCluster(DeleteAttachedClusterRequest request, ServerCallContext context)

Deletes a specific
\[AttachedCluster\]\[google.cloud.gkemulticloud.v1.AttachedCluster\] resource.

If successful, the response contains a newly created
\[Operation\]\[google.longrunning.Operation\] resource that can be
described to track the status of the operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.DeleteAttachedClusterRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest, ServerCallContext)

    public virtual Task<GenerateAttachedClusterAgentTokenResponse> GenerateAttachedClusterAgentToken(GenerateAttachedClusterAgentTokenRequest request, ServerCallContext context)

Generates an access token for a cluster agent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAttachedClusterAgentTokenRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAttachedClusterAgentTokenResponse` | The response to send back to the client (wrapped by a task). |

### GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest, ServerCallContext)

    public virtual Task<GenerateAttachedClusterInstallManifestResponse> GenerateAttachedClusterInstallManifest(GenerateAttachedClusterInstallManifestRequest request, ServerCallContext context)

Generates the install manifest to be installed on the target cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAttachedClusterInstallManifestRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GenerateAttachedClusterInstallManifestResponse` | The response to send back to the client (wrapped by a task). |

### GetAttachedCluster(GetAttachedClusterRequest, ServerCallContext)

    public virtual Task<AttachedCluster> GetAttachedCluster(GetAttachedClusterRequest request, ServerCallContext context)

Describes a specific
\[AttachedCluster\]\[google.cloud.gkemulticloud.v1.AttachedCluster\] resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GetAttachedClusterRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedCluster` | The response to send back to the client (wrapped by a task). |

### GetAttachedServerConfig(GetAttachedServerConfigRequest, ServerCallContext)

    public virtual Task<AttachedServerConfig> GetAttachedServerConfig(GetAttachedServerConfigRequest request, ServerCallContext context)

Returns information, such as supported Kubernetes versions, on a given
Google Cloud location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.GetAttachedServerConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.AttachedServerConfig` | The response to send back to the client (wrapped by a task). |

### ImportAttachedCluster(ImportAttachedClusterRequest, ServerCallContext)

    public virtual Task<Operation> ImportAttachedCluster(ImportAttachedClusterRequest request, ServerCallContext context)

Imports creates a new
\[AttachedCluster\]\[google.cloud.gkemulticloud.v1.AttachedCluster\] resource
by importing an existing Fleet Membership resource.

Attached Clusters created before the introduction of the Anthos Multi-Cloud
API can be imported through this method.

If successful, the response contains a newly created
\[Operation\]\[google.longrunning.Operation\] resource that can be
described to track the status of the operation.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.ImportAttachedClusterRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |

### ListAttachedClusters(ListAttachedClustersRequest, ServerCallContext)

    public virtual Task<ListAttachedClustersResponse> ListAttachedClusters(ListAttachedClustersRequest request, ServerCallContext context)

Lists all \[AttachedCluster\]\[google.cloud.gkemulticloud.v1.AttachedCluster\]
resources on a given Google Cloud project and region.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.ListAttachedClustersRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.ListAttachedClustersResponse` | The response to send back to the client (wrapped by a task). |

### UpdateAttachedCluster(UpdateAttachedClusterRequest, ServerCallContext)

    public virtual Task<Operation> UpdateAttachedCluster(UpdateAttachedClusterRequest request, ServerCallContext context)

Updates an
\[AttachedCluster\]\[google.cloud.gkemulticloud.v1.AttachedCluster\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.UpdateAttachedClusterRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation.html` | The response to send back to the client (wrapped by a task). |