Compute Engine v1 API - Class RegionBackendServices.RegionBackendServicesBase (3.0.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
Name Description
request DeleteRegionBackendServiceRequest

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(GetRegionBackendServiceRequest, ServerCallContext)

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

Returns the specified regional BackendService resource.

Parameters
Name Description
request GetRegionBackendServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetHealthRegionBackendServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request GetIamPolicyRegionBackendServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request InsertRegionBackendServiceRequest

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(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
Name Description
request ListRegionBackendServicesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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 a list of all usable backend services in the specified project in the given region.

Parameters
Name Description
request ListUsableRegionBackendServicesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request PatchRegionBackendServiceRequest

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).

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
Name Description
request SetIamPolicyRegionBackendServiceRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request SetSecurityPolicyRegionBackendServiceRequest

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(TestIamPermissionsRegionBackendServiceRequest, ServerCallContext)

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

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionBackendServiceRequest

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).

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
Name Description
request UpdateRegionBackendServiceRequest

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).