1.0.0 (latest) 1.0.0-beta01

    public sealed class HealthCheckServiceClientImpl : HealthCheckServiceClient

Reference documentation and code samples for the Vision AI v1 API class HealthCheckServiceClientImpl.

HealthCheckService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [HealthCheckServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient) \> HealthCheckServiceClientImpl

## Inherited Members

[HealthCheckServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_DefaultEndpoint) [HealthCheckServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_DefaultScopes) [HealthCheckServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_ServiceMetadata) [HealthCheckServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_CreateAsync_System_Threading_CancellationToken_) [HealthCheckServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_Create) [HealthCheckServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_ShutdownDefaultChannelsAsync) [HealthCheckServiceClient.HealthCheckAsync(HealthCheckRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_HealthCheckAsync_Google_Cloud_VisionAI_V1_HealthCheckRequest_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.VisionAI.V1.dll

## Remarks

HealthCheckService provides an interface for Vertex AI Vision Cluster Health Check.

## Constructors

### HealthCheckServiceClientImpl(HealthCheckServiceClient, HealthCheckServiceSettings, ILogger)

    public HealthCheckServiceClientImpl(HealthCheckService.HealthCheckServiceClient grpcClient, HealthCheckServiceSettings settings, ILogger logger)

Constructs a client wrapper for the HealthCheckService service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckService.HealthCheckServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceSettings` The base [HealthCheckServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override HealthCheckService.HealthCheckServiceClient GrpcClient { get; }

The underlying gRPC HealthCheckService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckService.HealthCheckServiceClient` |   |

**Overrides** [HealthCheckServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_GrpcClient)

### IAMPolicyClient

    public override IAMPolicyClient IAMPolicyClient { get; }

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

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

**Overrides** [HealthCheckServiceClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_IAMPolicyClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

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

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

**Overrides** [HealthCheckServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_LocationsClient)

## Methods

### HealthCheck(HealthCheckRequest, CallSettings)

    public override HealthCheckResponse HealthCheck(HealthCheckRequest request, CallSettings callSettings = null)

HealthCheck method checks the health status of the cluster.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckRequest` 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.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckResponse` | The RPC response. |

**Overrides** [HealthCheckServiceClient.HealthCheck(HealthCheckRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_HealthCheck_Google_Cloud_VisionAI_V1_HealthCheckRequest_Google_Api_Gax_Grpc_CallSettings_)

### HealthCheckAsync(HealthCheckRequest, CallSettings)

    public override Task<HealthCheckResponse> HealthCheckAsync(HealthCheckRequest request, CallSettings callSettings = null)

HealthCheck method checks the health status of the cluster.

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

**Overrides** [HealthCheckServiceClient.HealthCheckAsync(HealthCheckRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.HealthCheckServiceClient#Google_Cloud_VisionAI_V1_HealthCheckServiceClient_HealthCheckAsync_Google_Cloud_VisionAI_V1_HealthCheckRequest_Google_Api_Gax_Grpc_CallSettings_)