Binary Authorization v1 API - Class SystemPolicyV1.SystemPolicyV1Base (2.2.0)

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

Reference documentation and code samples for the Binary Authorization v1 API class SystemPolicyV1.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
NameDescription
requestGetSystemPolicyRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskPolicy

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