Skip to content

Commit e7d3ca8

Browse files
docs: Specify allowed fields for UpdateNotificationConfig (#289)
PiperOrigin-RevId: 316714521 Source-Author: Google APIs <[email protected]> Source-Date: Tue Jun 16 10:55:41 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 714a5f10f22d932bf4365dfdd57ced2c819e0ade Source-Link: googleapis/googleapis@714a5f1
1 parent 91bc91b commit e7d3ca8

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1/securitycenter_service.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ service SecurityCenter {
240240
option (google.api.method_signature) = "finding";
241241
}
242242

243-
//
244-
// Updates a notification config.
243+
// Updates a notification config. The following update
244+
// fields are allowed: description, pubsub_topic, streaming_config.filter
245245
rpc UpdateNotificationConfig(UpdateNotificationConfigRequest)
246246
returns (NotificationConfig) {
247247
option (google.api.http) = {

packages/google-cloud-securitycenter/protos/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto

+2-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ service SecurityCenter {
246246
option (google.api.method_signature) = "finding,update_mask";
247247
}
248248

249-
// Updates a notification config.
249+
// Updates a notification config. The following update
250+
// fields are allowed: description, pubsub_topic, streaming_config.filter
250251
rpc UpdateNotificationConfig(UpdateNotificationConfigRequest)
251252
returns (NotificationConfig) {
252253
option (google.api.http) = {

packages/google-cloud-securitycenter/src/v1/security_center_client.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1570,8 +1570,8 @@ export class SecurityCenterClient {
15701570
>
15711571
): void;
15721572
/**
1573-
*
1574-
* Updates a notification config.
1573+
* Updates a notification config. The following update
1574+
* fields are allowed: description, pubsub_topic, streaming_config.filter
15751575
*
15761576
* @param {Object} request
15771577
* The request object that will be sent.

packages/google-cloud-securitycenter/src/v1p1beta1/security_center_client.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,8 @@ export class SecurityCenterClient {
16031603
>
16041604
): void;
16051605
/**
1606-
* Updates a notification config.
1606+
* Updates a notification config. The following update
1607+
* fields are allowed: description, pubsub_topic, streaming_config.filter
16071608
*
16081609
* @param {Object} request
16091610
* The request object that will be sent.

packages/google-cloud-securitycenter/synth.metadata

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-security-center.git",
7-
"sha": "f71426053da4eb2416ebd593862e89c0d5557827"
7+
"sha": "b1644df15866ac91d2ea7b4cec43c835b3f9e5c8"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8",
15-
"internalRef": "315933871"
14+
"sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade",
15+
"internalRef": "316714521"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)