2.12.0-rc 2.11.0 (latest)

## Classes

### [Controller2Client](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Client.md.txt)

The Controller service provides the API for orchestrating a collection of debugger agents to perform debugging tasks.

### [Controller2Connection](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Connection.md.txt)

The [`Controller2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Connection.md.txt) object for [`Controller2Client`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Client.md.txt).

### [Controller2ConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2ConnectionIdempotencyPolicy.md.txt)

### [Debugger2Client](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Client.md.txt)

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.

### [Debugger2Connection](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Connection.md.txt)

The [`Debugger2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Connection.md.txt) object for [`Debugger2Client`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Client.md.txt).

### [Debugger2ConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2ConnectionIdempotencyPolicy.md.txt)

## Structs

### [Controller2BackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/structgoogle_1_1cloud_1_1debugger__v2_1_1Controller2BackoffPolicyOption.md.txt)

Use with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [Controller2ConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/structgoogle_1_1cloud_1_1debugger__v2_1_1Controller2ConnectionIdempotencyPolicyOption.md.txt)

Use with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [Controller2RetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/structgoogle_1_1cloud_1_1debugger__v2_1_1Controller2RetryPolicyOption.md.txt)

Use with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [Debugger2BackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/structgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2BackoffPolicyOption.md.txt)

Use with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [Debugger2ConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/structgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2ConnectionIdempotencyPolicyOption.md.txt)

Use with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [Debugger2RetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/structgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2RetryPolicyOption.md.txt)

Use with [`google::cloud::Options`](https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

## Functions

### MakeController2Connection(Options)

A factory function to construct an object of type [`Controller2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Connection.md.txt).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [Controller2Client](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Client.md.txt).

The optional `options` argument may be used to configure aspects of the returned [`Controller2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Connection.md.txt). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::debugger_v2::Controller2PolicyOptionList`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/namespacegoogle_1_1cloud_1_1debugger__v2.md.txt)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | (optional) Configure the [`Controller2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Controller2Connection.md.txt) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< Controller2Connection >` |   |

### MakeDefaultController2ConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< Controller2ConnectionIdempotencyPolicy >` |   |

### MakeDebugger2Connection(Options)

A factory function to construct an object of type [`Debugger2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Connection.md.txt).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [Debugger2Client](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Client.md.txt).

The optional `options` argument may be used to configure aspects of the returned [`Debugger2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Connection.md.txt). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::debugger_v2::Debugger2PolicyOptionList`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/namespacegoogle_1_1cloud_1_1debugger__v2.md.txt)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | (optional) Configure the [`Debugger2Connection`](https://docs.cloud.google.com/cpp/docs/reference/debugger/latest/classgoogle_1_1cloud_1_1debugger__v2_1_1Debugger2Connection.md.txt) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< Debugger2Connection >` |   |

### MakeDefaultDebugger2ConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< Debugger2ConnectionIdempotencyPolicy >` |   |

## Type Aliases

### Controller2RetryPolicy

**Alias Of** : `::google::cloud::internal::TraitBasedRetryPolicy< debugger_v2_internal::Controller2RetryTraits >`

### Controller2LimitedTimeRetryPolicy

**Alias Of** : `::google::cloud::internal::LimitedTimeRetryPolicy< debugger_v2_internal::Controller2RetryTraits >`

### Controller2LimitedErrorCountRetryPolicy

**Alias Of** : `::google::cloud::internal::LimitedErrorCountRetryPolicy< debugger_v2_internal::Controller2RetryTraits >`

### Controller2PolicyOptionList

**Alias Of** : `OptionList< Controller2RetryPolicyOption, Controller2BackoffPolicyOption, Controller2ConnectionIdempotencyPolicyOption >` The options applicable to Controller2.

### Debugger2RetryPolicy

**Alias Of** : `::google::cloud::internal::TraitBasedRetryPolicy< debugger_v2_internal::Debugger2RetryTraits >`

### Debugger2LimitedTimeRetryPolicy

**Alias Of** : `::google::cloud::internal::LimitedTimeRetryPolicy< debugger_v2_internal::Debugger2RetryTraits >`

### Debugger2LimitedErrorCountRetryPolicy

**Alias Of** : `::google::cloud::internal::LimitedErrorCountRetryPolicy< debugger_v2_internal::Debugger2RetryTraits >`

### Debugger2PolicyOptionList

**Alias Of** : `OptionList< Debugger2RetryPolicyOption, Debugger2BackoffPolicyOption, Debugger2ConnectionIdempotencyPolicyOption >` The options applicable to Debugger2.