Compute Engine v1 API - Class ManagedRulesets.ManagedRulesetsBase (4.0.0)

[BindServiceMethod(typeof(ManagedRulesets), "BindService")]
public abstract class ManagedRulesets.ManagedRulesetsBase

Reference documentation and code samples for the Compute Engine v1 API class ManagedRulesets.ManagedRulesetsBase.

Base class for server-side implementations of ManagedRulesets

Inheritance

object > ManagedRulesets.ManagedRulesetsBase

Namespace

Google.Cloud.Compute.V1

Assembly

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 GetManagedRulesetRequest

The request received from the client.

context ServerCallContext

The 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 ListManagedRulesetsRequest

The request received from the client.

context ServerCallContext

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