Google Cloud Container V1 Client - Class Filter (2.1.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
Name Description
data array

Optional. Data for populating the Message object.

↳ event_type array

Event types to allowlist.

getEventType

Event types to allowlist.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEventType

Event types to allowlist.

Parameter
Name Description
var int[]
Returns
Type Description
$this