[BindServiceMethod(typeof(RegionHealthAggregationPolicies), "BindService")]
public abstract class RegionHealthAggregationPolicies.RegionHealthAggregationPoliciesBaseReference documentation and code samples for the Compute Engine v1 API class RegionHealthAggregationPolicies.RegionHealthAggregationPoliciesBase.
Base class for server-side implementations of RegionHealthAggregationPolicies
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListRegionHealthAggregationPoliciesRequest, ServerCallContext)
public virtual Task<HealthAggregationPolicyAggregatedList> AggregatedList(AggregatedListRegionHealthAggregationPoliciesRequest request, ServerCallContext context)Retrieves the list of all HealthAggregationPolicy resources, regional and global, available to the specified project.
To prevent failure, it is recommended that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListRegionHealthAggregationPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHealthAggregationPolicyAggregatedList |
The response to send back to the client (wrapped by a task). |
Delete(DeleteRegionHealthAggregationPolicyRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteRegionHealthAggregationPolicyRequest request, ServerCallContext context)Deletes the specified HealthAggregationPolicy in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionHealthAggregationPolicyRequestThe 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(GetRegionHealthAggregationPolicyRequest, ServerCallContext)
public virtual Task<HealthAggregationPolicy> Get(GetRegionHealthAggregationPolicyRequest request, ServerCallContext context)Returns the specified HealthAggregationPolicy resource in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionHealthAggregationPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHealthAggregationPolicy |
The response to send back to the client (wrapped by a task). |
Insert(InsertRegionHealthAggregationPolicyRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertRegionHealthAggregationPolicyRequest request, ServerCallContext context)Create a HealthAggregationPolicy in the specified project in the given region using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionHealthAggregationPolicyRequestThe 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(ListRegionHealthAggregationPoliciesRequest, ServerCallContext)
public virtual Task<HealthAggregationPolicyList> List(ListRegionHealthAggregationPoliciesRequest request, ServerCallContext context)Lists the HealthAggregationPolicies for a project in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionHealthAggregationPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskHealthAggregationPolicyList |
The response to send back to the client (wrapped by a task). |
Patch(PatchRegionHealthAggregationPolicyRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchRegionHealthAggregationPolicyRequest request, ServerCallContext context)Updates the specified regional HealthAggregationPolicy 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 |
PatchRegionHealthAggregationPolicyRequestThe 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(TestIamPermissionsRegionHealthAggregationPolicyRequest, ServerCallContext)
public virtual Task<TestPermissionsResponse> TestIamPermissions(TestIamPermissionsRegionHealthAggregationPolicyRequest request, ServerCallContext context)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRegionHealthAggregationPolicyRequestThe 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). |