Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class StreamingConfig.
The config for streaming-based notifications, which send each event as soon
as it is detected.
Generated from protobuf message google.cloud.securitycenter.v2.NotificationConfig.StreamingConfig
Namespace
Google \ Cloud \ SecurityCenter \ V2 \ NotificationConfig
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ filter
string
Expression that defines the filter to apply across create/update events of assets or findings as specified by the event type. The expression is a list of zero or more restrictions combined via logical operators AND and OR. Parentheses are supported, and OR has higher precedence than AND. Restrictions have the form <field> <operator> <value> and may have a - character in front of them to indicate negation. The fields map to those defined in the corresponding resource. The supported operators are: * * = for all value types. * * >, <, >=, <= for integer values. * * :, meaning substring matching, for strings. The supported value types are: * * string literals in quotes. * * integer literals without quotes. * * boolean literals true and false without quotes.
getFilter
Expression that defines the filter to apply across create/update events
of assets or findings as specified by the event type. The expression is a
list of zero or more restrictions combined via logical operators AND
and OR. Parentheses are supported, and OR has higher precedence than
AND.
Restrictions have the form <field> <operator> <value> and may have a
- character in front of them to indicate negation. The fields map to
those defined in the corresponding resource.
The supported operators are:
= for all value types.
>, <, >=, <= for integer values.
:, meaning substring matching, for strings.
The supported value types are:
string literals in quotes.
integer literals without quotes.
boolean literals true and false without quotes.
Returns
Type
Description
string
setFilter
Expression that defines the filter to apply across create/update events
of assets or findings as specified by the event type. The expression is a
list of zero or more restrictions combined via logical operators AND
and OR. Parentheses are supported, and OR has higher precedence than
AND.
Restrictions have the form <field> <operator> <value> and may have a
- character in front of them to indicate negation. The fields map to
those defined in the corresponding resource.
The supported operators are:
= for all value types.
>, <, >=, <= for integer values.
:, meaning substring matching, for strings.
The supported value types are:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Security Command Center V2 Client - Class StreamingConfig (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V2.NotificationConfig.StreamingConfig)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V2.NotificationConfig.StreamingConfig)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V2.NotificationConfig.StreamingConfig)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V2.NotificationConfig.StreamingConfig)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V2.NotificationConfig.StreamingConfig)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V2.NotificationConfig.StreamingConfig)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V2.NotificationConfig.StreamingConfig)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V2.NotificationConfig.StreamingConfig)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V2.NotificationConfig.StreamingConfig)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V2.NotificationConfig.StreamingConfig)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V2.NotificationConfig.StreamingConfig)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V2.NotificationConfig.StreamingConfig)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V2.NotificationConfig.StreamingConfig)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V2.NotificationConfig.StreamingConfig)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V2.NotificationConfig.StreamingConfig)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V2.NotificationConfig.StreamingConfig)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V2.NotificationConfig.StreamingConfig)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V2.NotificationConfig.StreamingConfig) \nReference documentation and code samples for the Google Cloud Security Command Center V2 Client class StreamingConfig.\n\nThe config for streaming-based notifications, which send each event as soon\nas it is detected.\n\nGenerated from protobuf message `google.cloud.securitycenter.v2.NotificationConfig.StreamingConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V2 \\\\ NotificationConfig\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getFilter\n\nExpression that defines the filter to apply across create/update events\nof assets or findings as specified by the event type. The expression is a\nlist of zero or more restrictions combined via logical operators `AND`\nand `OR`. Parentheses are supported, and `OR` has higher precedence than\n`AND`.\n\nRestrictions have the form `\u003cfield\u003e \u003coperator\u003e \u003cvalue\u003e` and may have a\n`-` character in front of them to indicate negation. The fields map to\nthose defined in the corresponding resource.\nThe supported operators are:\n\n- `=` for all value types.\n- `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values.\n- `:`, meaning substring matching, for strings. The supported value types are:\n- string literals in quotes.\n- integer literals without quotes.\n- boolean literals `true` and `false` without quotes.\n\n### setFilter\n\nExpression that defines the filter to apply across create/update events\nof assets or findings as specified by the event type. The expression is a\nlist of zero or more restrictions combined via logical operators `AND`\nand `OR`. Parentheses are supported, and `OR` has higher precedence than\n`AND`.\n\nRestrictions have the form `\u003cfield\u003e \u003coperator\u003e \u003cvalue\u003e` and may have a\n`-` character in front of them to indicate negation. The fields map to\nthose defined in the corresponding resource.\nThe supported operators are:\n\n- `=` for all value types.\n- `\u003e`, `\u003c`, `\u003e=`, `\u003c=` for integer values.\n- `:`, meaning substring matching, for strings. The supported value types are:\n- string literals in quotes.\n- integer literals without quotes.\n- boolean literals `true` and `false` without quotes."]]