public class RegionHealthChecksClient : ClientBase<RegionHealthChecks.RegionHealthChecksClient>Client for RegionHealthChecks
Inheritance
Object > ClientBase > ClientBase<RegionHealthChecks.RegionHealthChecksClient> > RegionHealthChecks.RegionHealthChecksClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionHealthChecksClient()
protected RegionHealthChecksClient()Protected parameterless constructor to allow creation of test doubles.
RegionHealthChecksClient(CallInvoker)
public RegionHealthChecksClient(CallInvoker callInvoker)Creates a new client for RegionHealthChecks that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
RegionHealthChecksClient(ChannelBase)
public RegionHealthChecksClient(ChannelBase channel)Creates a new client for RegionHealthChecks
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
RegionHealthChecksClient(ClientBase.ClientBaseConfiguration)
protected RegionHealthChecksClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteRegionHealthCheckRequest, CallOptions)
public virtual Operation Delete(DeleteRegionHealthCheckRequest request, CallOptions options)Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeleteRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionHealthCheckRequestThe 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(DeleteRegionHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionHealthCheckRequest request, CallOptions options)Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteAsync(DeleteRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionHealthCheckRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))Deletes the specified HealthCheck resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionHealthCheckRequestThe 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(GetRegionHealthCheckRequest, CallOptions)
public virtual HealthCheck Get(GetRegionHealthCheckRequest request, CallOptions options)Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
HealthCheck |
The response received from the server. |
Get(GetRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HealthCheck Get(GetRegionHealthCheckRequest 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 |
GetRegionHealthCheckRequestThe 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(GetRegionHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<HealthCheck> GetAsync(GetRegionHealthCheckRequest request, CallOptions options)Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthCheck> |
The call object. |
GetAsync(GetRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HealthCheck> GetAsync(GetRegionHealthCheckRequest 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 |
GetRegionHealthCheckRequestThe 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(InsertRegionHealthCheckRequest, CallOptions)
public virtual Operation Insert(InsertRegionHealthCheckRequest request, CallOptions options)Creates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionHealthCheckRequest 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 |
InsertRegionHealthCheckRequestThe 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(InsertRegionHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionHealthCheckRequest request, CallOptions options)Creates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
InsertAsync(InsertRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionHealthCheckRequest 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 |
InsertRegionHealthCheckRequestThe 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(ListRegionHealthChecksRequest, CallOptions)
public virtual HealthCheckList List(ListRegionHealthChecksRequest request, CallOptions options)Retrieves the list of HealthCheck resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionHealthChecksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
HealthCheckList |
The response received from the server. |
List(ListRegionHealthChecksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual HealthCheckList List(ListRegionHealthChecksRequest 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 |
ListRegionHealthChecksRequestThe 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(ListRegionHealthChecksRequest, CallOptions)
public virtual AsyncUnaryCall<HealthCheckList> ListAsync(ListRegionHealthChecksRequest request, CallOptions options)Retrieves the list of HealthCheck resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionHealthChecksRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<HealthCheckList> |
The call object. |
ListAsync(ListRegionHealthChecksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<HealthCheckList> ListAsync(ListRegionHealthChecksRequest 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 |
ListRegionHealthChecksRequestThe 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 RegionHealthChecks.RegionHealthChecksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
RegionHealthChecks.RegionHealthChecksClient |
|
Patch(PatchRegionHealthCheckRequest, CallOptions)
public virtual Operation Patch(PatchRegionHealthCheckRequest 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 |
PatchRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Patch(PatchRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchRegionHealthCheckRequest 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 |
PatchRegionHealthCheckRequestThe 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(PatchRegionHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionHealthCheckRequest 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 |
PatchRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
PatchAsync(PatchRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionHealthCheckRequest 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 |
PatchRegionHealthCheckRequestThe 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(UpdateRegionHealthCheckRequest, CallOptions)
public virtual Operation Update(UpdateRegionHealthCheckRequest request, CallOptions options)Updates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Update(UpdateRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Update(UpdateRegionHealthCheckRequest 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 |
UpdateRegionHealthCheckRequestThe 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(UpdateRegionHealthCheckRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionHealthCheckRequest request, CallOptions options)Updates a HealthCheck resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRegionHealthCheckRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
UpdateAsync(UpdateRegionHealthCheckRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionHealthCheckRequest 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 |
UpdateRegionHealthCheckRequestThe 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. |