Compute Engine v1 API - Class ForwardingRules.ForwardingRulesBase (2.7.0)

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

Reference documentation and code samples for the Compute Engine v1 API class ForwardingRules.ForwardingRulesBase.

Base class for server-side implementations of ForwardingRules

Inheritance

object > ForwardingRules.ForwardingRulesBase

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

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
TaskForwardingRuleAggregatedList

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
TaskOperation

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
TaskForwardingRule

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
TaskOperation

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
TaskForwardingRuleList

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
TaskOperation

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
TaskOperation

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
TaskOperation

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