[BindServiceMethod(typeof(GlobalForwardingRules), "BindService")]
public abstract class GlobalForwardingRules.GlobalForwardingRulesBaseReference documentation and code samples for the Compute Engine v1 API class GlobalForwardingRules.GlobalForwardingRulesBase.
Base class for server-side implementations of GlobalForwardingRules
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Delete(DeleteGlobalForwardingRuleRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteGlobalForwardingRuleRequest request, ServerCallContext context)Deletes the specified GlobalForwardingRule resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalForwardingRuleRequestThe request received from the client. |
context |
ServerCallContextThe 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(GetGlobalForwardingRuleRequest, ServerCallContext)
public virtual Task<ForwardingRule> Get(GetGlobalForwardingRuleRequest request, ServerCallContext context)Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalForwardingRuleRequestThe request received from the client. |
context |
ServerCallContextThe 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(InsertGlobalForwardingRuleRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertGlobalForwardingRuleRequest request, ServerCallContext context)Creates a GlobalForwardingRule resource in the specified project using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalForwardingRuleRequestThe request received from the client. |
context |
ServerCallContextThe 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(ListGlobalForwardingRulesRequest, ServerCallContext)
public virtual Task<ForwardingRuleList> List(ListGlobalForwardingRulesRequest request, ServerCallContext context)Retrieves a list of GlobalForwardingRule resources available to the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalForwardingRulesRequestThe request received from the client. |
context |
ServerCallContextThe 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(PatchGlobalForwardingRuleRequest, ServerCallContext)
public virtual Task<Operation> Patch(PatchGlobalForwardingRuleRequest 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 |
PatchGlobalForwardingRuleRequestThe request received from the client. |
context |
ServerCallContextThe 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(SetLabelsGlobalForwardingRuleRequest, ServerCallContext)
public virtual Task<Operation> SetLabels(SetLabelsGlobalForwardingRuleRequest request, ServerCallContext context)Sets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.
| Parameters | |
|---|---|
| Name | Description |
request |
SetLabelsGlobalForwardingRuleRequestThe request received from the client. |
context |
ServerCallContextThe 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(SetTargetGlobalForwardingRuleRequest, ServerCallContext)
public virtual Task<Operation> SetTarget(SetTargetGlobalForwardingRuleRequest request, ServerCallContext context)Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target.
| Parameters | |
|---|---|
| Name | Description |
request |
SetTargetGlobalForwardingRuleRequestThe request received from the client. |
context |
ServerCallContextThe 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). |