# Google Cloud Debugger v2 API - Class Controller2.Controller2Client (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.Controller2.Controller2Client)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/3.1.0/Google.Cloud.Debugger.V2.Controller2.Controller2Client)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/3.0.0/Google.Cloud.Debugger.V2.Controller2.Controller2Client)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/2.4.0/Google.Cloud.Debugger.V2.Controller2.Controller2Client)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/2.3.0/Google.Cloud.Debugger.V2.Controller2.Controller2Client)

    public class Controller2.Controller2Client : ClientBase<Controller2.Controller2Client>

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

Client for Controller2

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cs) \> [ClientBase](https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cs)[Controller2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Controller2)[Controller2Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Controller2.Controller2Client) \> Controller2.Controller2Client

## Inherited Members

[ClientBase\<Controller2.Controller2Client\>.WithHost(string)](https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cs) [ClientBase.CallInvoker](https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cs) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.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

## Constructors

### Controller2Client()

    protected Controller2Client()

Protected parameterless constructor to allow creation of test doubles.

### Controller2Client(CallInvoker)

    public Controller2Client(CallInvoker callInvoker)

Creates a new client for Controller2 that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/CallInvoker.cs` The callInvoker to use to make remote calls. |

### Controller2Client(ChannelBase)

    public Controller2Client(ChannelBase channel)

Creates a new client for Controller2

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ChannelBase.cs` The channel to use to make remote calls. |

### Controller2Client(ClientBaseConfiguration)

    protected Controller2Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cshttps://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cs` The client configuration. |

## Methods

### ListActiveBreakpoints(ListActiveBreakpointsRequest, CallOptions)

    public virtual ListActiveBreakpointsResponse ListActiveBreakpoints(ListActiveBreakpointsRequest request, CallOptions options)

Returns the list of all active breakpoints for the debuggee.

The breakpoint specification (`location`, `condition`, and `expressions`
fields) is semantically immutable, although the field values may
change. For example, an agent may update the location line number
to reflect the actual line where the breakpoint was set, but this
doesn't change the breakpoint semantics.

This means that an agent does not need to check if a breakpoint has changed
when it encounters the same breakpoint on a successive call.
Moreover, an agent should remember the breakpoints that are completed
until the controller removes them from the active list to avoid
setting those breakpoints again.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsRequest` The request to send to the server. |
| `options` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/CallOptions.cs` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsResponse` | The response received from the server. |

### ListActiveBreakpoints(ListActiveBreakpointsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListActiveBreakpointsResponse ListActiveBreakpoints(ListActiveBreakpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all active breakpoints for the debuggee.

The breakpoint specification (`location`, `condition`, and `expressions`
fields) is semantically immutable, although the field values may
change. For example, an agent may update the location line number
to reflect the actual line where the breakpoint was set, but this
doesn't change the breakpoint semantics.

This means that an agent does not need to check if a breakpoint has changed
when it encounters the same breakpoint on a successive call.
Moreover, an agent should remember the breakpoints that are completed
until the controller removes them from the active list to avoid
setting those breakpoints again.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsRequest` The request to send to the server. |
| `headers` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/Metadata.cs` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `https://learn.microsoft.com/dotnet/api/system.datetime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsResponse` | The response received from the server. |

### ListActiveBreakpointsAsync(ListActiveBreakpointsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListActiveBreakpointsResponse> ListActiveBreakpointsAsync(ListActiveBreakpointsRequest request, CallOptions options)

Returns the list of all active breakpoints for the debuggee.

The breakpoint specification (`location`, `condition`, and `expressions`
fields) is semantically immutable, although the field values may
change. For example, an agent may update the location line number
to reflect the actual line where the breakpoint was set, but this
doesn't change the breakpoint semantics.

This means that an agent does not need to check if a breakpoint has changed
when it encounters the same breakpoint on a successive call.
Moreover, an agent should remember the breakpoints that are completed
until the controller removes them from the active list to avoid
setting those breakpoints again.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsRequest` The request to send to the server. |
| `options` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/CallOptions.cs` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/AsyncUnaryCall.cshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsResponse` | The call object. |

### ListActiveBreakpointsAsync(ListActiveBreakpointsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListActiveBreakpointsResponse> ListActiveBreakpointsAsync(ListActiveBreakpointsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all active breakpoints for the debuggee.

The breakpoint specification (`location`, `condition`, and `expressions`
fields) is semantically immutable, although the field values may
change. For example, an agent may update the location line number
to reflect the actual line where the breakpoint was set, but this
doesn't change the breakpoint semantics.

This means that an agent does not need to check if a breakpoint has changed
when it encounters the same breakpoint on a successive call.
Moreover, an agent should remember the breakpoints that are completed
until the controller removes them from the active list to avoid
setting those breakpoints again.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsRequest` The request to send to the server. |
| `headers` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/Metadata.cs` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `https://learn.microsoft.com/dotnet/api/system.datetime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/AsyncUnaryCall.cshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.ListActiveBreakpointsResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override Controller2.Controller2Client NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cshttps://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cs` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Controller2https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.Controller2.Controller2Client` |   |

**Overrides** [ClientBase\<Controller2.Controller2Client\>.NewInstance(ClientBase.ClientBaseConfiguration)](https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/ClientBase.cs)

### RegisterDebuggee(RegisterDebuggeeRequest, CallOptions)

    public virtual RegisterDebuggeeResponse RegisterDebuggee(RegisterDebuggeeRequest request, CallOptions options)

Registers the debuggee with the controller service.

All agents attached to the same application must call this method with
exactly the same request content to get back the same stable `debuggee_id`.
Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
is returned from any controller method.

