[BindServiceMethod(typeof(RegionHealthSources), "BindService")]
public abstract class RegionHealthSources.RegionHealthSourcesBaseReference documentation and code samples for the Compute Engine v1 API class RegionHealthSources.RegionHealthSourcesBase.
Base class for server-side implementations of RegionHealthSources
Namespace
Google.Cloud.Compute.V1Assembly
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 |
AggregatedListRegionHealthSourcesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteRegionHealthSourceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetRegionHealthSourceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
InsertRegionHealthSourceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListRegionHealthSourcesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
PatchRegionHealthSourceRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
TestIamPermissionsRegionHealthSourceRequestThe request received from the client. |
context |
ServerCallContextThe 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). |