# Google Cloud Debugger v2 API - Class Debugger2Client (3.2.0)

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

- [3.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2Client)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/3.1.0/Google.Cloud.Debugger.V2.Debugger2Client)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/3.0.0/Google.Cloud.Debugger.V2.Debugger2Client)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/2.4.0/Google.Cloud.Debugger.V2.Debugger2Client)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/2.3.0/Google.Cloud.Debugger.V2.Debugger2Client)

    public abstract class Debugger2Client

Reference documentation and code samples for the Google Cloud Debugger v2 API class Debugger2Client.

Debugger2 client wrapper, for convenient use.

## Inheritance

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

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

[Debugger2ClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2ClientImpl)

## Namespace

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

## Assembly

Google.Cloud.Debugger.V2.dll

## Remarks

The Debugger service provides the API that allows users to collect run-time
information from a running application, without stopping or slowing it down
and without modifying its state. An application may include one or
more replicated processes performing the same work.

A debugged application is represented using the Debuggee concept. The
Debugger service provides a way to query for available debuggees, but does
not provide a way to create one. A debuggee is created using the Controller
service, usually by running a debugger agent with the application.

The Debugger service enables the client to set one or more Breakpoints on a
Debuggee and collect the results of the set Breakpoints.

## Properties

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the Debugger2 service, which is a host of "clouddebugger.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 Debugger2 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 Debugger2 scopes are:

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

<br />

### GrpcClient

    public virtual Debugger2.Debugger2Client GrpcClient { get; }

The underlying gRPC Debugger2 client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2.Debugger2Client` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ServiceMetadata.cs` |   |

## Methods

### Create()

    public static Debugger2Client Create()

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

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

### CreateAsync(CancellationToken)

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

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

| **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.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2Client` | The task representing the created [Debugger2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2Client). |

### DeleteBreakpoint(DeleteBreakpointRequest, CallSettings)

    public virtual void DeleteBreakpoint(DeleteBreakpointRequest request, CallSettings callSettings = null)

Deletes the breakpoint from the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.DeleteBreakpointRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    DeleteBreakpointRequest request = new DeleteBreakpointRequest
    {
        DebuggeeId = "",
        BreakpointId = "",
        ClientVersion = "",
    };
    // Make the request
    debugger2Client.DeleteBreakpoint(request);

### DeleteBreakpoint(string, string, string, CallSettings)

    public virtual void DeleteBreakpoint(string debuggeeId, string breakpointId, string clientVersion, CallSettings callSettings = null)

Deletes the breakpoint from the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoint to delete. |
| `breakpointId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the breakpoint to delete. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    string debuggeeId = "";
    string breakpointId = "";
    string clientVersion = "";
    // Make the request
    debugger2Client.DeleteBreakpoint(debuggeeId, breakpointId, clientVersion);

### DeleteBreakpointAsync(DeleteBreakpointRequest, CallSettings)

    public virtual Task DeleteBreakpointAsync(DeleteBreakpointRequest request, CallSettings callSettings = null)

Deletes the breakpoint from the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.DeleteBreakpointRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    DeleteBreakpointRequest request = new DeleteBreakpointRequest
    {
        DebuggeeId = "",
        BreakpointId = "",
        ClientVersion = "",
    };
    // Make the request
    await debugger2Client.DeleteBreakpointAsync(request);

### DeleteBreakpointAsync(DeleteBreakpointRequest, CancellationToken)

    public virtual Task DeleteBreakpointAsync(DeleteBreakpointRequest request, CancellationToken cancellationToken)

Deletes the breakpoint from the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.DeleteBreakpointRequest` 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` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    DeleteBreakpointRequest request = new DeleteBreakpointRequest
    {
        DebuggeeId = "",
        BreakpointId = "",
        ClientVersion = "",
    };
    // Make the request
    await debugger2Client.DeleteBreakpointAsync(request);

### DeleteBreakpointAsync(string, string, string, CallSettings)

    public virtual Task DeleteBreakpointAsync(string debuggeeId, string breakpointId, string clientVersion, CallSettings callSettings = null)

Deletes the breakpoint from the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoint to delete. |
| `breakpointId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the breakpoint to delete. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    string breakpointId = "";
    string clientVersion = "";
    // Make the request
    await debugger2Client.DeleteBreakpointAsync(debuggeeId, breakpointId, clientVersion);

### DeleteBreakpointAsync(string, string, string, CancellationToken)

    public virtual Task DeleteBreakpointAsync(string debuggeeId, string breakpointId, string clientVersion, CancellationToken cancellationToken)

Deletes the breakpoint from the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoint to delete. |
| `breakpointId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the breakpoint to delete. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `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` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    string breakpointId = "";
    string clientVersion = "";
    // Make the request
    await debugger2Client.DeleteBreakpointAsync(debuggeeId, breakpointId, clientVersion);

### GetBreakpoint(GetBreakpointRequest, CallSettings)

    public virtual GetBreakpointResponse GetBreakpoint(GetBreakpointRequest request, CallSettings callSettings = null)

Gets breakpoint information.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    GetBreakpointRequest request = new GetBreakpointRequest
    {
        DebuggeeId = "",
        BreakpointId = "",
        ClientVersion = "",
    };
    // Make the request
    GetBreakpointResponse response = debugger2Client.GetBreakpoint(request);

### GetBreakpoint(string, string, string, CallSettings)

    public virtual GetBreakpointResponse GetBreakpoint(string debuggeeId, string breakpointId, string clientVersion, CallSettings callSettings = null)

Gets breakpoint information.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoint to get. |
| `breakpointId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the breakpoint to get. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    string debuggeeId = "";
    string breakpointId = "";
    string clientVersion = "";
    // Make the request
    GetBreakpointResponse response = debugger2Client.GetBreakpoint(debuggeeId, breakpointId, clientVersion);

### GetBreakpointAsync(GetBreakpointRequest, CallSettings)

    public virtual Task<GetBreakpointResponse> GetBreakpointAsync(GetBreakpointRequest request, CallSettings callSettings = null)

Gets breakpoint information.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    GetBreakpointRequest request = new GetBreakpointRequest
    {
        DebuggeeId = "",
        BreakpointId = "",
        ClientVersion = "",
    };
    // Make the request
    GetBreakpointResponse response = await debugger2Client.GetBreakpointAsync(request);

### GetBreakpointAsync(GetBreakpointRequest, CancellationToken)

    public virtual Task<GetBreakpointResponse> GetBreakpointAsync(GetBreakpointRequest request, CancellationToken cancellationToken)

Gets breakpoint information.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointRequest` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    GetBreakpointRequest request = new GetBreakpointRequest
    {
        DebuggeeId = "",
        BreakpointId = "",
        ClientVersion = "",
    };
    // Make the request
    GetBreakpointResponse response = await debugger2Client.GetBreakpointAsync(request);

### GetBreakpointAsync(string, string, string, CallSettings)

    public virtual Task<GetBreakpointResponse> GetBreakpointAsync(string debuggeeId, string breakpointId, string clientVersion, CallSettings callSettings = null)

Gets breakpoint information.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoint to get. |
| `breakpointId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the breakpoint to get. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    string breakpointId = "";
    string clientVersion = "";
    // Make the request
    GetBreakpointResponse response = await debugger2Client.GetBreakpointAsync(debuggeeId, breakpointId, clientVersion);

### GetBreakpointAsync(string, string, string, CancellationToken)

    public virtual Task<GetBreakpointResponse> GetBreakpointAsync(string debuggeeId, string breakpointId, string clientVersion, CancellationToken cancellationToken)

Gets breakpoint information.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoint to get. |
| `breakpointId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the breakpoint to get. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `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.Debugger.V2/latest/Google.Cloud.Debugger.V2.GetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    string breakpointId = "";
    string clientVersion = "";
    // Make the request
    GetBreakpointResponse response = await debugger2Client.GetBreakpointAsync(debuggeeId, breakpointId, clientVersion);

### ListBreakpoints(ListBreakpointsRequest, CallSettings)

    public virtual ListBreakpointsResponse ListBreakpoints(ListBreakpointsRequest request, CallSettings callSettings = null)

Lists all breakpoints for the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    ListBreakpointsRequest request = new ListBreakpointsRequest
    {
        DebuggeeId = "",
        IncludeAllUsers = false,
        IncludeInactive = false,
        Action = new ListBreakpointsRequest.Types.BreakpointActionValue(),
        WaitToken = "",
        ClientVersion = "",
    };
    // Make the request
    ListBreakpointsResponse response = debugger2Client.ListBreakpoints(request);

### ListBreakpoints(string, string, CallSettings)

    public virtual ListBreakpointsResponse ListBreakpoints(string debuggeeId, string clientVersion, CallSettings callSettings = null)

Lists all breakpoints for the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoints to list. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    string debuggeeId = "";
    string clientVersion = "";
    // Make the request
    ListBreakpointsResponse response = debugger2Client.ListBreakpoints(debuggeeId, clientVersion);

### ListBreakpointsAsync(ListBreakpointsRequest, CallSettings)

    public virtual Task<ListBreakpointsResponse> ListBreakpointsAsync(ListBreakpointsRequest request, CallSettings callSettings = null)

Lists all breakpoints for the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    ListBreakpointsRequest request = new ListBreakpointsRequest
    {
        DebuggeeId = "",
        IncludeAllUsers = false,
        IncludeInactive = false,
        Action = new ListBreakpointsRequest.Types.BreakpointActionValue(),
        WaitToken = "",
        ClientVersion = "",
    };
    // Make the request
    ListBreakpointsResponse response = await debugger2Client.ListBreakpointsAsync(request);

### ListBreakpointsAsync(ListBreakpointsRequest, CancellationToken)

    public virtual Task<ListBreakpointsResponse> ListBreakpointsAsync(ListBreakpointsRequest request, CancellationToken cancellationToken)

Lists all breakpoints for the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsRequest` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    ListBreakpointsRequest request = new ListBreakpointsRequest
    {
        DebuggeeId = "",
        IncludeAllUsers = false,
        IncludeInactive = false,
        Action = new ListBreakpointsRequest.Types.BreakpointActionValue(),
        WaitToken = "",
        ClientVersion = "",
    };
    // Make the request
    ListBreakpointsResponse response = await debugger2Client.ListBreakpointsAsync(request);

### ListBreakpointsAsync(string, string, CallSettings)

    public virtual Task<ListBreakpointsResponse> ListBreakpointsAsync(string debuggeeId, string clientVersion, CallSettings callSettings = null)

Lists all breakpoints for the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoints to list. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    string clientVersion = "";
    // Make the request
    ListBreakpointsResponse response = await debugger2Client.ListBreakpointsAsync(debuggeeId, clientVersion);

### ListBreakpointsAsync(string, string, CancellationToken)

    public virtual Task<ListBreakpointsResponse> ListBreakpointsAsync(string debuggeeId, string clientVersion, CancellationToken cancellationToken)

Lists all breakpoints for the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee whose breakpoints to list. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListBreakpointsResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    string clientVersion = "";
    // Make the request
    ListBreakpointsResponse response = await debugger2Client.ListBreakpointsAsync(debuggeeId, clientVersion);

### ListDebuggees(ListDebuggeesRequest, CallSettings)

    public virtual ListDebuggeesResponse ListDebuggees(ListDebuggeesRequest request, CallSettings callSettings = null)

Lists all the debuggees that the user has access to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    ListDebuggeesRequest request = new ListDebuggeesRequest
    {
        Project = "",
        IncludeInactive = false,
        ClientVersion = "",
    };
    // Make the request
    ListDebuggeesResponse response = debugger2Client.ListDebuggees(request);

### ListDebuggees(string, string, CallSettings)

    public virtual ListDebuggeesResponse ListDebuggees(string project, string clientVersion, CallSettings callSettings = null)

Lists all the debuggees that the user has access to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Project number of a Google Cloud project whose debuggees to list. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    string project = "";
    string clientVersion = "";
    // Make the request
    ListDebuggeesResponse response = debugger2Client.ListDebuggees(project, clientVersion);

### ListDebuggeesAsync(ListDebuggeesRequest, CallSettings)

    public virtual Task<ListDebuggeesResponse> ListDebuggeesAsync(ListDebuggeesRequest request, CallSettings callSettings = null)

Lists all the debuggees that the user has access to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    ListDebuggeesRequest request = new ListDebuggeesRequest
    {
        Project = "",
        IncludeInactive = false,
        ClientVersion = "",
    };
    // Make the request
    ListDebuggeesResponse response = await debugger2Client.ListDebuggeesAsync(request);

### ListDebuggeesAsync(ListDebuggeesRequest, CancellationToken)

    public virtual Task<ListDebuggeesResponse> ListDebuggeesAsync(ListDebuggeesRequest request, CancellationToken cancellationToken)

Lists all the debuggees that the user has access to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesRequest` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    ListDebuggeesRequest request = new ListDebuggeesRequest
    {
        Project = "",
        IncludeInactive = false,
        ClientVersion = "",
    };
    // Make the request
    ListDebuggeesResponse response = await debugger2Client.ListDebuggeesAsync(request);

### ListDebuggeesAsync(string, string, CallSettings)

    public virtual Task<ListDebuggeesResponse> ListDebuggeesAsync(string project, string clientVersion, CallSettings callSettings = null)

Lists all the debuggees that the user has access to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Project number of a Google Cloud project whose debuggees to list. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string project = "";
    string clientVersion = "";
    // Make the request
    ListDebuggeesResponse response = await debugger2Client.ListDebuggeesAsync(project, clientVersion);

### ListDebuggeesAsync(string, string, CancellationToken)

    public virtual Task<ListDebuggeesResponse> ListDebuggeesAsync(string project, string clientVersion, CancellationToken cancellationToken)

Lists all the debuggees that the user has access to.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `https://learn.microsoft.com/dotnet/api/system.string` Required. Project number of a Google Cloud project whose debuggees to list. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `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.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListDebuggeesResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string project = "";
    string clientVersion = "";
    // Make the request
    ListDebuggeesResponse response = await debugger2Client.ListDebuggeesAsync(project, clientVersion);

### SetBreakpoint(SetBreakpointRequest, CallSettings)

    public virtual SetBreakpointResponse SetBreakpoint(SetBreakpointRequest request, CallSettings callSettings = null)

Sets the breakpoint to the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    SetBreakpointRequest request = new SetBreakpointRequest
    {
        DebuggeeId = "",
        Breakpoint = new Breakpoint(),
        ClientVersion = "",
    };
    // Make the request
    SetBreakpointResponse response = debugger2Client.SetBreakpoint(request);

### SetBreakpoint(string, Breakpoint, string, CallSettings)

    public virtual SetBreakpointResponse SetBreakpoint(string debuggeeId, Breakpoint breakpoint, string clientVersion, CallSettings callSettings = null)

Sets the breakpoint to the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee where the breakpoint is to be set. |
| `breakpoint` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Breakpoint` Required. Breakpoint specification to set. The field `location` of the breakpoint must be set. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointResponse` | The RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = Debugger2Client.Create();
    // Initialize request argument(s)
    string debuggeeId = "";
    Breakpoint breakpoint = new Breakpoint();
    string clientVersion = "";
    // Make the request
    SetBreakpointResponse response = debugger2Client.SetBreakpoint(debuggeeId, breakpoint, clientVersion);

### SetBreakpointAsync(SetBreakpointRequest, CallSettings)

    public virtual Task<SetBreakpointResponse> SetBreakpointAsync(SetBreakpointRequest request, CallSettings callSettings = null)

Sets the breakpoint to the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    SetBreakpointRequest request = new SetBreakpointRequest
    {
        DebuggeeId = "",
        Breakpoint = new Breakpoint(),
        ClientVersion = "",
    };
    // Make the request
    SetBreakpointResponse response = await debugger2Client.SetBreakpointAsync(request);

### SetBreakpointAsync(SetBreakpointRequest, CancellationToken)

    public virtual Task<SetBreakpointResponse> SetBreakpointAsync(SetBreakpointRequest request, CancellationToken cancellationToken)

Sets the breakpoint to the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointRequest` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    SetBreakpointRequest request = new SetBreakpointRequest
    {
        DebuggeeId = "",
        Breakpoint = new Breakpoint(),
        ClientVersion = "",
    };
    // Make the request
    SetBreakpointResponse response = await debugger2Client.SetBreakpointAsync(request);

### SetBreakpointAsync(string, Breakpoint, string, CallSettings)

    public virtual Task<SetBreakpointResponse> SetBreakpointAsync(string debuggeeId, Breakpoint breakpoint, string clientVersion, CallSettings callSettings = null)

Sets the breakpoint to the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee where the breakpoint is to be set. |
| `breakpoint` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Breakpoint` Required. Breakpoint specification to set. The field `location` of the breakpoint must be set. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `callSettings` | `https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/CallSettings.cs` 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.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    Breakpoint breakpoint = new Breakpoint();
    string clientVersion = "";
    // Make the request
    SetBreakpointResponse response = await debugger2Client.SetBreakpointAsync(debuggeeId, breakpoint, clientVersion);

### SetBreakpointAsync(string, Breakpoint, string, CancellationToken)

    public virtual Task<SetBreakpointResponse> SetBreakpointAsync(string debuggeeId, Breakpoint breakpoint, string clientVersion, CancellationToken cancellationToken)

Sets the breakpoint to the debuggee.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `debuggeeId` | `https://learn.microsoft.com/dotnet/api/system.string` Required. ID of the debuggee where the breakpoint is to be set. |
| `breakpoint` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Breakpoint` Required. Breakpoint specification to set. The field `location` of the breakpoint must be set. |
| `clientVersion` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The client version making the call. Schema: `domain/type/version` (e.g., `google.com/intellij/v1`). |
| `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.Debugger.V2/latest/Google.Cloud.Debugger.V2.SetBreakpointResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    Debugger2Client debugger2Client = await Debugger2Client.CreateAsync();
    // Initialize request argument(s)
    string debuggeeId = "";
    Breakpoint breakpoint = new Breakpoint();
    string clientVersion = "";
    // Make the request
    SetBreakpointResponse response = await debugger2Client.SetBreakpointAsync(debuggeeId, breakpoint, clientVersion);

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2Client#Google_Cloud_Debugger_V2_Debugger2Client_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2Client#Google_Cloud_Debugger_V2_Debugger2Client_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.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2Client#Google_Cloud_Debugger_V2_Debugger2Client_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Debugger2Client#Google_Cloud_Debugger_V2_Debugger2Client_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.