Compute Engine v1 API - Class RegionHealthChecksClientImpl (2.16.0)

public sealed class RegionHealthChecksClientImpl : RegionHealthChecksClient

Reference documentation and code samples for the Compute Engine v1 API class RegionHealthChecksClientImpl.

RegionHealthChecks client wrapper implementation, for convenient use.

Inheritance

object > RegionHealthChecksClient > RegionHealthChecksClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionHealthChecks API.

Constructors

RegionHealthChecksClientImpl(RegionHealthChecksClient, RegionHealthChecksSettings, ILogger)

public RegionHealthChecksClientImpl(RegionHealthChecks.RegionHealthChecksClient grpcClient, RegionHealthChecksSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient RegionHealthChecksRegionHealthChecksClient

The underlying gRPC client.

settings RegionHealthChecksSettings

The base RegionHealthChecksSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override RegionHealthChecks.RegionHealthChecksClient GrpcClient { get; }

The underlying gRPC RegionHealthChecks client

Property Value
Type Description
RegionHealthChecksRegionHealthChecksClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteRegionHealthCheckRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionHealthCheckRequest request, CallSettings callSettings = null)

Deletes the specified HealthCheck resource.

Parameters
Name Description
request DeleteRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteRegionHealthCheckRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionHealthCheckRequest request, CallSettings callSettings = null)

Deletes the specified HealthCheck resource.

Parameters
Name Description
request DeleteRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetRegionHealthCheckRequest, CallSettings)

public override HealthCheck Get(GetRegionHealthCheckRequest request, CallSettings callSettings = null)

Returns the specified HealthCheck resource.

Parameters
Name Description
request GetRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
HealthCheck

The RPC response.

Overrides

GetAsync(GetRegionHealthCheckRequest, CallSettings)

public override Task<HealthCheck> GetAsync(GetRegionHealthCheckRequest request, CallSettings callSettings = null)

Returns the specified HealthCheck resource.

Parameters
Name Description
request GetRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskHealthCheck

A Task containing the RPC response.

Overrides

Insert(InsertRegionHealthCheckRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionHealthCheckRequest request, CallSettings callSettings = null)

Creates a HealthCheck resource in the specified project using the data included in the request.

Parameters
Name Description
request InsertRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertRegionHealthCheckRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionHealthCheckRequest request, CallSettings callSettings = null)

Creates a HealthCheck resource in the specified project using the data included in the request.

Parameters
Name Description
request InsertRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListRegionHealthChecksRequest, CallSettings)

public override PagedEnumerable<HealthCheckList, HealthCheck> List(ListRegionHealthChecksRequest request, CallSettings callSettings = null)

Retrieves the list of HealthCheck resources available to the specified project.

Parameters
Name Description
request ListRegionHealthChecksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableHealthCheckListHealthCheck

A pageable sequence of HealthCheck resources.

Overrides

ListAsync(ListRegionHealthChecksRequest, CallSettings)

public override PagedAsyncEnumerable<HealthCheckList, HealthCheck> ListAsync(ListRegionHealthChecksRequest request, CallSettings callSettings = null)

Retrieves the list of HealthCheck resources available to the specified project.

Parameters
Name Description
request ListRegionHealthChecksRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableHealthCheckListHealthCheck

A pageable asynchronous sequence of HealthCheck resources.

Overrides

Patch(PatchRegionHealthCheckRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchRegionHealthCheckRequest request, CallSettings callSettings = null)

Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
Name Description
request PatchRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchRegionHealthCheckRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchRegionHealthCheckRequest request, CallSettings callSettings = null)

Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
Name Description
request PatchRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Update(UpdateRegionHealthCheckRequest, CallSettings)

public override Operation<Operation, Operation> Update(UpdateRegionHealthCheckRequest request, CallSettings callSettings = null)

Updates a HealthCheck resource in the specified project using the data included in the request.

Parameters
Name Description
request UpdateRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

UpdateAsync(UpdateRegionHealthCheckRequest, CallSettings)

public override Task<Operation<Operation, Operation>> UpdateAsync(UpdateRegionHealthCheckRequest request, CallSettings callSettings = null)

Updates a HealthCheck resource in the specified project using the data included in the request.

Parameters
Name Description
request UpdateRegionHealthCheckRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides