2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

    [BindServiceMethod(typeof(ConnectionService), "BindService")]
    public abstract class ConnectionService.ConnectionServiceBase

Reference documentation and code samples for the BigQuery Connection v1 API class ConnectionService.ConnectionServiceBase.

Base class for server-side implementations of ConnectionService

## Inheritance

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

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

## Assembly

Google.Cloud.BigQuery.Connection.V1.dll

## Methods

### CreateConnection(CreateConnectionRequest, ServerCallContext)

    public virtual Task<Connection> CreateConnection(CreateConnectionRequest request, ServerCallContext context)

Creates a new connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateConnectionRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConnection` | The response to send back to the client (wrapped by a task). |

### DeleteConnection(DeleteConnectionRequest, ServerCallContext)

    public virtual Task<Empty> DeleteConnection(DeleteConnectionRequest request, ServerCallContext context)

Deletes connection and associated credential.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteConnectionRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskEmpty` | The response to send back to the client (wrapped by a task). |

### GetConnection(GetConnectionRequest, ServerCallContext)

    public virtual Task<Connection> GetConnection(GetConnectionRequest request, ServerCallContext context)

Returns specified connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetConnectionRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConnection` | The response to send back to the client (wrapped by a task). |

### GetIamPolicy(GetIamPolicyRequest, ServerCallContext)

    public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)

Gets the access control policy for a resource.
Returns an empty policy if the resource exists and does not have a policy
set.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetIamPolicyRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskPolicy` | The response to send back to the client (wrapped by a task). |

### ListConnections(ListConnectionsRequest, ServerCallContext)

    public virtual Task<ListConnectionsResponse> ListConnections(ListConnectionsRequest request, ServerCallContext context)

Returns a list of connections in the given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListConnectionsRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskListConnectionsResponse` | The response to send back to the client (wrapped by a task). |

### SetIamPolicy(SetIamPolicyRequest, ServerCallContext)

    public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)

Sets the access control policy on the specified resource. Replaces any
existing policy.

Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `SetIamPolicyRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskPolicy` | The response to send back to the client (wrapped by a task). |

### TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)

    public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.
If the resource does not exist, this will return an empty set of
permissions, not a `NOT_FOUND` error.

Note: This operation is designed to be used for building permission-aware
UIs and command-line tools, not for authorization checking. This operation
may "fail open" without warning.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `TestIamPermissionsRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskTestIamPermissionsResponse` | The response to send back to the client (wrapped by a task). |

### UpdateConnection(UpdateConnectionRequest, ServerCallContext)

    public virtual Task<Connection> UpdateConnection(UpdateConnectionRequest request, ServerCallContext context)

Updates the specified connection. For security reasons, also resets
credential if connection properties are in the update field mask.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateConnectionRequest` The request received from the client. |
| `context` | `ServerCallContext` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `TaskConnection` | The response to send back to the client (wrapped by a task). |