public static final class ServerSecurityPolicy.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ServerSecurityPolicy |
build() |
ServerSecurityPolicy.Builder |
servicePolicy(java.lang.String serviceName,
SecurityPolicy policy)
Specify a policy specific to a particular gRPC service.
|
public ServerSecurityPolicy.Builder servicePolicy(java.lang.String serviceName, SecurityPolicy policy)
serviceName - The fully qualified name of the gRPC service (from the proto).policy - The security policy to apply to the service.public ServerSecurityPolicy build()