This protocol allows the controller service to disable debuggees, recover
from data loss, or change the `debuggee_id` format. Agents must handle
`debuggee_id` value changing upon re-registration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeRequest` The request to send to the server. |
| `options` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/CallOptions.cs` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeResponse` | The response received from the server. |

### RegisterDebuggee(RegisterDebuggeeRequest, Metadata, DateTime?, CancellationToken)

    public virtual RegisterDebuggeeResponse RegisterDebuggee(RegisterDebuggeeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Registers the debuggee with the controller service.

All agents attached to the same application must call this method with
exactly the same request content to get back the same stable `debuggee_id`.
Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
is returned from any controller method.

This protocol allows the controller service to disable debuggees, recover
from data loss, or change the `debuggee_id` format. Agents must handle
`debuggee_id` value changing upon re-registration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeRequest` The request to send to the server. |
| `headers` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/Metadata.cs` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `https://learn.microsoft.com/dotnet/api/system.datetime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeResponse` | The response received from the server. |

### RegisterDebuggeeAsync(RegisterDebuggeeRequest, CallOptions)

    public virtual AsyncUnaryCall<RegisterDebuggeeResponse> RegisterDebuggeeAsync(RegisterDebuggeeRequest request, CallOptions options)

Registers the debuggee with the controller service.

All agents attached to the same application must call this method with
exactly the same request content to get back the same stable `debuggee_id`.
Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
is returned from any controller method.

This protocol allows the controller service to disable debuggees, recover
from data loss, or change the `debuggee_id` format. Agents must handle
`debuggee_id` value changing upon re-registration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeRequest` The request to send to the server. |
| `options` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/CallOptions.cs` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/AsyncUnaryCall.cshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeResponse` | The call object. |

### RegisterDebuggeeAsync(RegisterDebuggeeRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<RegisterDebuggeeResponse> RegisterDebuggeeAsync(RegisterDebuggeeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Registers the debuggee with the controller service.

All agents attached to the same application must call this method with
exactly the same request content to get back the same stable `debuggee_id`.
Agents should call this method again whenever `google.rpc.Code.NOT_FOUND`
is returned from any controller method.

This protocol allows the controller service to disable debuggees, recover
from data loss, or change the `debuggee_id` format. Agents must handle
`debuggee_id` value changing upon re-registration.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeRequest` The request to send to the server. |
| `headers` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/Metadata.cs` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `https://learn.microsoft.com/dotnet/api/system.datetime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/AsyncUnaryCall.cshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.RegisterDebuggeeResponse` | The call object. |

### UpdateActiveBreakpoint(UpdateActiveBreakpointRequest, CallOptions)

    public virtual UpdateActiveBreakpointResponse UpdateActiveBreakpoint(UpdateActiveBreakpointRequest request, CallOptions options)

Updates the breakpoint state or mutable fields.
The entire Breakpoint message must be sent back to the controller service.

Updates to active breakpoint fields are only allowed if the new value
does not change the breakpoint specification. Updates to the `location`,
`condition` and `expressions` fields should not alter the breakpoint
semantics. These may only make changes such as canonicalizing a value
or snapping the location to the correct line of code.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointRequest` The request to send to the server. |
| `options` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/CallOptions.cs` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointResponse` | The response received from the server. |

### UpdateActiveBreakpoint(UpdateActiveBreakpointRequest, Metadata, DateTime?, CancellationToken)

    public virtual UpdateActiveBreakpointResponse UpdateActiveBreakpoint(UpdateActiveBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the breakpoint state or mutable fields.
The entire Breakpoint message must be sent back to the controller service.

Updates to active breakpoint fields are only allowed if the new value
does not change the breakpoint specification. Updates to the `location`,
`condition` and `expressions` fields should not alter the breakpoint
semantics. These may only make changes such as canonicalizing a value
or snapping the location to the correct line of code.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointRequest` The request to send to the server. |
| `headers` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/Metadata.cs` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `https://learn.microsoft.com/dotnet/api/system.datetime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointResponse` | The response received from the server. |

### UpdateActiveBreakpointAsync(UpdateActiveBreakpointRequest, CallOptions)

    public virtual AsyncUnaryCall<UpdateActiveBreakpointResponse> UpdateActiveBreakpointAsync(UpdateActiveBreakpointRequest request, CallOptions options)

Updates the breakpoint state or mutable fields.
The entire Breakpoint message must be sent back to the controller service.

Updates to active breakpoint fields are only allowed if the new value
does not change the breakpoint specification. Updates to the `location`,
`condition` and `expressions` fields should not alter the breakpoint
semantics. These may only make changes such as canonicalizing a value
or snapping the location to the correct line of code.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointRequest` The request to send to the server. |
| `options` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/CallOptions.cs` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/AsyncUnaryCall.cshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointResponse` | The call object. |

### UpdateActiveBreakpointAsync(UpdateActiveBreakpointRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<UpdateActiveBreakpointResponse> UpdateActiveBreakpointAsync(UpdateActiveBreakpointRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the breakpoint state or mutable fields.
The entire Breakpoint message must be sent back to the controller service.

Updates to active breakpoint fields are only allowed if the new value
does not change the breakpoint specification. Updates to the `location`,
`condition` and `expressions` fields should not alter the breakpoint
semantics. These may only make changes such as canonicalizing a value
or snapping the location to the correct line of code.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointRequest` The request to send to the server. |
| `headers` | `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/Metadata.cs` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `https://learn.microsoft.com/dotnet/api/system.datetime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://github.com/grpc/grpc-dotnet/blob/6e6bcb5a10588f4853cf32aab0195346768a2a36/src/Grpc.Core.Api/AsyncUnaryCall.cshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Debugger.V2/latest/Google.Cloud.Debugger.V2.UpdateActiveBreakpointResponse` | The call object. |