Skip to content

Commit 060daf5

Browse files
authored
fix(securitycenter): update filter field to mutable path (GoogleCloudPlatform#1115)
1 parent 6ad9c85 commit 060daf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

securitycenter/src/update_notification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
$notificationConfigName = $securityCenterClient::notificationConfigName($organizationId, $notificationConfigId);
4343

4444
$streamingConfig = (new StreamingConfig())->setFilter("state = \"ACTIVE\"");
45-
$fieldMask = (new FieldMask())->setPaths(['description', 'pubsub_topic']);
45+
$fieldMask = (new FieldMask())->setPaths(['description', 'pubsub_topic', 'streaming_config.filter']);
4646
$notificationConfig = (new NotificationConfig())
4747
->setName($notificationConfigName)
4848
->setDescription('Updated description.')

0 commit comments

Comments
 (0)