Compute Engine v1 API - Class BackendServices.BackendServicesBase (2.7.0)

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

Reference documentation and code samples for the Compute Engine v1 API class BackendServices.BackendServicesBase.

Base class for server-side implementations of BackendServices

Inheritance

object > BackendServices.BackendServicesBase

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

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
TaskOperation

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
TaskBackendServiceAggregatedList

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
TaskOperation

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
TaskOperation

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
TaskBackendService

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
TaskBackendServiceGroupHealth

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

GetIamPolicy(GetIamPolicyBackendServiceRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestGetIamPolicyBackendServiceRequest

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(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
TaskOperation

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
TaskBackendServiceList

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
TaskOperation

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
TaskOperation

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

SetIamPolicy(SetIamPolicyBackendServiceRequest, ServerCallContext)

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

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

Parameters
NameDescription
requestSetIamPolicyBackendServiceRequest

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(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
TaskOperation

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
TaskOperation

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