Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
docs: specify allowed fields for UpdateNotificationConfig (#174)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/2c593734-539a-435d-8a04-27f04c90082f/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 316714521
Source-Link: googleapis/googleapis@714a5f1
  • Loading branch information
yoshi-automation committed Jun 16, 2020
1 parent b09f252 commit 2bdf201
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 26 deletions.
Expand Up @@ -2302,7 +2302,8 @@ public final UnaryCallable<UpdateFindingRequest, Finding> updateFindingCallable(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand All @@ -2326,7 +2327,8 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand Down Expand Up @@ -2355,7 +2357,8 @@ public final NotificationConfig updateNotificationConfig(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand All @@ -2379,7 +2382,8 @@ public final NotificationConfig updateNotificationConfig(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand Down
Expand Up @@ -2443,7 +2443,8 @@ public final UnaryCallable<UpdateFindingRequest, Finding> updateFindingCallable(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand All @@ -2467,7 +2468,8 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand Down Expand Up @@ -2496,7 +2498,8 @@ public final NotificationConfig updateNotificationConfig(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand All @@ -2520,7 +2523,8 @@ public final NotificationConfig updateNotificationConfig(

// AUTO-GENERATED DOCUMENTATION AND METHOD
/**
* Updates a notification config.
* Updates a notification config. The following update fields are allowed: description,
* pubsub_topic, streaming_config.filter
*
* <p>Sample code:
*
Expand Down
Expand Up @@ -1443,7 +1443,8 @@ public void updateFinding(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public void updateNotificationConfig(
Expand Down Expand Up @@ -1998,7 +1999,8 @@ public void updateFinding(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public void updateNotificationConfig(
Expand Down Expand Up @@ -2331,7 +2333,8 @@ public com.google.cloud.securitycenter.v1.Finding updateFinding(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public com.google.cloud.securitycenter.v1.NotificationConfig updateNotificationConfig(
Expand Down Expand Up @@ -2680,7 +2683,8 @@ protected SecurityCenterFutureStub build(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Expand Up @@ -1456,7 +1456,8 @@ public void updateFinding(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public void updateNotificationConfig(
Expand Down Expand Up @@ -2021,7 +2022,8 @@ public void updateFinding(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public void updateNotificationConfig(
Expand Down Expand Up @@ -2355,7 +2357,8 @@ public com.google.cloud.securitycenter.v1p1beta1.Finding updateFinding(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public com.google.cloud.securitycenter.v1p1beta1.NotificationConfig updateNotificationConfig(
Expand Down Expand Up @@ -2706,7 +2709,8 @@ protected SecurityCenterFutureStub build(
*
*
* <pre>
* Updates a notification config.
* Updates a notification config. The following update
* fields are allowed: description, pubsub_topic, streaming_config.filter
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Expand Up @@ -240,8 +240,8 @@ service SecurityCenter {
option (google.api.method_signature) = "finding";
}

//
// Updates a notification config.
// Updates a notification config. The following update
// fields are allowed: description, pubsub_topic, streaming_config.filter
rpc UpdateNotificationConfig(UpdateNotificationConfigRequest)
returns (NotificationConfig) {
option (google.api.http) = {
Expand Down
Expand Up @@ -246,7 +246,8 @@ service SecurityCenter {
option (google.api.method_signature) = "finding,update_mask";
}

// Updates a notification config.
// Updates a notification config. The following update
// fields are allowed: description, pubsub_topic, streaming_config.filter
rpc UpdateNotificationConfig(UpdateNotificationConfigRequest)
returns (NotificationConfig) {
option (google.api.http) = {
Expand Down
14 changes: 7 additions & 7 deletions synth.metadata
Expand Up @@ -4,31 +4,31 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-securitycenter.git",
"sha": "8ce6f892400cb4a4fdc5d7f9fcd2b8b7c3a157aa"
"sha": "b09f2525e597a003e00256d661d34de3909b7e7d"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8",
"internalRef": "315933871"
"sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade",
"internalRef": "316714521"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8",
"internalRef": "315933871"
"sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade",
"internalRef": "316714521"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8",
"internalRef": "315933871"
"sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade",
"internalRef": "316714521"
}
},
{
Expand Down

0 comments on commit 2bdf201

Please sign in to comment.