# Developer Connect v1 API - Class DeveloperConnectClient (1.0.0-beta04)

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

- [1.0.0-beta04 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/1.0.0-beta03/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient)

    public abstract class DeveloperConnectClient

Reference documentation and code samples for the Developer Connect v1 API class DeveloperConnectClient.

DeveloperConnect client wrapper, for convenient use.

## Inheritance

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

## 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)

## Derived Types

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

## Namespace

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

## Assembly

Google.Cloud.DeveloperConnect.V1.dll

## Remarks

Service describing handlers for resources

## Properties

### CreateAccountConnectorOperationsClient

    public virtual OperationsClient CreateAccountConnectorOperationsClient { get; }

The long-running operations client for `CreateAccountConnector`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateConnectionOperationsClient

    public virtual OperationsClient CreateConnectionOperationsClient { get; }

The long-running operations client for `CreateConnection`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### CreateGitRepositoryLinkOperationsClient

    public virtual OperationsClient CreateGitRepositoryLinkOperationsClient { get; }

The long-running operations client for `CreateGitRepositoryLink`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the DeveloperConnect service, which is a host of "developerconnect.googleapis.com"
and a port of 443.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default DeveloperConnect scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** The default DeveloperConnect scopes are:

- <https://www.googleapis.com/auth/cloud-platform>

<br />

### DeleteAccountConnectorOperationsClient

    public virtual OperationsClient DeleteAccountConnectorOperationsClient { get; }

The long-running operations client for `DeleteAccountConnector`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteConnectionOperationsClient

    public virtual OperationsClient DeleteConnectionOperationsClient { get; }

The long-running operations client for `DeleteConnection`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteGitRepositoryLinkOperationsClient

    public virtual OperationsClient DeleteGitRepositoryLinkOperationsClient { get; }

The long-running operations client for `DeleteGitRepositoryLink`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteSelfOperationsClient

    public virtual OperationsClient DeleteSelfOperationsClient { get; }

The long-running operations client for `DeleteSelf`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### DeleteUserOperationsClient

    public virtual OperationsClient DeleteUserOperationsClient { get; }

The long-running operations client for `DeleteUser`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### GrpcClient

    public virtual DeveloperConnect.DeveloperConnectClient GrpcClient { get; }

The underlying gRPC DeveloperConnect client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnecthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnect.DeveloperConnectClient` |   |

### LocationsClient

    public virtual LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

### UpdateAccountConnectorOperationsClient

    public virtual OperationsClient UpdateAccountConnectorOperationsClient { get; }

The long-running operations client for `UpdateAccountConnector`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

### UpdateConnectionOperationsClient

    public virtual OperationsClient UpdateConnectionOperationsClient { get; }

The long-running operations client for `UpdateConnection`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

## Methods

### Create()

    public static DeveloperConnectClient Create()

Synchronously creates a [DeveloperConnectClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [DeveloperConnectClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient` | The created [DeveloperConnectClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient). |

### CreateAccountConnector(LocationName, AccountConnector, string, CallSettings)

    public virtual Operation<AccountConnector, OperationMetadata> CreateAccountConnector(LocationName parent, AccountConnector accountConnector, string accountConnectorId, CallSettings callSettings = null)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Location resource name as the account_connector's parent. |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to create. |
