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
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.
Generated from protobuf field repeated .google.container.v1.NotificationConfig.EventType event_type = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setEventType
Event types to allowlist.
Generated from protobuf field repeated .google.container.v1.NotificationConfig.EventType event_type = 1;
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |