# Google Cloud reCAPTCHA Enterprise v1beta1 API - Class RecaptchaEnterpriseServiceV1Beta1Client (2.0.0-beta10)

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

- [2.0.0-beta10 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.RecaptchaEnterpriseServiceV1Beta1Client)
- [2.0.0-beta09](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/2.0.0-beta09/Google.Cloud.RecaptchaEnterprise.V1Beta1.RecaptchaEnterpriseServiceV1Beta1Client)
- [1.0.0-beta06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/1.0.0-beta06/Google.Cloud.RecaptchaEnterprise.V1Beta1.RecaptchaEnterpriseServiceV1Beta1Client)

    public abstract class RecaptchaEnterpriseServiceV1Beta1Client

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1beta1 API class RecaptchaEnterpriseServiceV1Beta1Client.

RecaptchaEnterpriseServiceV1Beta1 client wrapper, for convenient use.

## Inheritance

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

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

[RecaptchaEnterpriseServiceV1Beta1ClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.RecaptchaEnterpriseServiceV1Beta1ClientImpl)

## Namespace

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

## Assembly

Google.Cloud.RecaptchaEnterprise.V1Beta1.dll

## Remarks

Service to determine the likelihood an event is legitimate.

## Properties

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

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

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

<br />

### GrpcClient

    public virtual RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client GrpcClient { get; }

The underlying gRPC RecaptchaEnterpriseServiceV1Beta1 client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.RecaptchaEnterpriseServiceV1Beta1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client` |   |

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

## Methods

### AnnotateAssessment(AnnotateAssessmentRequest, CallSettings)

    public virtual AnnotateAssessmentResponse AnnotateAssessment(AnnotateAssessmentRequest request, CallSettings callSettings = null)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest` 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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentResponse` | The RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = RecaptchaEnterpriseServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    AnnotateAssessmentRequest request = new AnnotateAssessmentRequest
    {
        AssessmentName = AssessmentName.FromProjectAssessment("[PROJECT]", "[ASSESSMENT]"),
        Annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified,
        Reasons =
        {
            AnnotateAssessmentRequest.Types.Reason.Unspecified,
        },
        HashedAccountId = ByteString.Empty,
        TransactionEvent = new TransactionEvent(),
    };
    // Make the request
    AnnotateAssessmentResponse response = recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessment(request);

### AnnotateAssessment(AssessmentName, Annotation, CallSettings)

    public virtual AnnotateAssessmentResponse AnnotateAssessment(AssessmentName name, AnnotateAssessmentRequest.Types.Annotation annotation, CallSettings callSettings = null)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AssessmentName` Required. The resource name of the Assessment, in the format `projects/{project_number}/assessments/{assessment_id}`. |
| `annotation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Types.Annotation` Optional. The annotation that is assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentResponse` | The RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = RecaptchaEnterpriseServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    AssessmentName name = AssessmentName.FromProjectAssessment("[PROJECT]", "[ASSESSMENT]");
    AnnotateAssessmentRequest.Types.Annotation annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified;
    // Make the request
    AnnotateAssessmentResponse response = recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessment(name, annotation);

### AnnotateAssessment(string, Annotation, CallSettings)

    public virtual AnnotateAssessmentResponse AnnotateAssessment(string name, AnnotateAssessmentRequest.Types.Annotation annotation, CallSettings callSettings = null)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the Assessment, in the format `projects/{project_number}/assessments/{assessment_id}`. |
| `annotation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Types.Annotation` Optional. The annotation that is assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentResponse` | The RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = RecaptchaEnterpriseServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/assessments/[ASSESSMENT]";
    AnnotateAssessmentRequest.Types.Annotation annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified;
    // Make the request
    AnnotateAssessmentResponse response = recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessment(name, annotation);

### AnnotateAssessmentAsync(AnnotateAssessmentRequest, CallSettings)

    public virtual Task<AnnotateAssessmentResponse> AnnotateAssessmentAsync(AnnotateAssessmentRequest request, CallSettings callSettings = null)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

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

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    AnnotateAssessmentRequest request = new AnnotateAssessmentRequest
    {
        AssessmentName = AssessmentName.FromProjectAssessment("[PROJECT]", "[ASSESSMENT]"),
        Annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified,
        Reasons =
        {
            AnnotateAssessmentRequest.Types.Reason.Unspecified,
        },
        HashedAccountId = ByteString.Empty,
        TransactionEvent = new TransactionEvent(),
    };
    // Make the request
    AnnotateAssessmentResponse response = await recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessmentAsync(request);

