Google Cloud Container V1 Client - Class Filter (1.19.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class Filter.

Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent

Generated from protobuf message google.container.v1.NotificationConfig.Filter

Namespace

Google \ Cloud \ Container \ V1 \ NotificationConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ event_type array

Event types to allowlist.

getEventType

Event types to allowlist.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEventType

Event types to allowlist.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this