Compute Engine v1 API - Class ForwardingRules.ForwardingRulesBase (2.17.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

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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListForwardingRulesRequest

The request received from the client.

context ServerCallContext

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

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

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

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

Returns the specified ForwardingRule resource.

Parameters
Name Description
request GetForwardingRuleRequest

The request received from the client.

context ServerCallContext

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

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

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

The request received from the client.

context ServerCallContext

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

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

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

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

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

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

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