| `accountConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to <https://google.aip.dev/122#resource-id-segments> Names must be unique per-project per-location. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    AccountConnector accountConnector = new AccountConnector();
    string accountConnectorId = "";
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = developerConnectClient.CreateAccountConnector(parent, accountConnector, accountConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnector(CreateAccountConnectorRequest, CallSettings)

    public virtual Operation<AccountConnector, OperationMetadata> CreateAccountConnector(CreateAccountConnectorRequest request, CallSettings callSettings = null)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    CreateAccountConnectorRequest request = new CreateAccountConnectorRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        AccountConnectorId = "",
        AccountConnector = new AccountConnector(),
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = developerConnectClient.CreateAccountConnector(request);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnector(string, AccountConnector, string, CallSettings)

    public virtual Operation<AccountConnector, OperationMetadata> CreateAccountConnector(string parent, AccountConnector accountConnector, string accountConnectorId, CallSettings callSettings = null)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Location resource name as the account_connector's parent. |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to create. |
| `accountConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to <https://google.aip.dev/122#resource-id-segments> Names must be unique per-project per-location. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    AccountConnector accountConnector = new AccountConnector();
    string accountConnectorId = "";
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = developerConnectClient.CreateAccountConnector(parent, accountConnector, accountConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnectorAsync(LocationName, AccountConnector, string, CallSettings)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> CreateAccountConnectorAsync(LocationName parent, AccountConnector accountConnector, string accountConnectorId, CallSettings callSettings = null)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Location resource name as the account_connector's parent. |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to create. |
| `accountConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to <https://google.aip.dev/122#resource-id-segments> Names must be unique per-project per-location. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    AccountConnector accountConnector = new AccountConnector();
    string accountConnectorId = "";
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.CreateAccountConnectorAsync(parent, accountConnector, accountConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnectorAsync(LocationName, AccountConnector, string, CancellationToken)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> CreateAccountConnectorAsync(LocationName parent, AccountConnector accountConnector, string accountConnectorId, CancellationToken cancellationToken)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Location resource name as the account_connector's parent. |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to create. |
| `accountConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to <https://google.aip.dev/122#resource-id-segments> Names must be unique per-project per-location. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    AccountConnector accountConnector = new AccountConnector();
    string accountConnectorId = "";
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.CreateAccountConnectorAsync(parent, accountConnector, accountConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnectorAsync(CreateAccountConnectorRequest, CallSettings)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> CreateAccountConnectorAsync(CreateAccountConnectorRequest request, CallSettings callSettings = null)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    CreateAccountConnectorRequest request = new CreateAccountConnectorRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        AccountConnectorId = "",
        AccountConnector = new AccountConnector(),
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.CreateAccountConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnectorAsync(CreateAccountConnectorRequest, CancellationToken)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> CreateAccountConnectorAsync(CreateAccountConnectorRequest request, CancellationToken cancellationToken)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    CreateAccountConnectorRequest request = new CreateAccountConnectorRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        AccountConnectorId = "",
        AccountConnector = new AccountConnector(),
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.CreateAccountConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnectorAsync(string, AccountConnector, string, CallSettings)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> CreateAccountConnectorAsync(string parent, AccountConnector accountConnector, string accountConnectorId, CallSettings callSettings = null)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Location resource name as the account_connector's parent. |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to create. |
| `accountConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to <https://google.aip.dev/122#resource-id-segments> Names must be unique per-project per-location. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    AccountConnector accountConnector = new AccountConnector();
    string accountConnectorId = "";
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.CreateAccountConnectorAsync(parent, accountConnector, accountConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAccountConnectorAsync(string, AccountConnector, string, CancellationToken)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> CreateAccountConnectorAsync(string parent, AccountConnector accountConnector, string accountConnectorId, CancellationToken cancellationToken)

Creates a new AccountConnector in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Location resource name as the account_connector's parent. |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to create. |
| `accountConnectorId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the AccountConnector, which will become the final component of the AccountConnector's resource name. Its format should adhere to <https://google.aip.dev/122#resource-id-segments> Names must be unique per-project per-location. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    AccountConnector accountConnector = new AccountConnector();
    string accountConnectorId = "";
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.CreateAccountConnectorAsync(parent, accountConnector, accountConnectorId);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### CreateAsync(CancellationToken)

    public static Task<DeveloperConnectClient> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [DeveloperConnectClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [DeveloperConnectClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient` | The task representing the created [DeveloperConnectClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient). |

### CreateConnection(LocationName, Connection, string, CallSettings)

    public virtual Operation<Connection, OperationMetadata> CreateConnection(LocationName parent, Connection connection, string connectionId, CallSettings callSettings = null)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Value for parent. |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being created |
| `connectionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Connection connection = new Connection();
    string connectionId = "";
    // Make the request
    Operation<Connection, OperationMetadata> response = developerConnectClient.CreateConnection(parent, connection, connectionId);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnection(CreateConnectionRequest, CallSettings)

    public virtual Operation<Connection, OperationMetadata> CreateConnection(CreateConnectionRequest request, CallSettings callSettings = null)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    CreateConnectionRequest request = new CreateConnectionRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        ConnectionId = "",
        Connection = new Connection(),
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<Connection, OperationMetadata> response = developerConnectClient.CreateConnection(request);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnection(string, Connection, string, CallSettings)

    public virtual Operation<Connection, OperationMetadata> CreateConnection(string parent, Connection connection, string connectionId, CallSettings callSettings = null)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Value for parent. |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being created |
| `connectionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Connection connection = new Connection();
    string connectionId = "";
    // Make the request
    Operation<Connection, OperationMetadata> response = developerConnectClient.CreateConnection(parent, connection, connectionId);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnectionAsync(LocationName, Connection, string, CallSettings)

    public virtual Task<Operation<Connection, OperationMetadata>> CreateConnectionAsync(LocationName parent, Connection connection, string connectionId, CallSettings callSettings = null)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Value for parent. |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being created |
| `connectionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Connection connection = new Connection();
    string connectionId = "";
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.CreateConnectionAsync(parent, connection, connectionId);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnectionAsync(LocationName, Connection, string, CancellationToken)

    public virtual Task<Operation<Connection, OperationMetadata>> CreateConnectionAsync(LocationName parent, Connection connection, string connectionId, CancellationToken cancellationToken)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Value for parent. |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being created |
| `connectionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    Connection connection = new Connection();
    string connectionId = "";
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.CreateConnectionAsync(parent, connection, connectionId);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnectionAsync(CreateConnectionRequest, CallSettings)

    public virtual Task<Operation<Connection, OperationMetadata>> CreateConnectionAsync(CreateConnectionRequest request, CallSettings callSettings = null)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    CreateConnectionRequest request = new CreateConnectionRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        ConnectionId = "",
        Connection = new Connection(),
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.CreateConnectionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnectionAsync(CreateConnectionRequest, CancellationToken)

    public virtual Task<Operation<Connection, OperationMetadata>> CreateConnectionAsync(CreateConnectionRequest request, CancellationToken cancellationToken)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateConnectionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    CreateConnectionRequest request = new CreateConnectionRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        ConnectionId = "",
        Connection = new Connection(),
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.CreateConnectionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnectionAsync(string, Connection, string, CallSettings)

    public virtual Task<Operation<Connection, OperationMetadata>> CreateConnectionAsync(string parent, Connection connection, string connectionId, CallSettings callSettings = null)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Value for parent. |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being created |
| `connectionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Connection connection = new Connection();
    string connectionId = "";
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.CreateConnectionAsync(parent, connection, connectionId);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateConnectionAsync(string, Connection, string, CancellationToken)

    public virtual Task<Operation<Connection, OperationMetadata>> CreateConnectionAsync(string parent, Connection connection, string connectionId, CancellationToken cancellationToken)

Creates a new Connection in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Value for parent. |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being created |
| `connectionId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Id of the requesting object If auto-generating Id server-side, remove this field and connection_id from the method_signature of Create RPC |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    Connection connection = new Connection();
    string connectionId = "";
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.CreateConnectionAsync(parent, connection, connectionId);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLink(ConnectionName, GitRepositoryLink, string, CallSettings)

    public virtual Operation<GitRepositoryLink, OperationMetadata> CreateGitRepositoryLink(ConnectionName parent, GitRepositoryLink gitRepositoryLink, string gitRepositoryLinkId, CallSettings callSettings = null)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Value for parent. |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` Required. The resource being created |
| `gitRepositoryLinkId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._\~%!$\&amp;'()\*+,;=@. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ConnectionName parent = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    GitRepositoryLink gitRepositoryLink = new GitRepositoryLink();
    string gitRepositoryLinkId = "";
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = developerConnectClient.CreateGitRepositoryLink(parent, gitRepositoryLink, gitRepositoryLinkId);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateGitRepositoryLink(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLink(CreateGitRepositoryLinkRequest, CallSettings)

    public virtual Operation<GitRepositoryLink, OperationMetadata> CreateGitRepositoryLink(CreateGitRepositoryLinkRequest request, CallSettings callSettings = null)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    CreateGitRepositoryLinkRequest request = new CreateGitRepositoryLinkRequest
    {
        ParentAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        GitRepositoryLink = new GitRepositoryLink(),
        GitRepositoryLinkId = "",
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = developerConnectClient.CreateGitRepositoryLink(request);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateGitRepositoryLink(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLink(string, GitRepositoryLink, string, CallSettings)

    public virtual Operation<GitRepositoryLink, OperationMetadata> CreateGitRepositoryLink(string parent, GitRepositoryLink gitRepositoryLink, string gitRepositoryLinkId, CallSettings callSettings = null)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Value for parent. |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` Required. The resource being created |
| `gitRepositoryLinkId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._\~%!$\&amp;'()\*+,;=@. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    GitRepositoryLink gitRepositoryLink = new GitRepositoryLink();
    string gitRepositoryLinkId = "";
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = developerConnectClient.CreateGitRepositoryLink(parent, gitRepositoryLink, gitRepositoryLinkId);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceCreateGitRepositoryLink(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLinkAsync(ConnectionName, GitRepositoryLink, string, CallSettings)

    public virtual Task<Operation<GitRepositoryLink, OperationMetadata>> CreateGitRepositoryLinkAsync(ConnectionName parent, GitRepositoryLink gitRepositoryLink, string gitRepositoryLinkId, CallSettings callSettings = null)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Value for parent. |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` Required. The resource being created |
| `gitRepositoryLinkId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._\~%!$\&amp;'()\*+,;=@. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName parent = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    GitRepositoryLink gitRepositoryLink = new GitRepositoryLink();
    string gitRepositoryLinkId = "";
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = await developerConnectClient.CreateGitRepositoryLinkAsync(parent, gitRepositoryLink, gitRepositoryLinkId);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLinkAsync(ConnectionName, GitRepositoryLink, string, CancellationToken)

    public virtual Task<Operation<GitRepositoryLink, OperationMetadata>> CreateGitRepositoryLinkAsync(ConnectionName parent, GitRepositoryLink gitRepositoryLink, string gitRepositoryLinkId, CancellationToken cancellationToken)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Value for parent. |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` Required. The resource being created |
| `gitRepositoryLinkId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._\~%!$\&amp;'()\*+,;=@. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName parent = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    GitRepositoryLink gitRepositoryLink = new GitRepositoryLink();
    string gitRepositoryLinkId = "";
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = await developerConnectClient.CreateGitRepositoryLinkAsync(parent, gitRepositoryLink, gitRepositoryLinkId);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest, CallSettings)

    public virtual Task<Operation<GitRepositoryLink, OperationMetadata>> CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest request, CallSettings callSettings = null)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    CreateGitRepositoryLinkRequest request = new CreateGitRepositoryLinkRequest
    {
        ParentAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        GitRepositoryLink = new GitRepositoryLink(),
        GitRepositoryLinkId = "",
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = await developerConnectClient.CreateGitRepositoryLinkAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest, CancellationToken)

    public virtual Task<Operation<GitRepositoryLink, OperationMetadata>> CreateGitRepositoryLinkAsync(CreateGitRepositoryLinkRequest request, CancellationToken cancellationToken)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.CreateGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    CreateGitRepositoryLinkRequest request = new CreateGitRepositoryLinkRequest
    {
        ParentAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        GitRepositoryLink = new GitRepositoryLink(),
        GitRepositoryLinkId = "",
        RequestId = "",
        ValidateOnly = false,
    };
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = await developerConnectClient.CreateGitRepositoryLinkAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLinkAsync(string, GitRepositoryLink, string, CallSettings)

    public virtual Task<Operation<GitRepositoryLink, OperationMetadata>> CreateGitRepositoryLinkAsync(string parent, GitRepositoryLink gitRepositoryLink, string gitRepositoryLinkId, CallSettings callSettings = null)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Value for parent. |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` Required. The resource being created |
| `gitRepositoryLinkId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._\~%!$\&amp;'()\*+,;=@. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    GitRepositoryLink gitRepositoryLink = new GitRepositoryLink();
    string gitRepositoryLinkId = "";
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = await developerConnectClient.CreateGitRepositoryLinkAsync(parent, gitRepositoryLink, gitRepositoryLinkId);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### CreateGitRepositoryLinkAsync(string, GitRepositoryLink, string, CancellationToken)

    public virtual Task<Operation<GitRepositoryLink, OperationMetadata>> CreateGitRepositoryLinkAsync(string parent, GitRepositoryLink gitRepositoryLink, string gitRepositoryLinkId, CancellationToken cancellationToken)

Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. Connections that use Gemini
Code Assist will have events forwarded to Gemini Code Assist service. All
other Connections will have events forwarded to Cloud Build.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Value for parent. |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` Required. The resource being created |
| `gitRepositoryLinkId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The ID to use for the repository, which will become the final component of the repository's resource name. This ID should be unique in the connection. Allows alphanumeric characters and any of -._\~%!$\&amp;'()\*+,;=@. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    GitRepositoryLink gitRepositoryLink = new GitRepositoryLink();
    string gitRepositoryLinkId = "";
    // Make the request
    Operation<GitRepositoryLink, OperationMetadata> response = await developerConnectClient.CreateGitRepositoryLinkAsync(parent, gitRepositoryLink, gitRepositoryLinkId);

    // Poll until the returned long-running operation is complete
    Operation<GitRepositoryLink, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    GitRepositoryLink result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<GitRepositoryLink, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceCreateGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        GitRepositoryLink retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnector(AccountConnectorName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAccountConnector(AccountConnectorName name, CallSettings callSettings = null)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteAccountConnector(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnector(DeleteAccountConnectorRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAccountConnector(DeleteAccountConnectorRequest request, CallSettings callSettings = null)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    DeleteAccountConnectorRequest request = new DeleteAccountConnectorRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
        Force = false,
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteAccountConnector(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnector(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteAccountConnector(string name, CallSettings callSettings = null)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteAccountConnector(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnectorAsync(AccountConnectorName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAccountConnectorAsync(AccountConnectorName name, CallSettings callSettings = null)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteAccountConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnectorAsync(AccountConnectorName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAccountConnectorAsync(AccountConnectorName name, CancellationToken cancellationToken)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteAccountConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnectorAsync(DeleteAccountConnectorRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAccountConnectorAsync(DeleteAccountConnectorRequest request, CallSettings callSettings = null)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteAccountConnectorRequest request = new DeleteAccountConnectorRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
        Force = false,
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteAccountConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnectorAsync(DeleteAccountConnectorRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAccountConnectorAsync(DeleteAccountConnectorRequest request, CancellationToken cancellationToken)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteAccountConnectorRequest request = new DeleteAccountConnectorRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
        Force = false,
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteAccountConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnectorAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAccountConnectorAsync(string name, CallSettings callSettings = null)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteAccountConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteAccountConnectorAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteAccountConnectorAsync(string name, CancellationToken cancellationToken)

Deletes a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteAccountConnectorAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnection(ConnectionName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteConnection(ConnectionName name, CallSettings callSettings = null)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ConnectionName name = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteConnection(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnection(DeleteConnectionRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteConnection(DeleteConnectionRequest request, CallSettings callSettings = null)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    DeleteConnectionRequest request = new DeleteConnectionRequest
    {
        ConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteConnection(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnection(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteConnection(string name, CallSettings callSettings = null)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteConnection(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnectionAsync(ConnectionName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteConnectionAsync(ConnectionName name, CallSettings callSettings = null)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName name = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteConnectionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnectionAsync(ConnectionName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteConnectionAsync(ConnectionName name, CancellationToken cancellationToken)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName name = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteConnectionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnectionAsync(DeleteConnectionRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteConnectionAsync(DeleteConnectionRequest request, CallSettings callSettings = null)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteConnectionRequest request = new DeleteConnectionRequest
    {
        ConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteConnectionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnectionAsync(DeleteConnectionRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteConnectionAsync(DeleteConnectionRequest request, CancellationToken cancellationToken)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteConnectionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteConnectionRequest request = new DeleteConnectionRequest
    {
        ConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteConnectionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnectionAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteConnectionAsync(string name, CallSettings callSettings = null)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteConnectionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteConnectionAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteConnectionAsync(string name, CancellationToken cancellationToken)

Deletes a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteConnectionAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request, CallSettings callSettings = null)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    DeleteGitRepositoryLinkRequest request = new DeleteGitRepositoryLinkRequest
    {
        GitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteGitRepositoryLink(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteGitRepositoryLink(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLink(GitRepositoryLinkName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteGitRepositoryLink(GitRepositoryLinkName name, CallSettings callSettings = null)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GitRepositoryLinkName name = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteGitRepositoryLink(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteGitRepositoryLink(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLink(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteGitRepositoryLink(string name, CallSettings callSettings = null)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteGitRepositoryLink(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteGitRepositoryLink(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest request, CallSettings callSettings = null)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteGitRepositoryLinkRequest request = new DeleteGitRepositoryLinkRequest
    {
        GitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteGitRepositoryLinkAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGitRepositoryLinkAsync(DeleteGitRepositoryLinkRequest request, CancellationToken cancellationToken)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteGitRepositoryLinkRequest request = new DeleteGitRepositoryLinkRequest
    {
        GitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteGitRepositoryLinkAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLinkAsync(GitRepositoryLinkName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGitRepositoryLinkAsync(GitRepositoryLinkName name, CallSettings callSettings = null)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName name = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteGitRepositoryLinkAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLinkAsync(GitRepositoryLinkName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGitRepositoryLinkAsync(GitRepositoryLinkName name, CancellationToken cancellationToken)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName name = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteGitRepositoryLinkAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLinkAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGitRepositoryLinkAsync(string name, CallSettings callSettings = null)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteGitRepositoryLinkAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteGitRepositoryLinkAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteGitRepositoryLinkAsync(string name, CancellationToken cancellationToken)

Deletes a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteGitRepositoryLinkAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteGitRepositoryLinkAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelf(AccountConnectorName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteSelf(AccountConnectorName name, CallSettings callSettings = null)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteSelf(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteSelf(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelf(DeleteSelfRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteSelf(DeleteSelfRequest request, CallSettings callSettings = null)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteSelfRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    DeleteSelfRequest request = new DeleteSelfRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteSelf(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteSelf(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelf(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteSelf(string name, CallSettings callSettings = null)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteSelf(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteSelf(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelfAsync(AccountConnectorName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSelfAsync(AccountConnectorName name, CallSettings callSettings = null)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteSelfAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteSelfAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelfAsync(AccountConnectorName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSelfAsync(AccountConnectorName name, CancellationToken cancellationToken)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the AccountConnector resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteSelfAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteSelfAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelfAsync(DeleteSelfRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSelfAsync(DeleteSelfRequest request, CallSettings callSettings = null)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteSelfRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteSelfRequest request = new DeleteSelfRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteSelfAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteSelfAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelfAsync(DeleteSelfRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSelfAsync(DeleteSelfRequest request, CancellationToken cancellationToken)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteSelfRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteSelfRequest request = new DeleteSelfRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteSelfAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteSelfAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelfAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSelfAsync(string name, CallSettings callSettings = null)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteSelfAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteSelfAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteSelfAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteSelfAsync(string name, CancellationToken cancellationToken)

Delete the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the AccountConnector resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteSelfAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteSelfAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUser(DeleteUserRequest, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteUser(DeleteUserRequest request, CallSettings callSettings = null)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteUserRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    DeleteUserRequest request = new DeleteUserRequest
    {
        UserName = UserName.FromProjectLocationAccountConnectorUser("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]", "[USER]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteUser(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteUser(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUser(UserName, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteUser(UserName name, CallSettings callSettings = null)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UserName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    UserName name = UserName.FromProjectLocationAccountConnectorUser("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]", "[USER]");
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteUser(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteUser(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUser(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> DeleteUser(string name, CallSettings callSettings = null)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]/users/[USER]";
    // Make the request
    Operation<Empty, OperationMetadata> response = developerConnectClient.DeleteUser(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceDeleteUser(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUserAsync(DeleteUserRequest, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUserAsync(DeleteUserRequest request, CallSettings callSettings = null)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteUserRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteUserRequest request = new DeleteUserRequest
    {
        UserName = UserName.FromProjectLocationAccountConnectorUser("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]", "[USER]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteUserAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteUserAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUserAsync(DeleteUserRequest, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUserAsync(DeleteUserRequest request, CancellationToken cancellationToken)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeleteUserRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    DeleteUserRequest request = new DeleteUserRequest
    {
        UserName = UserName.FromProjectLocationAccountConnectorUser("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]", "[USER]"),
        RequestId = "",
        ValidateOnly = false,
        Etag = "",
    };
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteUserAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteUserAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUserAsync(UserName, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUserAsync(UserName name, CallSettings callSettings = null)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UserName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    UserName name = UserName.FromProjectLocationAccountConnectorUser("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]", "[USER]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteUserAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteUserAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUserAsync(UserName, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUserAsync(UserName name, CancellationToken cancellationToken)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UserName` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    UserName name = UserName.FromProjectLocationAccountConnectorUser("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]", "[USER]");
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteUserAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteUserAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUserAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUserAsync(string name, CallSettings callSettings = null)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]/users/[USER]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteUserAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteUserAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### DeleteUserAsync(string, CancellationToken)

    public virtual Task<Operation<Empty, OperationMetadata>> DeleteUserAsync(string name, CancellationToken cancellationToken)

Deletes a single User.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]/users/[USER]";
    // Make the request
    Operation<Empty, OperationMetadata> response = await developerConnectClient.DeleteUserAsync(name);

    // Poll until the returned long-running operation is complete
    Operation<Empty, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Empty result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Empty, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceDeleteUserAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Empty retrievedResult = retrievedResponse.Result;
    }

### FetchAccessToken(AccountConnectorName, CallSettings)

    public virtual FetchAccessTokenResponse FetchAccessToken(AccountConnectorName accountConnector, CallSettings callSettings = null)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    FetchAccessTokenResponse response = developerConnectClient.FetchAccessToken(accountConnector);

### FetchAccessToken(FetchAccessTokenRequest, CallSettings)

    public virtual FetchAccessTokenResponse FetchAccessToken(FetchAccessTokenRequest request, CallSettings callSettings = null)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FetchAccessTokenRequest request = new FetchAccessTokenRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    FetchAccessTokenResponse response = developerConnectClient.FetchAccessToken(request);

### FetchAccessToken(string, CallSettings)

    public virtual FetchAccessTokenResponse FetchAccessToken(string accountConnector, CallSettings callSettings = null)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    FetchAccessTokenResponse response = developerConnectClient.FetchAccessToken(accountConnector);

### FetchAccessTokenAsync(AccountConnectorName, CallSettings)

    public virtual Task<FetchAccessTokenResponse> FetchAccessTokenAsync(AccountConnectorName accountConnector, CallSettings callSettings = null)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    FetchAccessTokenResponse response = await developerConnectClient.FetchAccessTokenAsync(accountConnector);

### FetchAccessTokenAsync(AccountConnectorName, CancellationToken)

    public virtual Task<FetchAccessTokenResponse> FetchAccessTokenAsync(AccountConnectorName accountConnector, CancellationToken cancellationToken)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    FetchAccessTokenResponse response = await developerConnectClient.FetchAccessTokenAsync(accountConnector);

### FetchAccessTokenAsync(FetchAccessTokenRequest, CallSettings)

    public virtual Task<FetchAccessTokenResponse> FetchAccessTokenAsync(FetchAccessTokenRequest request, CallSettings callSettings = null)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchAccessTokenRequest request = new FetchAccessTokenRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    FetchAccessTokenResponse response = await developerConnectClient.FetchAccessTokenAsync(request);

### FetchAccessTokenAsync(FetchAccessTokenRequest, CancellationToken)

    public virtual Task<FetchAccessTokenResponse> FetchAccessTokenAsync(FetchAccessTokenRequest request, CancellationToken cancellationToken)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchAccessTokenRequest request = new FetchAccessTokenRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    FetchAccessTokenResponse response = await developerConnectClient.FetchAccessTokenAsync(request);

### FetchAccessTokenAsync(string, CallSettings)

    public virtual Task<FetchAccessTokenResponse> FetchAccessTokenAsync(string accountConnector, CallSettings callSettings = null)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    FetchAccessTokenResponse response = await developerConnectClient.FetchAccessTokenAsync(accountConnector);

### FetchAccessTokenAsync(string, CancellationToken)

    public virtual Task<FetchAccessTokenResponse> FetchAccessTokenAsync(string accountConnector, CancellationToken cancellationToken)

Fetches OAuth access token based on end user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchAccessTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    FetchAccessTokenResponse response = await developerConnectClient.FetchAccessTokenAsync(accountConnector);

### FetchGitHubInstallations(ConnectionName, CallSettings)

    public virtual FetchGitHubInstallationsResponse FetchGitHubInstallations(ConnectionName connection, CallSettings callSettings = null)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ConnectionName connection = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    FetchGitHubInstallationsResponse response = developerConnectClient.FetchGitHubInstallations(connection);

### FetchGitHubInstallations(FetchGitHubInstallationsRequest, CallSettings)

    public virtual FetchGitHubInstallationsResponse FetchGitHubInstallations(FetchGitHubInstallationsRequest request, CallSettings callSettings = null)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FetchGitHubInstallationsRequest request = new FetchGitHubInstallationsRequest
    {
        ConnectionAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    FetchGitHubInstallationsResponse response = developerConnectClient.FetchGitHubInstallations(request);

### FetchGitHubInstallations(string, CallSettings)

    public virtual FetchGitHubInstallationsResponse FetchGitHubInstallations(string connection, CallSettings callSettings = null)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string connection = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    FetchGitHubInstallationsResponse response = developerConnectClient.FetchGitHubInstallations(connection);

### FetchGitHubInstallationsAsync(ConnectionName, CallSettings)

    public virtual Task<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(ConnectionName connection, CallSettings callSettings = null)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName connection = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    FetchGitHubInstallationsResponse response = await developerConnectClient.FetchGitHubInstallationsAsync(connection);

### FetchGitHubInstallationsAsync(ConnectionName, CancellationToken)

    public virtual Task<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(ConnectionName connection, CancellationToken cancellationToken)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName connection = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    FetchGitHubInstallationsResponse response = await developerConnectClient.FetchGitHubInstallationsAsync(connection);

### FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest, CallSettings)

    public virtual Task<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest request, CallSettings callSettings = null)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchGitHubInstallationsRequest request = new FetchGitHubInstallationsRequest
    {
        ConnectionAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    FetchGitHubInstallationsResponse response = await developerConnectClient.FetchGitHubInstallationsAsync(request);

### FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest, CancellationToken)

    public virtual Task<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(FetchGitHubInstallationsRequest request, CancellationToken cancellationToken)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchGitHubInstallationsRequest request = new FetchGitHubInstallationsRequest
    {
        ConnectionAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    FetchGitHubInstallationsResponse response = await developerConnectClient.FetchGitHubInstallationsAsync(request);

### FetchGitHubInstallationsAsync(string, CallSettings)

    public virtual Task<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(string connection, CallSettings callSettings = null)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string connection = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    FetchGitHubInstallationsResponse response = await developerConnectClient.FetchGitHubInstallationsAsync(connection);

### FetchGitHubInstallationsAsync(string, CancellationToken)

    public virtual Task<FetchGitHubInstallationsResponse> FetchGitHubInstallationsAsync(string connection, CancellationToken cancellationToken)

FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the connection in the format `projects/*/locations/*/connections/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitHubInstallationsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string connection = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    FetchGitHubInstallationsResponse response = await developerConnectClient.FetchGitHubInstallationsAsync(connection);

### FetchGitRefs(FetchGitRefsRequest, CallSettings)

    public virtual PagedEnumerable<FetchGitRefsResponse, string> FetchGitRefs(FetchGitRefsRequest request, CallSettings callSettings = null)

Fetch the list of branches or tags for a given repository.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FetchGitRefsRequest request = new FetchGitRefsRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
        RefType = FetchGitRefsRequest.Types.RefType.Unspecified,
    };
    // Make the request
    PagedEnumerable<FetchGitRefsResponse, string> response = developerConnectClient.FetchGitRefs(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (string item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchGitRefsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (string item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<string> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (string item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchGitRefs(GitRepositoryLinkName, RefType, string, int?, CallSettings)

    public virtual PagedEnumerable<FetchGitRefsResponse, string> FetchGitRefs(GitRepositoryLinkName gitRepositoryLink, FetchGitRefsRequest.Types.RefType refType, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Fetch the list of branches or tags for a given repository.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `refType` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Types.RefType` Required. Type of refs to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    FetchGitRefsRequest.Types.RefType refType = FetchGitRefsRequest.Types.RefType.Unspecified;
    // Make the request
    PagedEnumerable<FetchGitRefsResponse, string> response = developerConnectClient.FetchGitRefs(gitRepositoryLink, refType);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (string item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchGitRefsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (string item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<string> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (string item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchGitRefs(string, RefType, string, int?, CallSettings)

    public virtual PagedEnumerable<FetchGitRefsResponse, string> FetchGitRefs(string gitRepositoryLink, FetchGitRefsRequest.Types.RefType refType, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Fetch the list of branches or tags for a given repository.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `refType` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Types.RefType` Required. Type of refs to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    FetchGitRefsRequest.Types.RefType refType = FetchGitRefsRequest.Types.RefType.Unspecified;
    // Make the request
    PagedEnumerable<FetchGitRefsResponse, string> response = developerConnectClient.FetchGitRefs(gitRepositoryLink, refType);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (string item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchGitRefsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (string item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<string> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (string item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchGitRefsAsync(FetchGitRefsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<FetchGitRefsResponse, string> FetchGitRefsAsync(FetchGitRefsRequest request, CallSettings callSettings = null)

Fetch the list of branches or tags for a given repository.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable asynchronous sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchGitRefsRequest request = new FetchGitRefsRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
        RefType = FetchGitRefsRequest.Types.RefType.Unspecified,
    };
    // Make the request
    PagedAsyncEnumerable<FetchGitRefsResponse, string> response = developerConnectClient.FetchGitRefsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (string item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (FetchGitRefsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (string item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<string> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (string item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchGitRefsAsync(GitRepositoryLinkName, RefType, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<FetchGitRefsResponse, string> FetchGitRefsAsync(GitRepositoryLinkName gitRepositoryLink, FetchGitRefsRequest.Types.RefType refType, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Fetch the list of branches or tags for a given repository.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `refType` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Types.RefType` Required. Type of refs to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable asynchronous sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    FetchGitRefsRequest.Types.RefType refType = FetchGitRefsRequest.Types.RefType.Unspecified;
    // Make the request
    PagedAsyncEnumerable<FetchGitRefsResponse, string> response = developerConnectClient.FetchGitRefsAsync(gitRepositoryLink, refType);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (string item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (FetchGitRefsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (string item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<string> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (string item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchGitRefsAsync(string, RefType, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<FetchGitRefsResponse, string> FetchGitRefsAsync(string gitRepositoryLink, FetchGitRefsRequest.Types.RefType refType, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Fetch the list of branches or tags for a given repository.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of GitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `refType` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsRequest.Types.RefType` Required. Type of refs to fetch. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchGitRefsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable asynchronous sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    FetchGitRefsRequest.Types.RefType refType = FetchGitRefsRequest.Types.RefType.Unspecified;
    // Make the request
    PagedAsyncEnumerable<FetchGitRefsResponse, string> response = developerConnectClient.FetchGitRefsAsync(gitRepositoryLink, refType);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (string item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (FetchGitRefsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (string item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<string> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (string item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchLinkableGitRepositories(ConnectionName, string, int?, CallSettings)

    public virtual PagedEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> FetchLinkableGitRepositories(ConnectionName connection, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

FetchLinkableGitRepositories returns a list of git repositories from an SCM
that are available to be added to a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository` | A pageable sequence of [LinkableGitRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ConnectionName connection = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    PagedEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> response = developerConnectClient.FetchLinkableGitRepositories(connection);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (LinkableGitRepository item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchLinkableGitRepositoriesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LinkableGitRepository item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LinkableGitRepository> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LinkableGitRepository item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest, CallSettings)

    public virtual PagedEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> FetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request, CallSettings callSettings = null)

FetchLinkableGitRepositories returns a list of git repositories from an SCM
that are available to be added to a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository` | A pageable sequence of [LinkableGitRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FetchLinkableGitRepositoriesRequest request = new FetchLinkableGitRepositoriesRequest
    {
        ConnectionAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    PagedEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> response = developerConnectClient.FetchLinkableGitRepositories(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (LinkableGitRepository item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchLinkableGitRepositoriesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LinkableGitRepository item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LinkableGitRepository> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LinkableGitRepository item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchLinkableGitRepositories(string, string, int?, CallSettings)

    public virtual PagedEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> FetchLinkableGitRepositories(string connection, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

FetchLinkableGitRepositories returns a list of git repositories from an SCM
that are available to be added to a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository` | A pageable sequence of [LinkableGitRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string connection = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    PagedEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> response = developerConnectClient.FetchLinkableGitRepositories(connection);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (LinkableGitRepository item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (FetchLinkableGitRepositoriesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LinkableGitRepository item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LinkableGitRepository> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LinkableGitRepository item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchLinkableGitRepositoriesAsync(ConnectionName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> FetchLinkableGitRepositoriesAsync(ConnectionName connection, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

FetchLinkableGitRepositories returns a list of git repositories from an SCM
that are available to be added to a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository` | A pageable asynchronous sequence of [LinkableGitRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName connection = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    PagedAsyncEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> response = developerConnectClient.FetchLinkableGitRepositoriesAsync(connection);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (LinkableGitRepository item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (FetchLinkableGitRepositoriesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LinkableGitRepository item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LinkableGitRepository> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LinkableGitRepository item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchLinkableGitRepositoriesAsync(FetchLinkableGitRepositoriesRequest, CallSettings)

    public virtual PagedAsyncEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> FetchLinkableGitRepositoriesAsync(FetchLinkableGitRepositoriesRequest request, CallSettings callSettings = null)

FetchLinkableGitRepositories returns a list of git repositories from an SCM
that are available to be added to a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository` | A pageable asynchronous sequence of [LinkableGitRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchLinkableGitRepositoriesRequest request = new FetchLinkableGitRepositoriesRequest
    {
        ConnectionAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    PagedAsyncEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> response = developerConnectClient.FetchLinkableGitRepositoriesAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (LinkableGitRepository item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (FetchLinkableGitRepositoriesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LinkableGitRepository item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LinkableGitRepository> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LinkableGitRepository item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchLinkableGitRepositoriesAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> FetchLinkableGitRepositoriesAsync(string connection, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

FetchLinkableGitRepositories returns a list of git repositories from an SCM
that are available to be added to a Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the Connection. Format: `projects/*/locations/*/connections/*`. |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchLinkableGitRepositoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository` | A pageable asynchronous sequence of [LinkableGitRepository](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.LinkableGitRepository) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string connection = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    PagedAsyncEnumerable<FetchLinkableGitRepositoriesResponse, LinkableGitRepository> response = developerConnectClient.FetchLinkableGitRepositoriesAsync(connection);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (LinkableGitRepository item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (FetchLinkableGitRepositoriesResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (LinkableGitRepository item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<LinkableGitRepository> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (LinkableGitRepository item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### FetchReadToken(FetchReadTokenRequest, CallSettings)

    public virtual FetchReadTokenResponse FetchReadToken(FetchReadTokenRequest request, CallSettings callSettings = null)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FetchReadTokenRequest request = new FetchReadTokenRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    FetchReadTokenResponse response = developerConnectClient.FetchReadToken(request);

### FetchReadToken(GitRepositoryLinkName, CallSettings)

    public virtual FetchReadTokenResponse FetchReadToken(GitRepositoryLinkName gitRepositoryLink, CallSettings callSettings = null)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    FetchReadTokenResponse response = developerConnectClient.FetchReadToken(gitRepositoryLink);

### FetchReadToken(string, CallSettings)

    public virtual FetchReadTokenResponse FetchReadToken(string gitRepositoryLink, CallSettings callSettings = null)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    FetchReadTokenResponse response = developerConnectClient.FetchReadToken(gitRepositoryLink);

### FetchReadTokenAsync(FetchReadTokenRequest, CallSettings)

    public virtual Task<FetchReadTokenResponse> FetchReadTokenAsync(FetchReadTokenRequest request, CallSettings callSettings = null)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchReadTokenRequest request = new FetchReadTokenRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    FetchReadTokenResponse response = await developerConnectClient.FetchReadTokenAsync(request);

### FetchReadTokenAsync(FetchReadTokenRequest, CancellationToken)

    public virtual Task<FetchReadTokenResponse> FetchReadTokenAsync(FetchReadTokenRequest request, CancellationToken cancellationToken)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchReadTokenRequest request = new FetchReadTokenRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    FetchReadTokenResponse response = await developerConnectClient.FetchReadTokenAsync(request);

### FetchReadTokenAsync(GitRepositoryLinkName, CallSettings)

    public virtual Task<FetchReadTokenResponse> FetchReadTokenAsync(GitRepositoryLinkName gitRepositoryLink, CallSettings callSettings = null)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    FetchReadTokenResponse response = await developerConnectClient.FetchReadTokenAsync(gitRepositoryLink);

### FetchReadTokenAsync(GitRepositoryLinkName, CancellationToken)

    public virtual Task<FetchReadTokenResponse> FetchReadTokenAsync(GitRepositoryLinkName gitRepositoryLink, CancellationToken cancellationToken)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    FetchReadTokenResponse response = await developerConnectClient.FetchReadTokenAsync(gitRepositoryLink);

### FetchReadTokenAsync(string, CallSettings)

    public virtual Task<FetchReadTokenResponse> FetchReadTokenAsync(string gitRepositoryLink, CallSettings callSettings = null)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    FetchReadTokenResponse response = await developerConnectClient.FetchReadTokenAsync(gitRepositoryLink);

### FetchReadTokenAsync(string, CancellationToken)

    public virtual Task<FetchReadTokenResponse> FetchReadTokenAsync(string gitRepositoryLink, CancellationToken cancellationToken)

Fetches read token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    FetchReadTokenResponse response = await developerConnectClient.FetchReadTokenAsync(gitRepositoryLink);

### FetchReadWriteToken(FetchReadWriteTokenRequest, CallSettings)

    public virtual FetchReadWriteTokenResponse FetchReadWriteToken(FetchReadWriteTokenRequest request, CallSettings callSettings = null)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FetchReadWriteTokenRequest request = new FetchReadWriteTokenRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    FetchReadWriteTokenResponse response = developerConnectClient.FetchReadWriteToken(request);

### FetchReadWriteToken(GitRepositoryLinkName, CallSettings)

    public virtual FetchReadWriteTokenResponse FetchReadWriteToken(GitRepositoryLinkName gitRepositoryLink, CallSettings callSettings = null)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    FetchReadWriteTokenResponse response = developerConnectClient.FetchReadWriteToken(gitRepositoryLink);

### FetchReadWriteToken(string, CallSettings)

    public virtual FetchReadWriteTokenResponse FetchReadWriteToken(string gitRepositoryLink, CallSettings callSettings = null)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    FetchReadWriteTokenResponse response = developerConnectClient.FetchReadWriteToken(gitRepositoryLink);

### FetchReadWriteTokenAsync(FetchReadWriteTokenRequest, CallSettings)

    public virtual Task<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(FetchReadWriteTokenRequest request, CallSettings callSettings = null)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchReadWriteTokenRequest request = new FetchReadWriteTokenRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    FetchReadWriteTokenResponse response = await developerConnectClient.FetchReadWriteTokenAsync(request);

### FetchReadWriteTokenAsync(FetchReadWriteTokenRequest, CancellationToken)

    public virtual Task<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(FetchReadWriteTokenRequest request, CancellationToken cancellationToken)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchReadWriteTokenRequest request = new FetchReadWriteTokenRequest
    {
        GitRepositoryLinkAsGitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    FetchReadWriteTokenResponse response = await developerConnectClient.FetchReadWriteTokenAsync(request);

### FetchReadWriteTokenAsync(GitRepositoryLinkName, CallSettings)

    public virtual Task<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(GitRepositoryLinkName gitRepositoryLink, CallSettings callSettings = null)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    FetchReadWriteTokenResponse response = await developerConnectClient.FetchReadWriteTokenAsync(gitRepositoryLink);

### FetchReadWriteTokenAsync(GitRepositoryLinkName, CancellationToken)

    public virtual Task<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(GitRepositoryLinkName gitRepositoryLink, CancellationToken cancellationToken)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName gitRepositoryLink = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    FetchReadWriteTokenResponse response = await developerConnectClient.FetchReadWriteTokenAsync(gitRepositoryLink);

### FetchReadWriteTokenAsync(string, CallSettings)

    public virtual Task<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(string gitRepositoryLink, CallSettings callSettings = null)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    FetchReadWriteTokenResponse response = await developerConnectClient.FetchReadWriteTokenAsync(gitRepositoryLink);

### FetchReadWriteTokenAsync(string, CancellationToken)

    public virtual Task<FetchReadWriteTokenResponse> FetchReadWriteTokenAsync(string gitRepositoryLink, CancellationToken cancellationToken)

Fetches read/write token of a given gitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `gitRepositoryLink` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the gitRepositoryLink in the format `projects/*/locations/*/connections/*/gitRepositoryLinks/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchReadWriteTokenResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string gitRepositoryLink = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    FetchReadWriteTokenResponse response = await developerConnectClient.FetchReadWriteTokenAsync(gitRepositoryLink);

### FetchSelf(AccountConnectorName, CallSettings)

    public virtual User FetchSelf(AccountConnectorName name, CallSettings callSettings = null)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    User response = developerConnectClient.FetchSelf(name);

### FetchSelf(FetchSelfRequest, CallSettings)

    public virtual User FetchSelf(FetchSelfRequest request, CallSettings callSettings = null)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchSelfRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FetchSelfRequest request = new FetchSelfRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    User response = developerConnectClient.FetchSelf(request);

### FetchSelf(string, CallSettings)

    public virtual User FetchSelf(string name, CallSettings callSettings = null)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    User response = developerConnectClient.FetchSelf(name);

### FetchSelfAsync(AccountConnectorName, CallSettings)

    public virtual Task<User> FetchSelfAsync(AccountConnectorName name, CallSettings callSettings = null)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    User response = await developerConnectClient.FetchSelfAsync(name);

### FetchSelfAsync(AccountConnectorName, CancellationToken)

    public virtual Task<User> FetchSelfAsync(AccountConnectorName name, CancellationToken cancellationToken)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the AccountConnector resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    User response = await developerConnectClient.FetchSelfAsync(name);

### FetchSelfAsync(FetchSelfRequest, CallSettings)

    public virtual Task<User> FetchSelfAsync(FetchSelfRequest request, CallSettings callSettings = null)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchSelfRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchSelfRequest request = new FetchSelfRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    User response = await developerConnectClient.FetchSelfAsync(request);

### FetchSelfAsync(FetchSelfRequest, CancellationToken)

    public virtual Task<User> FetchSelfAsync(FetchSelfRequest request, CancellationToken cancellationToken)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FetchSelfRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FetchSelfRequest request = new FetchSelfRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    User response = await developerConnectClient.FetchSelfAsync(request);

### FetchSelfAsync(string, CallSettings)

    public virtual Task<User> FetchSelfAsync(string name, CallSettings callSettings = null)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the AccountConnector resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    User response = await developerConnectClient.FetchSelfAsync(name);

### FetchSelfAsync(string, CancellationToken)

    public virtual Task<User> FetchSelfAsync(string name, CancellationToken cancellationToken)

Fetch the User based on the user credentials.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the AccountConnector resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    User response = await developerConnectClient.FetchSelfAsync(name);

### FinishOAuth(AccountConnectorName, CallSettings)

    public virtual FinishOAuthResponse FinishOAuth(AccountConnectorName accountConnector, CallSettings callSettings = null)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    FinishOAuthResponse response = developerConnectClient.FinishOAuth(accountConnector);

### FinishOAuth(FinishOAuthRequest, CallSettings)

    public virtual FinishOAuthResponse FinishOAuth(FinishOAuthRequest request, CallSettings callSettings = null)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    FinishOAuthRequest request = new FinishOAuthRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        OauthParams = new FinishOAuthRequest.Types.OAuthParams(),
    };
    // Make the request
    FinishOAuthResponse response = developerConnectClient.FinishOAuth(request);

### FinishOAuth(string, CallSettings)

    public virtual FinishOAuthResponse FinishOAuth(string accountConnector, CallSettings callSettings = null)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    FinishOAuthResponse response = developerConnectClient.FinishOAuth(accountConnector);

### FinishOAuthAsync(AccountConnectorName, CallSettings)

    public virtual Task<FinishOAuthResponse> FinishOAuthAsync(AccountConnectorName accountConnector, CallSettings callSettings = null)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    FinishOAuthResponse response = await developerConnectClient.FinishOAuthAsync(accountConnector);

### FinishOAuthAsync(AccountConnectorName, CancellationToken)

    public virtual Task<FinishOAuthResponse> FinishOAuthAsync(AccountConnectorName accountConnector, CancellationToken cancellationToken)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    FinishOAuthResponse response = await developerConnectClient.FinishOAuthAsync(accountConnector);

### FinishOAuthAsync(FinishOAuthRequest, CallSettings)

    public virtual Task<FinishOAuthResponse> FinishOAuthAsync(FinishOAuthRequest request, CallSettings callSettings = null)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FinishOAuthRequest request = new FinishOAuthRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        OauthParams = new FinishOAuthRequest.Types.OAuthParams(),
    };
    // Make the request
    FinishOAuthResponse response = await developerConnectClient.FinishOAuthAsync(request);

### FinishOAuthAsync(FinishOAuthRequest, CancellationToken)

    public virtual Task<FinishOAuthResponse> FinishOAuthAsync(FinishOAuthRequest request, CancellationToken cancellationToken)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    FinishOAuthRequest request = new FinishOAuthRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        OauthParams = new FinishOAuthRequest.Types.OAuthParams(),
    };
    // Make the request
    FinishOAuthResponse response = await developerConnectClient.FinishOAuthAsync(request);

### FinishOAuthAsync(string, CallSettings)

    public virtual Task<FinishOAuthResponse> FinishOAuthAsync(string accountConnector, CallSettings callSettings = null)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    FinishOAuthResponse response = await developerConnectClient.FinishOAuthAsync(accountConnector);

### FinishOAuthAsync(string, CancellationToken)

    public virtual Task<FinishOAuthResponse> FinishOAuthAsync(string accountConnector, CancellationToken cancellationToken)

Finishes OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.FinishOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    FinishOAuthResponse response = await developerConnectClient.FinishOAuthAsync(accountConnector);

### GetAccountConnector(AccountConnectorName, CallSettings)

    public virtual AccountConnector GetAccountConnector(AccountConnectorName name, CallSettings callSettings = null)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    AccountConnector response = developerConnectClient.GetAccountConnector(name);

### GetAccountConnector(GetAccountConnectorRequest, CallSettings)

    public virtual AccountConnector GetAccountConnector(GetAccountConnectorRequest request, CallSettings callSettings = null)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GetAccountConnectorRequest request = new GetAccountConnectorRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    AccountConnector response = developerConnectClient.GetAccountConnector(request);

### GetAccountConnector(string, CallSettings)

    public virtual AccountConnector GetAccountConnector(string name, CallSettings callSettings = null)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    AccountConnector response = developerConnectClient.GetAccountConnector(name);

### GetAccountConnectorAsync(AccountConnectorName, CallSettings)

    public virtual Task<AccountConnector> GetAccountConnectorAsync(AccountConnectorName name, CallSettings callSettings = null)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    AccountConnector response = await developerConnectClient.GetAccountConnectorAsync(name);

### GetAccountConnectorAsync(AccountConnectorName, CancellationToken)

    public virtual Task<AccountConnector> GetAccountConnectorAsync(AccountConnectorName name, CancellationToken cancellationToken)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName name = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    AccountConnector response = await developerConnectClient.GetAccountConnectorAsync(name);

### GetAccountConnectorAsync(GetAccountConnectorRequest, CallSettings)

    public virtual Task<AccountConnector> GetAccountConnectorAsync(GetAccountConnectorRequest request, CallSettings callSettings = null)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GetAccountConnectorRequest request = new GetAccountConnectorRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    AccountConnector response = await developerConnectClient.GetAccountConnectorAsync(request);

### GetAccountConnectorAsync(GetAccountConnectorRequest, CancellationToken)

    public virtual Task<AccountConnector> GetAccountConnectorAsync(GetAccountConnectorRequest request, CancellationToken cancellationToken)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GetAccountConnectorRequest request = new GetAccountConnectorRequest
    {
        AccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    AccountConnector response = await developerConnectClient.GetAccountConnectorAsync(request);

### GetAccountConnectorAsync(string, CallSettings)

    public virtual Task<AccountConnector> GetAccountConnectorAsync(string name, CallSettings callSettings = null)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    AccountConnector response = await developerConnectClient.GetAccountConnectorAsync(name);

### GetAccountConnectorAsync(string, CancellationToken)

    public virtual Task<AccountConnector> GetAccountConnectorAsync(string name, CancellationToken cancellationToken)

Gets details of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    AccountConnector response = await developerConnectClient.GetAccountConnectorAsync(name);

### GetConnection(ConnectionName, CallSettings)

    public virtual Connection GetConnection(ConnectionName name, CallSettings callSettings = null)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ConnectionName name = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    Connection response = developerConnectClient.GetConnection(name);

### GetConnection(GetConnectionRequest, CallSettings)

    public virtual Connection GetConnection(GetConnectionRequest request, CallSettings callSettings = null)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GetConnectionRequest request = new GetConnectionRequest
    {
        ConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    Connection response = developerConnectClient.GetConnection(request);

### GetConnection(string, CallSettings)

    public virtual Connection GetConnection(string name, CallSettings callSettings = null)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    Connection response = developerConnectClient.GetConnection(name);

### GetConnectionAsync(ConnectionName, CallSettings)

    public virtual Task<Connection> GetConnectionAsync(ConnectionName name, CallSettings callSettings = null)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName name = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    Connection response = await developerConnectClient.GetConnectionAsync(name);

### GetConnectionAsync(ConnectionName, CancellationToken)

    public virtual Task<Connection> GetConnectionAsync(ConnectionName name, CancellationToken cancellationToken)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName name = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    Connection response = await developerConnectClient.GetConnectionAsync(name);

### GetConnectionAsync(GetConnectionRequest, CallSettings)

    public virtual Task<Connection> GetConnectionAsync(GetConnectionRequest request, CallSettings callSettings = null)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GetConnectionRequest request = new GetConnectionRequest
    {
        ConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    Connection response = await developerConnectClient.GetConnectionAsync(request);

### GetConnectionAsync(GetConnectionRequest, CancellationToken)

    public virtual Task<Connection> GetConnectionAsync(GetConnectionRequest request, CancellationToken cancellationToken)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetConnectionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GetConnectionRequest request = new GetConnectionRequest
    {
        ConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
    };
    // Make the request
    Connection response = await developerConnectClient.GetConnectionAsync(request);

### GetConnectionAsync(string, CallSettings)

    public virtual Task<Connection> GetConnectionAsync(string name, CallSettings callSettings = null)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    Connection response = await developerConnectClient.GetConnectionAsync(name);

### GetConnectionAsync(string, CancellationToken)

    public virtual Task<Connection> GetConnectionAsync(string name, CancellationToken cancellationToken)

Gets details of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    Connection response = await developerConnectClient.GetConnectionAsync(name);

### GetGitRepositoryLink(GetGitRepositoryLinkRequest, CallSettings)

    public virtual GitRepositoryLink GetGitRepositoryLink(GetGitRepositoryLinkRequest request, CallSettings callSettings = null)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GetGitRepositoryLinkRequest request = new GetGitRepositoryLinkRequest
    {
        GitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    GitRepositoryLink response = developerConnectClient.GetGitRepositoryLink(request);

### GetGitRepositoryLink(GitRepositoryLinkName, CallSettings)

    public virtual GitRepositoryLink GetGitRepositoryLink(GitRepositoryLinkName name, CallSettings callSettings = null)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    GitRepositoryLinkName name = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    GitRepositoryLink response = developerConnectClient.GetGitRepositoryLink(name);

### GetGitRepositoryLink(string, CallSettings)

    public virtual GitRepositoryLink GetGitRepositoryLink(string name, CallSettings callSettings = null)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    GitRepositoryLink response = developerConnectClient.GetGitRepositoryLink(name);

### GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest, CallSettings)

    public virtual Task<GitRepositoryLink> GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest request, CallSettings callSettings = null)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GetGitRepositoryLinkRequest request = new GetGitRepositoryLinkRequest
    {
        GitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    GitRepositoryLink response = await developerConnectClient.GetGitRepositoryLinkAsync(request);

### GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest, CancellationToken)

    public virtual Task<GitRepositoryLink> GetGitRepositoryLinkAsync(GetGitRepositoryLinkRequest request, CancellationToken cancellationToken)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GetGitRepositoryLinkRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GetGitRepositoryLinkRequest request = new GetGitRepositoryLinkRequest
    {
        GitRepositoryLinkName = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]"),
    };
    // Make the request
    GitRepositoryLink response = await developerConnectClient.GetGitRepositoryLinkAsync(request);

### GetGitRepositoryLinkAsync(GitRepositoryLinkName, CallSettings)

    public virtual Task<GitRepositoryLink> GetGitRepositoryLinkAsync(GitRepositoryLinkName name, CallSettings callSettings = null)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName name = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    GitRepositoryLink response = await developerConnectClient.GetGitRepositoryLinkAsync(name);

### GetGitRepositoryLinkAsync(GitRepositoryLinkName, CancellationToken)

    public virtual Task<GitRepositoryLink> GetGitRepositoryLinkAsync(GitRepositoryLinkName name, CancellationToken cancellationToken)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkName` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    GitRepositoryLinkName name = GitRepositoryLinkName.FromProjectLocationConnectionGitRepositoryLink("[PROJECT]", "[LOCATION]", "[CONNECTION]", "[GIT_REPOSITORY_LINK]");
    // Make the request
    GitRepositoryLink response = await developerConnectClient.GetGitRepositoryLinkAsync(name);

### GetGitRepositoryLinkAsync(string, CallSettings)

    public virtual Task<GitRepositoryLink> GetGitRepositoryLinkAsync(string name, CallSettings callSettings = null)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    GitRepositoryLink response = await developerConnectClient.GetGitRepositoryLinkAsync(name);

### GetGitRepositoryLinkAsync(string, CancellationToken)

    public virtual Task<GitRepositoryLink> GetGitRepositoryLinkAsync(string name, CancellationToken cancellationToken)

Gets details of a single GitRepositoryLink.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Name of the resource |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]/gitRepositoryLinks/[GIT_REPOSITORY_LINK]";
    // Make the request
    GitRepositoryLink response = await developerConnectClient.GetGitRepositoryLinkAsync(name);

### ListAccountConnectors(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAccountConnectorsResponse, AccountConnector> ListAccountConnectors(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AccountConnectors in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Parent value for ListAccountConnectorsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A pageable sequence of [AccountConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListAccountConnectorsResponse, AccountConnector> response = developerConnectClient.ListAccountConnectors(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (AccountConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListAccountConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (AccountConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<AccountConnector> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (AccountConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAccountConnectors(ListAccountConnectorsRequest, CallSettings)

    public virtual PagedEnumerable<ListAccountConnectorsResponse, AccountConnector> ListAccountConnectors(ListAccountConnectorsRequest request, CallSettings callSettings = null)

Lists AccountConnectors in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A pageable sequence of [AccountConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ListAccountConnectorsRequest request = new ListAccountConnectorsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListAccountConnectorsResponse, AccountConnector> response = developerConnectClient.ListAccountConnectors(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (AccountConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListAccountConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (AccountConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<AccountConnector> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (AccountConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAccountConnectors(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListAccountConnectorsResponse, AccountConnector> ListAccountConnectors(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AccountConnectors in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListAccountConnectorsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A pageable sequence of [AccountConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListAccountConnectorsResponse, AccountConnector> response = developerConnectClient.ListAccountConnectors(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (AccountConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListAccountConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (AccountConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<AccountConnector> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (AccountConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAccountConnectorsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAccountConnectorsResponse, AccountConnector> ListAccountConnectorsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AccountConnectors in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Parent value for ListAccountConnectorsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A pageable asynchronous sequence of [AccountConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListAccountConnectorsResponse, AccountConnector> response = developerConnectClient.ListAccountConnectorsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (AccountConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListAccountConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (AccountConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<AccountConnector> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (AccountConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAccountConnectorsAsync(ListAccountConnectorsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListAccountConnectorsResponse, AccountConnector> ListAccountConnectorsAsync(ListAccountConnectorsRequest request, CallSettings callSettings = null)

Lists AccountConnectors in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A pageable asynchronous sequence of [AccountConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ListAccountConnectorsRequest request = new ListAccountConnectorsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListAccountConnectorsResponse, AccountConnector> response = developerConnectClient.ListAccountConnectorsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (AccountConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListAccountConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (AccountConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<AccountConnector> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (AccountConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListAccountConnectorsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListAccountConnectorsResponse, AccountConnector> ListAccountConnectorsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists AccountConnectors in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListAccountConnectorsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListAccountConnectorsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` | A pageable asynchronous sequence of [AccountConnector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListAccountConnectorsResponse, AccountConnector> response = developerConnectClient.ListAccountConnectorsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (AccountConnector item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListAccountConnectorsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (AccountConnector item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<AccountConnector> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (AccountConnector item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListConnections(LocationName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Connections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Parent value for ListConnectionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A pageable sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedEnumerable<ListConnectionsResponse, Connection> response = developerConnectClient.ListConnections(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Connection item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListConnectionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Connection item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Connection> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Connection item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListConnections(ListConnectionsRequest, CallSettings)

    public virtual PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(ListConnectionsRequest request, CallSettings callSettings = null)

Lists Connections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A pageable sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ListConnectionsRequest request = new ListConnectionsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListConnectionsResponse, Connection> response = developerConnectClient.ListConnections(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Connection item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListConnectionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Connection item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Connection> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Connection item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListConnections(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListConnectionsResponse, Connection> ListConnections(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Connections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListConnectionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A pageable sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedEnumerable<ListConnectionsResponse, Connection> response = developerConnectClient.ListConnections(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (Connection item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListConnectionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Connection item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Connection> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Connection item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListConnectionsAsync(LocationName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(LocationName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Connections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` Required. Parent value for ListConnectionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A pageable asynchronous sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
    // Make the request
    PagedAsyncEnumerable<ListConnectionsResponse, Connection> response = developerConnectClient.ListConnectionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Connection item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListConnectionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Connection item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Connection> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Connection item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListConnectionsAsync(ListConnectionsRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(ListConnectionsRequest request, CallSettings callSettings = null)

Lists Connections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A pageable asynchronous sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ListConnectionsRequest request = new ListConnectionsRequest
    {
        ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListConnectionsResponse, Connection> response = developerConnectClient.ListConnectionsAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Connection item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListConnectionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Connection item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Connection> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Connection item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListConnectionsAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListConnectionsResponse, Connection> ListConnectionsAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Connections in a given project and location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListConnectionsRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListConnectionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` | A pageable asynchronous sequence of [Connection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]";
    // Make the request
    PagedAsyncEnumerable<ListConnectionsResponse, Connection> response = developerConnectClient.ListConnectionsAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (Connection item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListConnectionsResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (Connection item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<Connection> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (Connection item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGitRepositoryLinks(ConnectionName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> ListGitRepositoryLinks(ConnectionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists GitRepositoryLinks in a given project, location, and connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Parent value for ListGitRepositoryLinksRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A pageable sequence of [GitRepositoryLink](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ConnectionName parent = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    PagedEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> response = developerConnectClient.ListGitRepositoryLinks(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (GitRepositoryLink item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGitRepositoryLinksResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GitRepositoryLink item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GitRepositoryLink> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GitRepositoryLink item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGitRepositoryLinks(ListGitRepositoryLinksRequest, CallSettings)

    public virtual PagedEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> ListGitRepositoryLinks(ListGitRepositoryLinksRequest request, CallSettings callSettings = null)

Lists GitRepositoryLinks in a given project, location, and connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A pageable sequence of [GitRepositoryLink](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ListGitRepositoryLinksRequest request = new ListGitRepositoryLinksRequest
    {
        ParentAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> response = developerConnectClient.ListGitRepositoryLinks(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (GitRepositoryLink item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGitRepositoryLinksResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GitRepositoryLink item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GitRepositoryLink> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GitRepositoryLink item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGitRepositoryLinks(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> ListGitRepositoryLinks(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists GitRepositoryLinks in a given project, location, and connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListGitRepositoryLinksRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A pageable sequence of [GitRepositoryLink](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    PagedEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> response = developerConnectClient.ListGitRepositoryLinks(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (GitRepositoryLink item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListGitRepositoryLinksResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GitRepositoryLink item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GitRepositoryLink> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GitRepositoryLink item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGitRepositoryLinksAsync(ConnectionName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> ListGitRepositoryLinksAsync(ConnectionName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists GitRepositoryLinks in a given project, location, and connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ConnectionName` Required. Parent value for ListGitRepositoryLinksRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A pageable asynchronous sequence of [GitRepositoryLink](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ConnectionName parent = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]");
    // Make the request
    PagedAsyncEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> response = developerConnectClient.ListGitRepositoryLinksAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (GitRepositoryLink item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListGitRepositoryLinksResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GitRepositoryLink item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GitRepositoryLink> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GitRepositoryLink item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGitRepositoryLinksAsync(ListGitRepositoryLinksRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> ListGitRepositoryLinksAsync(ListGitRepositoryLinksRequest request, CallSettings callSettings = null)

Lists GitRepositoryLinks in a given project, location, and connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A pageable asynchronous sequence of [GitRepositoryLink](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ListGitRepositoryLinksRequest request = new ListGitRepositoryLinksRequest
    {
        ParentAsConnectionName = ConnectionName.FromProjectLocationConnection("[PROJECT]", "[LOCATION]", "[CONNECTION]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> response = developerConnectClient.ListGitRepositoryLinksAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (GitRepositoryLink item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListGitRepositoryLinksResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GitRepositoryLink item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GitRepositoryLink> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GitRepositoryLink item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListGitRepositoryLinksAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> ListGitRepositoryLinksAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists GitRepositoryLinks in a given project, location, and connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListGitRepositoryLinksRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListGitRepositoryLinksResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink` | A pageable asynchronous sequence of [GitRepositoryLink](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLink) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/connections/[CONNECTION]";
    // Make the request
    PagedAsyncEnumerable<ListGitRepositoryLinksResponse, GitRepositoryLink> response = developerConnectClient.ListGitRepositoryLinksAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (GitRepositoryLink item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListGitRepositoryLinksResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (GitRepositoryLink item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<GitRepositoryLink> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (GitRepositoryLink item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUsers(AccountConnectorName, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUsersResponse, User> ListUsers(AccountConnectorName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Users in a given project, location, and account_connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Parent value for ListUsersRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A pageable sequence of [User](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName parent = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    PagedEnumerable<ListUsersResponse, User> response = developerConnectClient.ListUsers(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (User item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListUsersResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (User item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<User> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (User item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUsers(ListUsersRequest, CallSettings)

    public virtual PagedEnumerable<ListUsersResponse, User> ListUsers(ListUsersRequest request, CallSettings callSettings = null)

Lists Users in a given project, location, and account_connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A pageable sequence of [User](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    ListUsersRequest request = new ListUsersRequest
    {
        ParentAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedEnumerable<ListUsersResponse, User> response = developerConnectClient.ListUsers(request);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (User item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListUsersResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (User item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<User> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (User item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUsers(string, string, int?, CallSettings)

    public virtual PagedEnumerable<ListUsersResponse, User> ListUsers(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Users in a given project, location, and account_connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListUsersRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A pageable sequence of [User](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    PagedEnumerable<ListUsersResponse, User> response = developerConnectClient.ListUsers(parent);

    // Iterate over all response items, lazily performing RPCs as required
    foreach (User item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    foreach (ListUsersResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (User item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<User> singlePage = response.ReadPage(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (User item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUsersAsync(AccountConnectorName, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsersResponse, User> ListUsersAsync(AccountConnectorName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Users in a given project, location, and account_connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. Parent value for ListUsersRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A pageable asynchronous sequence of [User](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName parent = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    PagedAsyncEnumerable<ListUsersResponse, User> response = developerConnectClient.ListUsersAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (User item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListUsersResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (User item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<User> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (User item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUsersAsync(ListUsersRequest, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsersResponse, User> ListUsersAsync(ListUsersRequest request, CallSettings callSettings = null)

Lists Users in a given project, location, and account_connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A pageable asynchronous sequence of [User](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    ListUsersRequest request = new ListUsersRequest
    {
        ParentAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
        Filter = "",
        OrderBy = "",
    };
    // Make the request
    PagedAsyncEnumerable<ListUsersResponse, User> response = developerConnectClient.ListUsersAsync(request);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (User item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListUsersResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (User item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<User> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (User item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### ListUsersAsync(string, string, int?, CallSettings)

    public virtual PagedAsyncEnumerable<ListUsersResponse, User> ListUsersAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)

Lists Users in a given project, location, and account_connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Parent value for ListUsersRequest |
| `pageToken` | `https://learn.microsoft.com/dotnet/api/system.string` The token returned from the previous request. A value of `null` or an empty string retrieves the first page. |
| `pageSize` | `https://learn.microsoft.com/dotnet/api/system.int32` The size of page to request. The response will not be larger than this, but may be smaller. A value of `null` or `0` uses a server-defined page size. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ListUsersResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User` | A pageable asynchronous sequence of [User](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.User) resources. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    PagedAsyncEnumerable<ListUsersResponse, User> response = developerConnectClient.ListUsersAsync(parent);

    // Iterate over all response items, lazily performing RPCs as required
    await foreach (User item in response)
    {
        // Do something with each item
        Console.WriteLine(item);
    }

    // Or iterate over pages (of server-defined size), performing one RPC per page
    await foreach (ListUsersResponse page in response.AsRawResponses())
    {
        // Do something with each page of items
        Console.WriteLine("A page of results:");
        foreach (User item in page)
        {
            // Do something with each item
            Console.WriteLine(item);
        }
    }

    // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
    int pageSize = 10;
    Page<User> singlePage = await response.ReadPageAsync(pageSize);
    // Do something with the page of items
    Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
    foreach (User item in singlePage)
    {
        // Do something with each item
        Console.WriteLine(item);
    }
    // Store the pageToken, for when the next page is required.
    string nextPageToken = singlePage.NextPageToken;

### PollOnceCreateAccountConnector(string, CallSettings)

    public virtual Operation<AccountConnector, OperationMetadata> PollOnceCreateAccountConnector(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateAccountConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateAccountConnectorAsync(string, CallSettings)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> PollOnceCreateAccountConnectorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateAccountConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateConnection(string, CallSettings)

    public virtual Operation<Connection, OperationMetadata> PollOnceCreateConnection(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `CreateConnection`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateConnectionAsync(string, CallSettings)

    public virtual Task<Operation<Connection, OperationMetadata>> PollOnceCreateConnectionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateConnection`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceCreateGitRepositoryLink(string, CallSettings)

    public virtual Operation<GitRepositoryLink, OperationMetadata> PollOnceCreateGitRepositoryLink(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`CreateGitRepositoryLink`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceCreateGitRepositoryLinkAsync(string, CallSettings)

    public virtual Task<Operation<GitRepositoryLink, OperationMetadata>> PollOnceCreateGitRepositoryLinkAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`CreateGitRepositoryLink`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.GitRepositoryLinkhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteAccountConnector(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteAccountConnector(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteAccountConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteAccountConnectorAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteAccountConnectorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteAccountConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteConnection(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteConnection(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteConnection`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteConnectionAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteConnectionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteConnection`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteGitRepositoryLink(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteGitRepositoryLink(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`DeleteGitRepositoryLink`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteGitRepositoryLinkAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteGitRepositoryLinkAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteGitRepositoryLink`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteSelf(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteSelf(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteSelf`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteSelfAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteSelfAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteSelf`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceDeleteUser(string, CallSettings)

    public virtual Operation<Empty, OperationMetadata> PollOnceDeleteUser(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `DeleteUser`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceDeleteUserAsync(string, CallSettings)

    public virtual Task<Operation<Empty, OperationMetadata>> PollOnceDeleteUserAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`DeleteUser`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateAccountConnector(string, CallSettings)

    public virtual Operation<AccountConnector, OperationMetadata> PollOnceUpdateAccountConnector(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of
`UpdateAccountConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateAccountConnectorAsync(string, CallSettings)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> PollOnceUpdateAccountConnectorAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateAccountConnector`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### PollOnceUpdateConnection(string, CallSettings)

    public virtual Operation<Connection, OperationMetadata> PollOnceUpdateConnection(string operationName, CallSettings callSettings = null)

Poll an operation once, using an `operationName` from a previous invocation of `UpdateConnection`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The result of polling the operation. |

### PollOnceUpdateConnectionAsync(string, CallSettings)

    public virtual Task<Operation<Connection, OperationMetadata>> PollOnceUpdateConnectionAsync(string operationName, CallSettings callSettings = null)

Asynchronously poll an operation once, using an `operationName` from a previous invocation of
`UpdateConnection`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `https://learn.microsoft.com/dotnet/api/system.string` The name of a previously invoked operation. Must not be `null` or empty. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A task representing the result of polling the operation. |

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient#Google_Cloud_DeveloperConnect_V1_DeveloperConnectClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient#Google_Cloud_DeveloperConnect_V1_DeveloperConnectClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient#Google_Cloud_DeveloperConnect_V1_DeveloperConnectClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.DeveloperConnectClient#Google_Cloud_DeveloperConnect_V1_DeveloperConnectClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.

### StartOAuth(AccountConnectorName, CallSettings)

    public virtual StartOAuthResponse StartOAuth(AccountConnectorName accountConnector, CallSettings callSettings = null)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    StartOAuthResponse response = developerConnectClient.StartOAuth(accountConnector);

### StartOAuth(StartOAuthRequest, CallSettings)

    public virtual StartOAuthResponse StartOAuth(StartOAuthRequest request, CallSettings callSettings = null)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    StartOAuthRequest request = new StartOAuthRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    StartOAuthResponse response = developerConnectClient.StartOAuth(request);

### StartOAuth(string, CallSettings)

    public virtual StartOAuthResponse StartOAuth(string accountConnector, CallSettings callSettings = null)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    StartOAuthResponse response = developerConnectClient.StartOAuth(accountConnector);

### StartOAuthAsync(AccountConnectorName, CallSettings)

    public virtual Task<StartOAuthResponse> StartOAuthAsync(AccountConnectorName accountConnector, CallSettings callSettings = null)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    StartOAuthResponse response = await developerConnectClient.StartOAuthAsync(accountConnector);

### StartOAuthAsync(AccountConnectorName, CancellationToken)

    public virtual Task<StartOAuthResponse> StartOAuthAsync(AccountConnectorName accountConnector, CancellationToken cancellationToken)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorName` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnectorName accountConnector = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]");
    // Make the request
    StartOAuthResponse response = await developerConnectClient.StartOAuthAsync(accountConnector);

### StartOAuthAsync(StartOAuthRequest, CallSettings)

    public virtual Task<StartOAuthResponse> StartOAuthAsync(StartOAuthRequest request, CallSettings callSettings = null)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    StartOAuthRequest request = new StartOAuthRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    StartOAuthResponse response = await developerConnectClient.StartOAuthAsync(request);

### StartOAuthAsync(StartOAuthRequest, CancellationToken)

    public virtual Task<StartOAuthResponse> StartOAuthAsync(StartOAuthRequest request, CancellationToken cancellationToken)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    StartOAuthRequest request = new StartOAuthRequest
    {
        AccountConnectorAsAccountConnectorName = AccountConnectorName.FromProjectLocationAccountConnector("[PROJECT]", "[LOCATION]", "[ACCOUNT_CONNECTOR]"),
    };
    // Make the request
    StartOAuthResponse response = await developerConnectClient.StartOAuthAsync(request);

### StartOAuthAsync(string, CallSettings)

    public virtual Task<StartOAuthResponse> StartOAuthAsync(string accountConnector, CallSettings callSettings = null)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    StartOAuthResponse response = await developerConnectClient.StartOAuthAsync(accountConnector);

### StartOAuthAsync(string, CancellationToken)

    public virtual Task<StartOAuthResponse> StartOAuthAsync(string accountConnector, CancellationToken cancellationToken)

Starts OAuth flow for an account connector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the AccountConnector in the format `projects/*/locations/*/accountConnectors/*`. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.StartOAuthResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    string accountConnector = "projects/[PROJECT]/locations/[LOCATION]/accountConnectors/[ACCOUNT_CONNECTOR]";
    // Make the request
    StartOAuthResponse response = await developerConnectClient.StartOAuthAsync(accountConnector);

### UpdateAccountConnector(AccountConnector, FieldMask, CallSettings)

    public virtual Operation<AccountConnector, OperationMetadata> UpdateAccountConnector(AccountConnector accountConnector, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The list of fields to be updated. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    AccountConnector accountConnector = new AccountConnector();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = developerConnectClient.UpdateAccountConnector(accountConnector, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceUpdateAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### UpdateAccountConnector(UpdateAccountConnectorRequest, CallSettings)

    public virtual Operation<AccountConnector, OperationMetadata> UpdateAccountConnector(UpdateAccountConnectorRequest request, CallSettings callSettings = null)

Updates the parameters of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UpdateAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    UpdateAccountConnectorRequest request = new UpdateAccountConnectorRequest
    {
        UpdateMask = new FieldMask(),
        AccountConnector = new AccountConnector(),
        RequestId = "",
        AllowMissing = false,
        ValidateOnly = false,
    };
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = developerConnectClient.UpdateAccountConnector(request);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceUpdateAccountConnector(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### UpdateAccountConnectorAsync(AccountConnector, FieldMask, CallSettings)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> UpdateAccountConnectorAsync(AccountConnector accountConnector, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The list of fields to be updated. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnector accountConnector = new AccountConnector();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.UpdateAccountConnectorAsync(accountConnector, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### UpdateAccountConnectorAsync(AccountConnector, FieldMask, CancellationToken)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> UpdateAccountConnectorAsync(AccountConnector accountConnector, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `accountConnector` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnector` Required. The AccountConnector to update. |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Optional. The list of fields to be updated. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    AccountConnector accountConnector = new AccountConnector();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.UpdateAccountConnectorAsync(accountConnector, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### UpdateAccountConnectorAsync(UpdateAccountConnectorRequest, CallSettings)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> UpdateAccountConnectorAsync(UpdateAccountConnectorRequest request, CallSettings callSettings = null)

Updates the parameters of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UpdateAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    UpdateAccountConnectorRequest request = new UpdateAccountConnectorRequest
    {
        UpdateMask = new FieldMask(),
        AccountConnector = new AccountConnector(),
        RequestId = "",
        AllowMissing = false,
        ValidateOnly = false,
    };
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.UpdateAccountConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### UpdateAccountConnectorAsync(UpdateAccountConnectorRequest, CancellationToken)

    public virtual Task<Operation<AccountConnector, OperationMetadata>> UpdateAccountConnectorAsync(UpdateAccountConnectorRequest request, CancellationToken cancellationToken)

Updates the parameters of a single AccountConnector.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UpdateAccountConnectorRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.AccountConnectorhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    UpdateAccountConnectorRequest request = new UpdateAccountConnectorRequest
    {
        UpdateMask = new FieldMask(),
        AccountConnector = new AccountConnector(),
        RequestId = "",
        AllowMissing = false,
        ValidateOnly = false,
    };
    // Make the request
    Operation<AccountConnector, OperationMetadata> response = await developerConnectClient.UpdateAccountConnectorAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<AccountConnector, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    AccountConnector result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<AccountConnector, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateAccountConnectorAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        AccountConnector retrievedResult = retrievedResponse.Result;
    }

### UpdateConnection(Connection, FieldMask, CallSettings)

    public virtual Operation<Connection, OperationMetadata> UpdateConnection(Connection connection, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being updated |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    Connection connection = new Connection();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Connection, OperationMetadata> response = developerConnectClient.UpdateConnection(connection, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceUpdateConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### UpdateConnection(UpdateConnectionRequest, CallSettings)

    public virtual Operation<Connection, OperationMetadata> UpdateConnection(UpdateConnectionRequest request, CallSettings callSettings = null)

Updates the parameters of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UpdateConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | The RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = DeveloperConnectClient.Create();
    // Initialize request argument(s)
    UpdateConnectionRequest request = new UpdateConnectionRequest
    {
        UpdateMask = new FieldMask(),
        Connection = new Connection(),
        RequestId = "",
        AllowMissing = false,
        ValidateOnly = false,
    };
    // Make the request
    Operation<Connection, OperationMetadata> response = developerConnectClient.UpdateConnection(request);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = response.PollUntilCompleted();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = developerConnectClient.PollOnceUpdateConnection(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### UpdateConnectionAsync(Connection, FieldMask, CallSettings)

    public virtual Task<Operation<Connection, OperationMetadata>> UpdateConnectionAsync(Connection connection, FieldMask updateMask, CallSettings callSettings = null)

Updates the parameters of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being updated |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    Connection connection = new Connection();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.UpdateConnectionAsync(connection, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### UpdateConnectionAsync(Connection, FieldMask, CancellationToken)

    public virtual Task<Operation<Connection, OperationMetadata>> UpdateConnectionAsync(Connection connection, FieldMask updateMask, CancellationToken cancellationToken)

Updates the parameters of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `connection` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connection` Required. The resource being updated |
| `updateMask` | `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` Required. Field mask is used to specify the fields to be overwritten in the Connection resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    Connection connection = new Connection();
    FieldMask updateMask = new FieldMask();
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.UpdateConnectionAsync(connection, updateMask);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### UpdateConnectionAsync(UpdateConnectionRequest, CallSettings)

    public virtual Task<Operation<Connection, OperationMetadata>> UpdateConnectionAsync(UpdateConnectionRequest request, CallSettings callSettings = null)

Updates the parameters of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UpdateConnectionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    UpdateConnectionRequest request = new UpdateConnectionRequest
    {
        UpdateMask = new FieldMask(),
        Connection = new Connection(),
        RequestId = "",
        AllowMissing = false,
        ValidateOnly = false,
    };
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.UpdateConnectionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }

### UpdateConnectionAsync(UpdateConnectionRequest, CancellationToken)

    public virtual Task<Operation<Connection, OperationMetadata>> UpdateConnectionAsync(UpdateConnectionRequest request, CancellationToken cancellationToken)

Updates the parameters of a single Connection.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UpdateConnectionRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.Connectionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.OperationMetadata` | A Task containing the RPC response. |

**Example**

    // Create client
    DeveloperConnectClient developerConnectClient = await DeveloperConnectClient.CreateAsync();
    // Initialize request argument(s)
    UpdateConnectionRequest request = new UpdateConnectionRequest
    {
        UpdateMask = new FieldMask(),
        Connection = new Connection(),
        RequestId = "",
        AllowMissing = false,
        ValidateOnly = false,
    };
    // Make the request
    Operation<Connection, OperationMetadata> response = await developerConnectClient.UpdateConnectionAsync(request);

    // Poll until the returned long-running operation is complete
    Operation<Connection, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
    // Retrieve the operation result
    Connection result = completedResponse.Result;

    // Or get the name of the operation
    string operationName = response.Name;
    // This name can be stored, then the long-running operation retrieved later by name
    Operation<Connection, OperationMetadata> retrievedResponse = await developerConnectClient.PollOnceUpdateConnectionAsync(operationName);
    // Check if the retrieved long-running operation has completed
    if (retrievedResponse.IsCompleted)
    {
        // If it has completed, then access the result
        Connection retrievedResult = retrievedResponse.Result;
    }