Security Command Center v2 API - Class SecurityCenter (1.0.0-beta03)

public static class SecurityCenter

Reference documentation and code samples for the Security Command Center v2 API class SecurityCenter.

V2 APIs for Security Center service.

Inheritance

object > SecurityCenter

Namespace

Google.Cloud.SecurityCenter.V2

Assembly

Google.Cloud.SecurityCenter.V2.dll

Methods

BindService(SecurityCenterBase)

public static ServerServiceDefinition BindService(SecurityCenter.SecurityCenterBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl SecurityCenterSecurityCenterBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, SecurityCenterBase)

public static void BindService(ServiceBinderBase serviceBinder, SecurityCenter.SecurityCenterBase 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 SecurityCenterSecurityCenterBase

An object implementing the server-side handling logic.