Class SystemPolicyV1.SystemPolicyV1Base (2.0.0)

[BindServiceMethod(typeof(SystemPolicyV1), "BindService")]
public abstract class SystemPolicyV1Base

Base class for server-side implementations of SystemPolicyV1

Inheritance

Object > SystemPolicyV1.SystemPolicyV1Base

Namespace

Google.Cloud.BinaryAuthorization.V1

Assembly

Google.Cloud.BinaryAuthorization.V1.dll

Methods

GetSystemPolicy(GetSystemPolicyRequest, ServerCallContext)

public virtual Task<Policy> GetSystemPolicy(GetSystemPolicyRequest request, ServerCallContext context)

Gets the current system policy in the specified location.

Parameters
Name Description
request GetSystemPolicyRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
Task<Policy>

The response to send back to the client (wrapped by a task).