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

public class RegionHealthCheckServicesClient : ClientBase<RegionHealthCheckServices.RegionHealthCheckServicesClient>

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

Client for RegionHealthCheckServices

Inheritance

Object > ClientBase > ClientBase<RegionHealthCheckServices.RegionHealthCheckServicesClient> > 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
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(ClientBase.ClientBaseConfiguration)

protected RegionHealthCheckServicesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<HealthCheckService>

The call object.

GetAsync(GetRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<HealthCheckService>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<HealthCheckServicesList>

The call object.

ListAsync(ListRegionHealthCheckServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<HealthCheckServicesList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
RegionHealthCheckServices.RegionHealthCheckServicesClient
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchRegionHealthCheckServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.