public static class SecurityCenter
Reference documentation and code samples for the Security Command Center v2 API class SecurityCenter.
V2 APIs for Security Center service.
Namespace
Google.Cloud.SecurityCenter.V2Assembly
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 |
serviceImpl |
SecurityCenterSecurityCenterBase An object implementing the server-side handling logic. |