ChannelOptions interface

Channel options interface.

Signature:

exportinterfaceChannelOptions

Properties

PropertyTypeDescription
allowedEventTypesstring[] | string | undefinedAn array of allowed event types. If specified, publishing events of unknown types is a no op. When not provided, no event filtering is performed.

ChannelOptions.allowedEventTypes

An array of allowed event types. If specified, publishing events of unknown types is a no op. When not provided, no event filtering is performed.

Signature:

allowedEventTypes?:string[]|string|undefined;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-29 UTC.