[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
Namespace
Google.Cloud.BinaryAuthorization.V1Assembly
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 |
TaskPolicy |
The response to send back to the client (wrapped by a task). |