Compute Engine v1 API - Class RegionHealthSources.RegionHealthSourcesBase (3.26.0)

[BindServiceMethod(typeof(RegionHealthSources), "BindService")]
public abstract class RegionHealthSources.RegionHealthSourcesBase

Reference documentation and code samples for the Compute Engine v1 API class RegionHealthSources.RegionHealthSourcesBase.

Base class for server-side implementations of RegionHealthSources

Inheritance

object > RegionHealthSources.RegionHealthSourcesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListRegionHealthSourcesRequest, ServerCallContext)

public virtual Task<HealthSourceAggregatedList> AggregatedList(AggregatedListRegionHealthSourcesRequest request, ServerCallContext context)

Retrieves the list of all HealthSource resources (all regional) available to the specified project.

To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListRegionHealthSourcesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHealthSourceAggregatedList

The response to send back to the client (wrapped by a task).

Delete(DeleteRegionHealthSourceRequest, ServerCallContext)

public virtual Task<Operation> Delete(DeleteRegionHealthSourceRequest request, ServerCallContext context)

Deletes the specified HealthSource in the given region

Parameters
Name Description
request DeleteRegionHealthSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

Get(GetRegionHealthSourceRequest, ServerCallContext)

public virtual Task<HealthSource> Get(GetRegionHealthSourceRequest request, ServerCallContext context)

Returns the specified HealthSource resource in the given region.

Parameters
Name Description
request GetRegionHealthSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHealthSource

The response to send back to the client (wrapped by a task).

Insert(InsertRegionHealthSourceRequest, ServerCallContext)

public virtual Task<Operation> Insert(InsertRegionHealthSourceRequest request, ServerCallContext context)

Create a HealthSource in the specified project in the given region using the parameters that are included in the request.

Parameters
Name Description
request InsertRegionHealthSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

List(ListRegionHealthSourcesRequest, ServerCallContext)

public virtual Task<HealthSourceList> List(ListRegionHealthSourcesRequest request, ServerCallContext context)

Lists the HealthSources for a project in the given region.

Parameters
Name Description
request ListRegionHealthSourcesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskHealthSourceList

The response to send back to the client (wrapped by a task).

Patch(PatchRegionHealthSourceRequest, ServerCallContext)

public virtual Task<Operation> Patch(PatchRegionHealthSourceRequest request, ServerCallContext context)

Updates the specified regional HealthSource resource with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.

Parameters
Name Description
request PatchRegionHealthSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

TestIamPermissions(TestIamPermissionsRegionHealthSourceRequest, ServerCallContext)

public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsRegionHealthSourceRequest request, ServerCallContext context)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionHealthSourceRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTestPermissionsResponse

The response to send back to the client (wrapped by a task).