Compute Engine v1 API - Class RegionHealthCheckServices.RegionHealthCheckServicesClient (3.2.0)

public class RegionHealthCheckServices.RegionHealthCheckServicesClient : ClientBase<RegionHealthCheckServices.RegionHealthCheckServicesClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionHealthCheckServices.RegionHealthCheckServicesClient.

Client for RegionHealthCheckServices

Inheritance

object > ClientBase > ClientBaseRegionHealthCheckServicesRegionHealthCheckServicesClient > RegionHealthCheckServices.RegionHealthCheckServicesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionHealthCheckServicesClient()

protected RegionHealthCheckServicesClient()

Protected parameterless constructor to allow creation of test doubles.

RegionHealthCheckServicesClient(CallInvoker)

public RegionHealthCheckServicesClient(CallInvoker callInvoker)

Creates a new client for RegionHealthCheckServices that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

RegionHealthCheckServicesClient(ChannelBase)

public RegionHealthCheckServicesClient(ChannelBase channel)

Creates a new client for RegionHealthCheckServices

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RegionHealthCheckServicesClient(ClientBaseConfiguration)

protected RegionHealthCheckServicesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The 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
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteRegionHealthCheckServiceRequest, CallOptions)

public virtual Operation Delete(DeleteRegionHealthCheckServiceRequest request, CallOptions options)

Deletes the specified regional HealthCheckService.

Parameters
Name Description
request DeleteRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Delete(DeleteRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified regional HealthCheckService.

Parameters
Name Description
request DeleteRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteAsync(DeleteRegionHealthCheckServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionHealthCheckServiceRequest request, CallOptions options)

Deletes the specified regional HealthCheckService.

Parameters
Name Description
request DeleteRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified regional HealthCheckService.

Parameters
Name Description
request DeleteRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

Get(GetRegionHealthCheckServiceRequest, CallOptions)

public virtual HealthCheckService Get(GetRegionHealthCheckServiceRequest request, CallOptions options)

Returns the specified regional HealthCheckService resource.

Parameters
Name Description
request GetRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HealthCheckService

The response received from the server.

Get(GetRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual HealthCheckService Get(GetRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified regional HealthCheckService resource.

Parameters
Name Description
request GetRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HealthCheckService

The response received from the server.

GetAsync(GetRegionHealthCheckServiceRequest, CallOptions)

public virtual AsyncUnaryCall<HealthCheckService> GetAsync(GetRegionHealthCheckServiceRequest request, CallOptions options)

Returns the specified regional HealthCheckService resource.

Parameters
Name Description
request GetRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHealthCheckService

The call object.

GetAsync(GetRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HealthCheckService> GetAsync(GetRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified regional HealthCheckService resource.

Parameters
Name Description
request GetRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHealthCheckService

The call object.

Insert(InsertRegionHealthCheckServiceRequest, CallOptions)

public virtual Operation Insert(InsertRegionHealthCheckServiceRequest request, CallOptions options)

Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.

Parameters
Name Description
request InsertRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Insert(InsertRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.

Parameters
Name Description
request InsertRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

InsertAsync(InsertRegionHealthCheckServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionHealthCheckServiceRequest request, CallOptions options)

Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.

Parameters
Name Description
request InsertRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a regional HealthCheckService resource in the specified project and region using the data included in the request.

Parameters
Name Description
request InsertRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

List(ListRegionHealthCheckServicesRequest, CallOptions)

public virtual HealthCheckServicesList List(ListRegionHealthCheckServicesRequest request, CallOptions options)

Lists all the HealthCheckService resources that have been configured for the specified project in the given region.

Parameters
Name Description
request ListRegionHealthCheckServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
HealthCheckServicesList

The response received from the server.

List(ListRegionHealthCheckServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual HealthCheckServicesList List(ListRegionHealthCheckServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all the HealthCheckService resources that have been configured for the specified project in the given region.

Parameters
Name Description
request ListRegionHealthCheckServicesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
HealthCheckServicesList

The response received from the server.

ListAsync(ListRegionHealthCheckServicesRequest, CallOptions)

public virtual AsyncUnaryCall<HealthCheckServicesList> ListAsync(ListRegionHealthCheckServicesRequest request, CallOptions options)

Lists all the HealthCheckService resources that have been configured for the specified project in the given region.

Parameters
Name Description
request ListRegionHealthCheckServicesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallHealthCheckServicesList

The call object.

ListAsync(ListRegionHealthCheckServicesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<HealthCheckServicesList> ListAsync(ListRegionHealthCheckServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all the HealthCheckService resources that have been configured for the specified project in the given region.

Parameters
Name Description
request ListRegionHealthCheckServicesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallHealthCheckServicesList

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionHealthCheckServices.RegionHealthCheckServicesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RegionHealthCheckServicesRegionHealthCheckServicesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionHealthCheckServices.RegionHealthCheckServicesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchRegionHealthCheckServiceRequest, CallOptions)

public virtual Operation Patch(PatchRegionHealthCheckServiceRequest request, CallOptions options)

Updates the specified regional HealthCheckService resource with 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 PatchRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Patch(PatchRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Patch(PatchRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified regional HealthCheckService resource with 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 PatchRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

PatchAsync(PatchRegionHealthCheckServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionHealthCheckServiceRequest request, CallOptions options)

Updates the specified regional HealthCheckService resource with 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 PatchRegionHealthCheckServiceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchRegionHealthCheckServiceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionHealthCheckServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified regional HealthCheckService resource with 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 PatchRegionHealthCheckServiceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.