[BindServiceMethod(typeof(GlobalForwardingRules), "BindService")]
public abstract class GlobalForwardingRulesBase
Reference 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 | DeleteGlobalForwardingRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | GetGlobalForwardingRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ForwardingRule> | 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 | InsertGlobalForwardingRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | ListGlobalForwardingRulesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ForwardingRuleList> | 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 | PatchGlobalForwardingRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | SetLabelsGlobalForwardingRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | 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 | SetTargetGlobalForwardingRuleRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |