[BindServiceMethod(typeof(ManagedRulesets), "BindService")]
public abstract class ManagedRulesets.ManagedRulesetsBaseReference documentation and code samples for the Compute Engine v1 API class ManagedRulesets.ManagedRulesetsBase.
Base class for server-side implementations of ManagedRulesets
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
Get(GetManagedRulesetRequest, ServerCallContext)
public virtual Task<ManagedRuleset> Get(GetManagedRulesetRequest request, ServerCallContext context)Gets the details for the specified managed ruleset name.
| Parameters | |
|---|---|
| Name | Description |
request |
GetManagedRulesetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskManagedRuleset |
The response to send back to the client (wrapped by a task). |
List(ListManagedRulesetsRequest, ServerCallContext)
public virtual Task<ManagedRulesetList> List(ListManagedRulesetsRequest request, ServerCallContext context)Retrieves the list of all the managed rulesets available.
| Parameters | |
|---|---|
| Name | Description |
request |
ListManagedRulesetsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskManagedRulesetList |
The response to send back to the client (wrapped by a task). |