Class ForwardingRules.ForwardingRulesBase (2.0.0)

[BindServiceMethod(typeof(ForwardingRules), "BindService")]
public abstract class ForwardingRulesBase

Base class for server-side implementations of ForwardingRules

Inheritance

Object > ForwardingRules.ForwardingRulesBase

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Methods

AggregatedList(AggregatedListForwardingRulesRequest, ServerCallContext)

public virtual Task<ForwardingRuleAggregatedList> AggregatedList(AggregatedListForwardingRulesRequest request, ServerCallContext context)

Retrieves an aggregated list of forwarding rules.

Parameters
NameDescription
requestAggregatedListForwardingRulesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ForwardingRuleAggregatedList>

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

Delete(DeleteForwardingRuleRequest, ServerCallContext)

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

Deletes the specified ForwardingRule resource.

Parameters
NameDescription
requestDeleteForwardingRuleRequest

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

public virtual Task<ForwardingRule> Get(GetForwardingRuleRequest request, ServerCallContext context)

Returns the specified ForwardingRule resource.

Parameters
NameDescription
requestGetForwardingRuleRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ForwardingRule>

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

Insert(InsertForwardingRuleRequest, ServerCallContext)

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

Creates a ForwardingRule resource in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertForwardingRuleRequest

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

public virtual Task<ForwardingRuleList> List(ListForwardingRulesRequest request, ServerCallContext context)

Retrieves a list of ForwardingRule resources available to the specified project and region.

Parameters
NameDescription
requestListForwardingRulesRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
Task<ForwardingRuleList>

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

Patch(PatchForwardingRuleRequest, ServerCallContext)

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

Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.

Parameters
NameDescription
requestPatchForwardingRuleRequest

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

SetLabels(SetLabelsForwardingRuleRequest, ServerCallContext)

public virtual Task<Operation> SetLabels(SetLabelsForwardingRuleRequest request, ServerCallContext context)

Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.

Parameters
NameDescription
requestSetLabelsForwardingRuleRequest

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

SetTarget(SetTargetForwardingRuleRequest, ServerCallContext)

public virtual Task<Operation> SetTarget(SetTargetForwardingRuleRequest request, ServerCallContext context)

Changes target URL for forwarding rule. The new target should be of the same type as the old target.

Parameters
NameDescription
requestSetTargetForwardingRuleRequest

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