public class HealthChecksClient : ClientBase<HealthChecks.HealthChecksClient>Client for HealthChecks
Inheritance
Object > ClientBase > ClientBase<HealthChecks.HealthChecksClient> > HealthChecks.HealthChecksClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
HealthChecksClient()
protected HealthChecksClient()Protected parameterless constructor to allow creation of test doubles.
HealthChecksClient(CallInvoker)
public HealthChecksClient(CallInvoker callInvoker)Creates a new client for HealthChecks that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
HealthChecksClient(ChannelBase)
public HealthChecksClient(ChannelBase channel)Creates a new client for HealthChecks
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
HealthChecksClient(ClientBase.ClientBaseConfiguration)
protected HealthChecksClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
AggregatedList(AggregatedListHealthChecksRequest, CallOptions)
public virtual HealthChecksAggregatedList AggregatedList(AggregatedListHealthChecksRequest request, CallOptions options)Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListHealthChecksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
HealthChecksAggregatedList |
The response received from the server. |
AggregatedList(AggregatedListHealthChecksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HealthChecksAggregatedList AggregatedList(AggregatedListHealthChecksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListHealthChecksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
HealthChecksAggregatedList |
The response received from the server. |
AggregatedListAsync(AggregatedListHealthChecksRequest, CallOptions)
public virtual AsyncUnaryCall<HealthChecksAggregatedList> AggregatedListAsync(AggregatedListHealthChecksRequest request, CallOptions options)Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListHealthChecksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthChecksAggregatedList> |
The call object. |
AggregatedListAsync(AggregatedListHealthChecksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HealthChecksAggregatedList> AggregatedListAsync(AggregatedListHealthChecksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListHealthChecksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthChecksAggregatedList> |
The call object. |
CreateOperationsClientForGlobalOperations()
public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteHealthCheckRequest, CallOptions)
public virtual Operation Delete(DeleteHealthCheckRequest request, CallOptions options)Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeleteHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteHealthCheckRequest request, CallOptions options)Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteAsync(DeleteHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
Get(GetHealthCheckRequest, CallOptions)
public virtual HealthCheck Get(GetHealthCheckRequest request, CallOptions options)Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
HealthCheck |
The response received from the server. |
Get(GetHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HealthCheck Get(GetHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
HealthCheck |
The response received from the server. |
GetAsync(GetHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<HealthCheck> GetAsync(GetHealthCheckRequest request, CallOptions options)Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthCheck> |
The call object. |
GetAsync(GetHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HealthCheck> GetAsync(GetHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthCheck> |
The call object. |
Insert(InsertHealthCheckRequest, CallOptions)
public virtual Operation Insert(InsertHealthCheckRequest request, CallOptions options)Creates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertHealthCheckRequest request, CallOptions options)Creates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
InsertAsync(InsertHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Creates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
List(ListHealthChecksRequest, CallOptions)
public virtual HealthCheckList List(ListHealthChecksRequest request, CallOptions options)Retrieves the list of HealthCheck resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListHealthChecksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
HealthCheckList |
The response received from the server. |
List(ListHealthChecksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HealthCheckList List(ListHealthChecksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of HealthCheck resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListHealthChecksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
HealthCheckList |
The response received from the server. |
ListAsync(ListHealthChecksRequest, CallOptions)
public virtual AsyncUnaryCall<HealthCheckList> ListAsync(ListHealthChecksRequest request, CallOptions options)Retrieves the list of HealthCheck resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListHealthChecksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthCheckList> |
The call object. |
ListAsync(ListHealthChecksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HealthCheckList> ListAsync(ListHealthChecksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of HealthCheck resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListHealthChecksRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthCheckList> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override HealthChecks.HealthChecksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
HealthChecks.HealthChecksClient |
|
Patch(PatchHealthCheckRequest, CallOptions)
public virtual Operation Patch(PatchHealthCheckRequest request, CallOptions options)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 |
PatchHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Patch(PatchHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 |
PatchHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PatchAsync(PatchHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchHealthCheckRequest request, CallOptions options)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 |
PatchHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
PatchAsync(PatchHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))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 |
PatchHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
Update(UpdateHealthCheckRequest, CallOptions)
public virtual Operation Update(UpdateHealthCheckRequest request, CallOptions options)Updates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Update(UpdateHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Update(UpdateHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Updates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
UpdateAsync(UpdateHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateHealthCheckRequest request, CallOptions options)Updates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdateAsync(UpdateHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Updates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateHealthCheckRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |