# Connect Gateway v1 API - Class GatewayControl.GatewayControlBase (1.1.0)

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

- [1.1.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeConnect.Gateway.V1/latest/Google.Cloud.GkeConnect.Gateway.V1.GatewayControl.GatewayControlBase)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeConnect.Gateway.V1/1.0.0/Google.Cloud.GkeConnect.Gateway.V1.GatewayControl.GatewayControlBase)

    [BindServiceMethod(typeof(GatewayControl), "BindService")]
    public abstract class GatewayControl.GatewayControlBase

Reference documentation and code samples for the Connect Gateway v1 API class GatewayControl.GatewayControlBase.

Base class for server-side implementations of GatewayControl

## Inheritance

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

## 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.GkeConnect.Gateway.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeConnect.Gateway.V1/latest/Google.Cloud.GkeConnect.Gateway.V1)

## Assembly

Google.Cloud.GkeConnect.Gateway.V1.dll

## Methods

### GenerateCredentials(GenerateCredentialsRequest, ServerCallContext)

    public virtual Task<GenerateCredentialsResponse> GenerateCredentials(GenerateCredentialsRequest request, ServerCallContext context)

GenerateCredentials provides connection information that allows a user to
access the specified membership using Connect Gateway.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeConnect.Gateway.V1/latest/Google.Cloud.GkeConnect.Gateway.V1.GenerateCredentialsRequest` 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.GkeConnect.Gateway.V1/latest/Google.Cloud.GkeConnect.Gateway.V1.GenerateCredentialsResponse` | The response to send back to the client (wrapped by a task). |