Vision AI v1 API - Class HealthCheckService.HealthCheckServiceClient (1.0.0-beta01)

public class HealthCheckService.HealthCheckServiceClient : ClientBase<HealthCheckService.HealthCheckServiceClient>

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

Client for HealthCheckService

Inheritance

object > ClientBase > ClientBaseHealthCheckServiceHealthCheckServiceClient > HealthCheckService.HealthCheckServiceClient

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

HealthCheckServiceClient()

protected HealthCheckServiceClient()

Protected parameterless constructor to allow creation of test doubles.

HealthCheckServiceClient(CallInvoker)

public HealthCheckServiceClient(CallInvoker callInvoker)

Creates a new client for HealthCheckService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

HealthCheckServiceClient(ChannelBase)

public HealthCheckServiceClient(ChannelBase channel)

Creates a new client for HealthCheckService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

HealthCheckServiceClient(ClientBaseConfiguration)

protected HealthCheckServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

HealthCheck(HealthCheckRequest, CallOptions)

public virtual HealthCheckResponse HealthCheck(HealthCheckRequest request, CallOptions options)

HealthCheck method checks the health status of the cluster.

Parameters
Name Description
request HealthCheckRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HealthCheckResponse

The response received from the server.

HealthCheck(HealthCheckRequest, Metadata, DateTime?, CancellationToken)

public virtual HealthCheckResponse HealthCheck(HealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

HealthCheck method checks the health status of the cluster.

Parameters
Name Description
request HealthCheckRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HealthCheckResponse

The response received from the server.

HealthCheckAsync(HealthCheckRequest, CallOptions)

public virtual AsyncUnaryCall<HealthCheckResponse> HealthCheckAsync(HealthCheckRequest request, CallOptions options)

HealthCheck method checks the health status of the cluster.

Parameters
Name Description
request HealthCheckRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHealthCheckResponse

The call object.

HealthCheckAsync(HealthCheckRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HealthCheckResponse> HealthCheckAsync(HealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

HealthCheck method checks the health status of the cluster.

Parameters
Name Description
request HealthCheckRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHealthCheckResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override HealthCheckService.HealthCheckServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
HealthCheckServiceHealthCheckServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.VisionAI.V1.HealthCheckService.HealthCheckServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)