Compute Engine v1 API - Class RegionHealthChecksClientImpl (2.4.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(RegionHealthChecks.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
NameDescription
grpcClientRegionHealthChecks.RegionHealthChecksClient

The underlying gRPC client.

settingsRegionHealthChecksSettings

The base RegionHealthChecksSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RegionHealthChecks.RegionHealthChecksClient GrpcClient { get; }

The underlying gRPC RegionHealthChecks client

Property Value
TypeDescription
RegionHealthChecks.RegionHealthChecksClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteRegionHealthCheckRequest, CallSettings)

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

Deletes the specified HealthCheck resource.

Parameters
NameDescription
requestDeleteRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteRegionHealthCheckRequest, CallSettings)

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

Deletes the specified HealthCheck resource.

Parameters
NameDescription
requestDeleteRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetRegionHealthCheckRequest, CallSettings)

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

Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.

Parameters
NameDescription
requestGetRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
HealthCheck

The RPC response.

Overrides

GetAsync(GetRegionHealthCheckRequest, CallSettings)

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

Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.

Parameters
NameDescription
requestGetRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<HealthCheck>

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
NameDescription
requestInsertRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertRegionHealthCheckRequest, CallSettings)

public override async 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
NameDescription
requestInsertRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

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
NameDescription
requestListRegionHealthChecksRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<HealthCheckList, HealthCheck>

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
NameDescription
requestListRegionHealthChecksRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<HealthCheckList, HealthCheck>

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
NameDescription
requestPatchRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchRegionHealthCheckRequest, CallSettings)

public override async 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
NameDescription
requestPatchRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

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
NameDescription
requestUpdateRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

UpdateAsync(UpdateRegionHealthCheckRequest, CallSettings)

public override async 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
NameDescription
requestUpdateRegionHealthCheckRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides