public sealed class RegionHealthChecksClientImpl : RegionHealthChecksClient
RegionHealthChecks client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient | RegionHealthChecks.RegionHealthChecksClient 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 |
GrpcClient
public override RegionHealthChecks.RegionHealthChecksClient GrpcClient { get; }
The underlying gRPC RegionHealthChecks client
Property Value | |
---|---|
Type | Description |
RegionHealthChecks.RegionHealthChecksClient |
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
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 |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteRegionHealthCheckRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 | |
---|---|
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. |
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 | |
---|---|
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 |
Task<HealthCheck> | A Task containing the RPC response. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 |
PagedEnumerable<HealthCheckList, HealthCheck> | A pageable sequence of HealthCheck resources. |
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 |
PagedAsyncEnumerable<HealthCheckList, HealthCheck> | A pageable asynchronous sequence of HealthCheck resources. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |