Compute Engine v1 API - Class RegionHealthCheckServices.RegionHealthCheckServicesClient (2.7.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

GoogleCloudGoogle.Cloud.ComputeV1

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionHealthCheckServicesClient(ChannelBase)

public RegionHealthCheckServicesClient(ChannelBase channel)

Creates a new client for RegionHealthCheckServices

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionHealthCheckServicesClient(ClientBaseConfiguration)

protected RegionHealthCheckServicesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
TypeDescription
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
NameDescription
requestDeleteRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Get(GetRegionHealthCheckServiceRequest, CallOptions)

public virtual HealthCheckService Get(GetRegionHealthCheckServiceRequest request, CallOptions options)

Returns the specified regional HealthCheckService resource.

Parameters
NameDescription
requestGetRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListRegionHealthCheckServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListRegionHealthCheckServicesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListRegionHealthCheckServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListRegionHealthCheckServicesRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallHealthCheckServicesList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
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
NameDescription
requestPatchRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestPatchRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestPatchRegionHealthCheckServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestPatchRegionHealthCheckServiceRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.