### AnnotateAssessmentAsync(AnnotateAssessmentRequest, CancellationToken)

    public virtual Task<AnnotateAssessmentResponse> AnnotateAssessmentAsync(AnnotateAssessmentRequest request, CancellationToken cancellationToken)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

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

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    AnnotateAssessmentRequest request = new AnnotateAssessmentRequest
    {
        AssessmentName = AssessmentName.FromProjectAssessment("[PROJECT]", "[ASSESSMENT]"),
        Annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified,
        Reasons =
        {
            AnnotateAssessmentRequest.Types.Reason.Unspecified,
        },
        HashedAccountId = ByteString.Empty,
        TransactionEvent = new TransactionEvent(),
    };
    // Make the request
    AnnotateAssessmentResponse response = await recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessmentAsync(request);

### AnnotateAssessmentAsync(AssessmentName, Annotation, CallSettings)

    public virtual Task<AnnotateAssessmentResponse> AnnotateAssessmentAsync(AssessmentName name, AnnotateAssessmentRequest.Types.Annotation annotation, CallSettings callSettings = null)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AssessmentName` Required. The resource name of the Assessment, in the format `projects/{project_number}/assessments/{assessment_id}`. |
| `annotation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Types.Annotation` Optional. The annotation that is assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    AssessmentName name = AssessmentName.FromProjectAssessment("[PROJECT]", "[ASSESSMENT]");
    AnnotateAssessmentRequest.Types.Annotation annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified;
    // Make the request
    AnnotateAssessmentResponse response = await recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessmentAsync(name, annotation);

### AnnotateAssessmentAsync(AssessmentName, Annotation, CancellationToken)

    public virtual Task<AnnotateAssessmentResponse> AnnotateAssessmentAsync(AssessmentName name, AnnotateAssessmentRequest.Types.Annotation annotation, CancellationToken cancellationToken)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AssessmentName` Required. The resource name of the Assessment, in the format `projects/{project_number}/assessments/{assessment_id}`. |
| `annotation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Types.Annotation` Optional. The annotation that is assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    AssessmentName name = AssessmentName.FromProjectAssessment("[PROJECT]", "[ASSESSMENT]");
    AnnotateAssessmentRequest.Types.Annotation annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified;
    // Make the request
    AnnotateAssessmentResponse response = await recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessmentAsync(name, annotation);

### AnnotateAssessmentAsync(string, Annotation, CallSettings)

    public virtual Task<AnnotateAssessmentResponse> AnnotateAssessmentAsync(string name, AnnotateAssessmentRequest.Types.Annotation annotation, CallSettings callSettings = null)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the Assessment, in the format `projects/{project_number}/assessments/{assessment_id}`. |
| `annotation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Types.Annotation` Optional. The annotation that is assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/assessments/[ASSESSMENT]";
    AnnotateAssessmentRequest.Types.Annotation annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified;
    // Make the request
    AnnotateAssessmentResponse response = await recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessmentAsync(name, annotation);

### AnnotateAssessmentAsync(string, Annotation, CancellationToken)

    public virtual Task<AnnotateAssessmentResponse> AnnotateAssessmentAsync(string name, AnnotateAssessmentRequest.Types.Annotation annotation, CancellationToken cancellationToken)

Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fradulent.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The resource name of the Assessment, in the format `projects/{project_number}/assessments/{assessment_id}`. |
| `annotation` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentRequest.Types.Annotation` Optional. The annotation that is assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.AnnotateAssessmentResponse` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    string name = "projects/[PROJECT]/assessments/[ASSESSMENT]";
    AnnotateAssessmentRequest.Types.Annotation annotation = AnnotateAssessmentRequest.Types.Annotation.Unspecified;
    // Make the request
    AnnotateAssessmentResponse response = await recaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessmentAsync(name, annotation);

### Create()

    public static RecaptchaEnterpriseServiceV1Beta1Client Create()

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

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

### CreateAssessment(ProjectName, Assessment, CallSettings)

    public virtual Assessment CreateAssessment(ProjectName parent, Assessment assessment, CallSettings callSettings = null)

Creates an Assessment of the likelihood an event is legitimate.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`. |
| `assessment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` Required. The assessment details. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` | The RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = RecaptchaEnterpriseServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    Assessment assessment = new Assessment();
    // Make the request
    Assessment response = recaptchaEnterpriseServiceV1Beta1Client.CreateAssessment(parent, assessment);

### CreateAssessment(CreateAssessmentRequest, CallSettings)

    public virtual Assessment CreateAssessment(CreateAssessmentRequest request, CallSettings callSettings = null)

Creates an Assessment of the likelihood an event is legitimate.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.CreateAssessmentRequest` 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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` | The RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = RecaptchaEnterpriseServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    CreateAssessmentRequest request = new CreateAssessmentRequest
    {
        ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
        Assessment = new Assessment(),
    };
    // Make the request
    Assessment response = recaptchaEnterpriseServiceV1Beta1Client.CreateAssessment(request);

### CreateAssessment(string, Assessment, CallSettings)

    public virtual Assessment CreateAssessment(string parent, Assessment assessment, CallSettings callSettings = null)

Creates an Assessment of the likelihood an event is legitimate.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`. |
| `assessment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` Required. The assessment details. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` | The RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = RecaptchaEnterpriseServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]";
    Assessment assessment = new Assessment();
    // Make the request
    Assessment response = recaptchaEnterpriseServiceV1Beta1Client.CreateAssessment(parent, assessment);

### CreateAssessmentAsync(ProjectName, Assessment, CallSettings)

    public virtual Task<Assessment> CreateAssessmentAsync(ProjectName parent, Assessment assessment, CallSettings callSettings = null)

Creates an Assessment of the likelihood an event is legitimate.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`. |
| `assessment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` Required. The assessment details. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    Assessment assessment = new Assessment();
    // Make the request
    Assessment response = await recaptchaEnterpriseServiceV1Beta1Client.CreateAssessmentAsync(parent, assessment);

### CreateAssessmentAsync(ProjectName, Assessment, CancellationToken)

    public virtual Task<Assessment> CreateAssessmentAsync(ProjectName parent, Assessment assessment, CancellationToken cancellationToken)

Creates an Assessment of the likelihood an event is legitimate.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`. |
| `assessment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` Required. The assessment details. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    Assessment assessment = new Assessment();
    // Make the request
    Assessment response = await recaptchaEnterpriseServiceV1Beta1Client.CreateAssessmentAsync(parent, assessment);

### CreateAssessmentAsync(CreateAssessmentRequest, CallSettings)

    public virtual Task<Assessment> CreateAssessmentAsync(CreateAssessmentRequest request, CallSettings callSettings = null)

Creates an Assessment of the likelihood an event is legitimate.

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

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    CreateAssessmentRequest request = new CreateAssessmentRequest
    {
        ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
        Assessment = new Assessment(),
    };
    // Make the request
    Assessment response = await recaptchaEnterpriseServiceV1Beta1Client.CreateAssessmentAsync(request);

### CreateAssessmentAsync(CreateAssessmentRequest, CancellationToken)

    public virtual Task<Assessment> CreateAssessmentAsync(CreateAssessmentRequest request, CancellationToken cancellationToken)

Creates an Assessment of the likelihood an event is legitimate.

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

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    CreateAssessmentRequest request = new CreateAssessmentRequest
    {
        ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
        Assessment = new Assessment(),
    };
    // Make the request
    Assessment response = await recaptchaEnterpriseServiceV1Beta1Client.CreateAssessmentAsync(request);

### CreateAssessmentAsync(string, Assessment, CallSettings)

    public virtual Task<Assessment> CreateAssessmentAsync(string parent, Assessment assessment, CallSettings callSettings = null)

Creates an Assessment of the likelihood an event is legitimate.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`. |
| `assessment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` Required. The assessment details. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]";
    Assessment assessment = new Assessment();
    // Make the request
    Assessment response = await recaptchaEnterpriseServiceV1Beta1Client.CreateAssessmentAsync(parent, assessment);

### CreateAssessmentAsync(string, Assessment, CancellationToken)

    public virtual Task<Assessment> CreateAssessmentAsync(string parent, Assessment assessment, CancellationToken cancellationToken)

Creates an Assessment of the likelihood an event is legitimate.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the project in which the assessment is created, in the format `projects/{project_number}`. |
| `assessment` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` Required. The assessment details. |
| `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.RecaptchaEnterprise.V1Beta1/latest/Google.Cloud.RecaptchaEnterprise.V1Beta1.Assessment` | A Task containing the RPC response. |

**Example**

    // Create client
    RecaptchaEnterpriseServiceV1Beta1Client recaptchaEnterpriseServiceV1Beta1Client = await RecaptchaEnterpriseServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]";
    Assessment assessment = new Assessment();
    // Make the request
    Assessment response = await recaptchaEnterpriseServiceV1Beta1Client.CreateAssessmentAsync(parent, assessment);

### CreateAsync(CancellationToken)

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

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

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

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

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