OptionaladminCredentials for the admin API.
OptionalchannelAdvanced settings to configure the underlying gRPC client.
OptionalcompressionCompress messages exchanged between the client and policy decision point server.
OptionalheadersHeaders to add to every request to the policy decision point.
Headers can be included in the policy decision point's audit logs by setting the includeMetadataKeys or excludeMetadataKeys fields in the
audit configuration block.
The User-Agent header is set using Options.userAgent.
OptionalonAction to take when input fails schema validation.
Possible values are
"throw", to throw a ValidationFailed error;
a ValidationFailedCallback function; or
undefined, to return the validation errors in the response.
OptionalplaygroundIdentifier of the playground instance to use when prototyping against the hosted demo policy decision point.
Encrypt the gRPC connection with TLS.
Possible values are
false - communicate via plaintext;
true - encrypt the connection with TLS, verifying the server identity with the default set of well-known root certificate authorities; or
the result of calling tls.createSecureContext, to configure custom root certificate authorities or client certificates for mutual TLS.
OptionaluserCustom user agent to prepend to the built-in value.
Options for creating a new GRPC client.