Compute Engine v1 API - Class RegionBackendServices.RegionBackendServicesBase (2.12.0)

[BindServiceMethod(typeof(RegionBackendServices), "BindService")]
public abstract class RegionBackendServices.RegionBackendServicesBase

Reference documentation and code samples for the Compute Engine v1 API class RegionBackendServices.RegionBackendServicesBase.

Base class for server-side implementations of RegionBackendServices

Inheritance

object > RegionBackendServices.RegionBackendServicesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

Delete(DeleteRegionBackendServiceRequest, ServerCallContext)

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

Deletes the specified regional BackendService resource.

Parameters
NameDescription
requestDeleteRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

Get(GetRegionBackendServiceRequest, ServerCallContext)

public virtual Task<BackendService> Get(GetRegionBackendServiceRequest request, ServerCallContext context)

Returns the specified regional BackendService resource.

Parameters
NameDescription
requestGetRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskBackendService

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

GetHealth(GetHealthRegionBackendServiceRequest, ServerCallContext)

public virtual Task<BackendServiceGroupHealth> GetHealth(GetHealthRegionBackendServiceRequest request, ServerCallContext context)

Gets the most recent health check results for this regional BackendService.

Parameters
NameDescription
requestGetHealthRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskBackendServiceGroupHealth

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

GetIamPolicy(GetIamPolicyRegionBackendServiceRequest, ServerCallContext)

public virtual Task<Policy> GetIamPolicy(GetIamPolicyRegionBackendServiceRequest request, ServerCallContext context)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskPolicy

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

Insert(InsertRegionBackendServiceRequest, ServerCallContext)

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

Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.

Parameters
NameDescription
requestInsertRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

List(ListRegionBackendServicesRequest, ServerCallContext)

public virtual Task<BackendServiceList> List(ListRegionBackendServicesRequest request, ServerCallContext context)

Retrieves the list of regional BackendService resources available to the specified project in the given region.

Parameters
NameDescription
requestListRegionBackendServicesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskBackendServiceList

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

ListUsable(ListUsableRegionBackendServicesRequest, ServerCallContext)

public virtual Task<BackendServiceListUsable> ListUsable(ListUsableRegionBackendServicesRequest request, ServerCallContext context)

Retrieves an aggregated list of all usable backend services in the specified project in the given region.

Parameters
NameDescription
requestListUsableRegionBackendServicesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskBackendServiceListUsable

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

Patch(PatchRegionBackendServiceRequest, ServerCallContext)

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

Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

SetIamPolicy(SetIamPolicyRegionBackendServiceRequest, ServerCallContext)

public virtual Task<Policy> SetIamPolicy(SetIamPolicyRegionBackendServiceRequest request, ServerCallContext context)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskPolicy

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

SetSecurityPolicy(SetSecurityPolicyRegionBackendServiceRequest, ServerCallContext)

public virtual Task<Operation> SetSecurityPolicy(SetSecurityPolicyRegionBackendServiceRequest request, ServerCallContext context)

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

TestIamPermissions(TestIamPermissionsRegionBackendServiceRequest, ServerCallContext)

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

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskTestPermissionsResponse

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

Update(UpdateRegionBackendServiceRequest, ServerCallContext)

public virtual Task<Operation> Update(UpdateRegionBackendServiceRequest request, ServerCallContext context)

Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .

Parameters
NameDescription
requestUpdateRegionBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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