Class BackendServices.BackendServicesBase (2.0.0)

[BindServiceMethod(typeof(BackendServices), "BindService")]
public abstract class BackendServicesBase

Base class for server-side implementations of BackendServices

Inheritance

Object > BackendServices.BackendServicesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AddSignedUrlKey(AddSignedUrlKeyBackendServiceRequest, ServerCallContext)

public virtual Task<Operation> AddSignedUrlKey(AddSignedUrlKeyBackendServiceRequest request, ServerCallContext context)

Adds a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestAddSignedUrlKeyBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

AggregatedList(AggregatedListBackendServicesRequest, ServerCallContext)

public virtual Task<BackendServiceAggregatedList> AggregatedList(AggregatedListBackendServicesRequest request, ServerCallContext context)

Retrieves the list of all BackendService resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListBackendServicesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<BackendServiceAggregatedList>

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

Delete(DeleteBackendServiceRequest, ServerCallContext)

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

Deletes the specified BackendService resource.

Parameters
NameDescription
requestDeleteBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

DeleteSignedUrlKey(DeleteSignedUrlKeyBackendServiceRequest, ServerCallContext)

public virtual Task<Operation> DeleteSignedUrlKey(DeleteSignedUrlKeyBackendServiceRequest request, ServerCallContext context)

Deletes a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Get(GetBackendServiceRequest, ServerCallContext)

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

Returns the specified BackendService resource. Gets a list of available backend services.

Parameters
NameDescription
requestGetBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<BackendService>

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

GetHealth(GetHealthBackendServiceRequest, ServerCallContext)

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

Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }

Parameters
NameDescription
requestGetHealthBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<BackendServiceGroupHealth>

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

Insert(InsertBackendServiceRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestInsertBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

List(ListBackendServicesRequest, ServerCallContext)

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

Retrieves the list of BackendService resources available to the specified project.

Parameters
NameDescription
requestListBackendServicesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<BackendServiceList>

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

Patch(PatchBackendServiceRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestPatchBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendServiceRequest, ServerCallContext)

public virtual Task<Operation> SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendServiceRequest request, ServerCallContext context)

Sets the edge security policy for the specified backend service.

Parameters
NameDescription
requestSetEdgeSecurityPolicyBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

SetSecurityPolicy(SetSecurityPolicyBackendServiceRequest, ServerCallContext)

public virtual Task<Operation> SetSecurityPolicy(SetSecurityPolicyBackendServiceRequest 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
requestSetSecurityPolicyBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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

Update(UpdateBackendServiceRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestUpdateBackendServiceRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<Operation>

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