Binary Authorization v1 API - Class SystemPolicyV1 (2.4.0)

public static class SystemPolicyV1

Reference documentation and code samples for the Binary Authorization v1 API class SystemPolicyV1.

API for working with the system policy.

Inheritance

object > SystemPolicyV1

Namespace

Google.Cloud.BinaryAuthorization.V1

Assembly

Google.Cloud.BinaryAuthorization.V1.dll

Methods

BindService(SystemPolicyV1Base)

public static ServerServiceDefinition BindService(SystemPolicyV1.SystemPolicyV1Base serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl SystemPolicyV1SystemPolicyV1Base

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, SystemPolicyV1Base)

public static void BindService(ServiceBinderBase serviceBinder, SystemPolicyV1.SystemPolicyV1Base serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl SystemPolicyV1SystemPolicyV1Base

An object implementing the server-side handling logic.