public sealed class HealthChecksClientImpl : HealthChecksClient
Reference documentation and code samples for the Compute Engine v1 API class HealthChecksClientImpl.
HealthChecks client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The HealthChecks API.
Constructors
HealthChecksClientImpl(HealthChecks.HealthChecksClient, HealthChecksSettings, ILogger)
public HealthChecksClientImpl(HealthChecks.HealthChecksClient grpcClient, HealthChecksSettings settings, ILogger logger)
Constructs a client wrapper for the HealthChecks service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | HealthChecks.HealthChecksClient The underlying gRPC client. |
settings | HealthChecksSettings The base HealthChecksSettings 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 |
GrpcClient
public override HealthChecks.HealthChecksClient GrpcClient { get; }
The underlying gRPC HealthChecks client
Property Value | |
---|---|
Type | Description |
HealthChecks.HealthChecksClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateOperationsClient
public override OperationsClient UpdateOperationsClient { get; }
The long-running operations client for Update
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
AggregatedList(AggregatedListHealthChecksRequest, CallSettings)
public override PagedEnumerable<HealthChecksAggregatedList, KeyValuePair<string, HealthChecksScopedList>> AggregatedList(AggregatedListHealthChecksRequest request, CallSettings callSettings = null)
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListHealthChecksRequest 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 |
PagedEnumerable<HealthChecksAggregatedList, KeyValuePair<String, HealthChecksScopedList>> | A pageable sequence of KeyValuePair<TKey,TValue> resources. |
AggregatedListAsync(AggregatedListHealthChecksRequest, CallSettings)
public override PagedAsyncEnumerable<HealthChecksAggregatedList, KeyValuePair<string, HealthChecksScopedList>> AggregatedListAsync(AggregatedListHealthChecksRequest request, CallSettings callSettings = null)
Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListHealthChecksRequest 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 |
PagedAsyncEnumerable<HealthChecksAggregatedList, KeyValuePair<String, HealthChecksScopedList>> | A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
Delete(DeleteHealthCheckRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteHealthCheckRequest request, CallSettings callSettings = null)
Deletes the specified HealthCheck resource.
Parameters | |
---|---|
Name | Description |
request | DeleteHealthCheckRequest 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 |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteHealthCheckRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteHealthCheckRequest request, CallSettings callSettings = null)
Deletes the specified HealthCheck resource.
Parameters | |
---|---|
Name | Description |
request | DeleteHealthCheckRequest 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Get(GetHealthCheckRequest, CallSettings)
public override HealthCheck Get(GetHealthCheckRequest request, CallSettings callSettings = null)
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetHealthCheckRequest 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. |
GetAsync(GetHealthCheckRequest, CallSettings)
public override Task<HealthCheck> GetAsync(GetHealthCheckRequest request, CallSettings callSettings = null)
Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetHealthCheckRequest 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 |
Task<HealthCheck> | A Task containing the RPC response. |
Insert(InsertHealthCheckRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertHealthCheckRequest request, CallSettings callSettings = null)
Creates a HealthCheck resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertHealthCheckRequest 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 |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertHealthCheckRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertHealthCheckRequest request, CallSettings callSettings = null)
Creates a HealthCheck resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertHealthCheckRequest 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
List(ListHealthChecksRequest, CallSettings)
public override PagedEnumerable<HealthCheckList, HealthCheck> List(ListHealthChecksRequest request, CallSettings callSettings = null)
Retrieves the list of HealthCheck resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListHealthChecksRequest 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 |
PagedEnumerable<HealthCheckList, HealthCheck> | A pageable sequence of HealthCheck resources. |
ListAsync(ListHealthChecksRequest, CallSettings)
public override PagedAsyncEnumerable<HealthCheckList, HealthCheck> ListAsync(ListHealthChecksRequest request, CallSettings callSettings = null)
Retrieves the list of HealthCheck resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListHealthChecksRequest 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 |
PagedAsyncEnumerable<HealthCheckList, HealthCheck> | A pageable asynchronous sequence of HealthCheck resources. |
Patch(PatchHealthCheckRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchHealthCheckRequest 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 | PatchHealthCheckRequest 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 |
Operation<Operation, Operation> | The RPC response. |
PatchAsync(PatchHealthCheckRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> PatchAsync(PatchHealthCheckRequest 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 | PatchHealthCheckRequest 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Update(UpdateHealthCheckRequest, CallSettings)
public override Operation<Operation, Operation> Update(UpdateHealthCheckRequest request, CallSettings callSettings = null)
Updates a HealthCheck resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateHealthCheckRequest 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 |
Operation<Operation, Operation> | The RPC response. |
UpdateAsync(UpdateHealthCheckRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> UpdateAsync(UpdateHealthCheckRequest request, CallSettings callSettings = null)
Updates a HealthCheck resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | UpdateHealthCheckRequest 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |