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

Commit 2d4fb45

Browse files
docs: Update documentation for the Finding resource field "project_display_name" (#760)
- [ ] Regenerate this pull request now. docs: Update documentation for the Mute fields on Findings PiperOrigin-RevId: 429148908 Source-Link: googleapis/googleapis@c93764c Source-Link: https://github.com/googleapis/googleapis-gen/commit/88104688fff37c67ff72addb73f3fe61d19dc85a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODgxMDQ2ODhmZmYzN2M2N2ZmNzJhZGRiNzNmM2ZlNjFkMTlkYzg1YSJ9
1 parent e0a5854 commit 2d4fb45

21 files changed

Lines changed: 76 additions & 56 deletions

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,7 +1881,8 @@ public com.google.protobuf.ByteString getCanonicalNameBytes() {
18811881
*
18821882
* <pre>
18831883
* Indicates the mute state of a finding (either unspecified, muted, unmuted
1884-
* or undefined).
1884+
* or undefined). Unlike other attributes of a finding, a finding provider
1885+
* shouldn't set the value of mute.
18851886
* </pre>
18861887
*
18871888
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -1897,7 +1898,8 @@ public int getMuteValue() {
18971898
*
18981899
* <pre>
18991900
* Indicates the mute state of a finding (either unspecified, muted, unmuted
1900-
* or undefined).
1901+
* or undefined). Unlike other attributes of a finding, a finding provider
1902+
* shouldn't set the value of mute.
19011903
* </pre>
19021904
*
19031905
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -2302,7 +2304,8 @@ public com.google.cloud.securitycenter.v1.AccessOrBuilder getAccessOrBuilder() {
23022304
* <pre>
23032305
* First known as mute_annotation. Records additional information about the
23042306
* mute operation e.g. mute config that muted the finding, user who muted the
2305-
* finding, etc.
2307+
* finding, etc. Unlike other attributes of a finding, a finding provider
2308+
* shouldn't set the value of mute.
23062309
* </pre>
23072310
*
23082311
* <code>string mute_initiator = 28;</code>
@@ -2327,7 +2330,8 @@ public java.lang.String getMuteInitiator() {
23272330
* <pre>
23282331
* First known as mute_annotation. Records additional information about the
23292332
* mute operation e.g. mute config that muted the finding, user who muted the
2330-
* finding, etc.
2333+
* finding, etc. Unlike other attributes of a finding, a finding provider
2334+
* shouldn't set the value of mute.
23312335
* </pre>
23322336
*
23332337
* <code>string mute_initiator = 28;</code>
@@ -4859,7 +4863,8 @@ public Builder setCanonicalNameBytes(com.google.protobuf.ByteString value) {
48594863
*
48604864
* <pre>
48614865
* Indicates the mute state of a finding (either unspecified, muted, unmuted
4862-
* or undefined).
4866+
* or undefined). Unlike other attributes of a finding, a finding provider
4867+
* shouldn't set the value of mute.
48634868
* </pre>
48644869
*
48654870
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -4875,7 +4880,8 @@ public int getMuteValue() {
48754880
*
48764881
* <pre>
48774882
* Indicates the mute state of a finding (either unspecified, muted, unmuted
4878-
* or undefined).
4883+
* or undefined). Unlike other attributes of a finding, a finding provider
4884+
* shouldn't set the value of mute.
48794885
* </pre>
48804886
*
48814887
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -4894,7 +4900,8 @@ public Builder setMuteValue(int value) {
48944900
*
48954901
* <pre>
48964902
* Indicates the mute state of a finding (either unspecified, muted, unmuted
4897-
* or undefined).
4903+
* or undefined). Unlike other attributes of a finding, a finding provider
4904+
* shouldn't set the value of mute.
48984905
* </pre>
48994906
*
49004907
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -4913,7 +4920,8 @@ public com.google.cloud.securitycenter.v1.Finding.Mute getMute() {
49134920
*
49144921
* <pre>
49154922
* Indicates the mute state of a finding (either unspecified, muted, unmuted
4916-
* or undefined).
4923+
* or undefined). Unlike other attributes of a finding, a finding provider
4924+
* shouldn't set the value of mute.
49174925
* </pre>
49184926
*
49194927
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -4935,7 +4943,8 @@ public Builder setMute(com.google.cloud.securitycenter.v1.Finding.Mute value) {
49354943
*
49364944
* <pre>
49374945
* Indicates the mute state of a finding (either unspecified, muted, unmuted
4938-
* or undefined).
4946+
* or undefined). Unlike other attributes of a finding, a finding provider
4947+
* shouldn't set the value of mute.
49394948
* </pre>
49404949
*
49414950
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -6066,7 +6075,8 @@ public com.google.cloud.securitycenter.v1.AccessOrBuilder getAccessOrBuilder() {
60666075
* <pre>
60676076
* First known as mute_annotation. Records additional information about the
60686077
* mute operation e.g. mute config that muted the finding, user who muted the
6069-
* finding, etc.
6078+
* finding, etc. Unlike other attributes of a finding, a finding provider
6079+
* shouldn't set the value of mute.
60706080
* </pre>
60716081
*
60726082
* <code>string mute_initiator = 28;</code>
@@ -6090,7 +6100,8 @@ public java.lang.String getMuteInitiator() {
60906100
* <pre>
60916101
* First known as mute_annotation. Records additional information about the
60926102
* mute operation e.g. mute config that muted the finding, user who muted the
6093-
* finding, etc.
6103+
* finding, etc. Unlike other attributes of a finding, a finding provider
6104+
* shouldn't set the value of mute.
60946105
* </pre>
60956106
*
60966107
* <code>string mute_initiator = 28;</code>
@@ -6114,7 +6125,8 @@ public com.google.protobuf.ByteString getMuteInitiatorBytes() {
61146125
* <pre>
61156126
* First known as mute_annotation. Records additional information about the
61166127
* mute operation e.g. mute config that muted the finding, user who muted the
6117-
* finding, etc.
6128+
* finding, etc. Unlike other attributes of a finding, a finding provider
6129+
* shouldn't set the value of mute.
61186130
* </pre>
61196131
*
61206132
* <code>string mute_initiator = 28;</code>
@@ -6137,7 +6149,8 @@ public Builder setMuteInitiator(java.lang.String value) {
61376149
* <pre>
61386150
* First known as mute_annotation. Records additional information about the
61396151
* mute operation e.g. mute config that muted the finding, user who muted the
6140-
* finding, etc.
6152+
* finding, etc. Unlike other attributes of a finding, a finding provider
6153+
* shouldn't set the value of mute.
61416154
* </pre>
61426155
*
61436156
* <code>string mute_initiator = 28;</code>
@@ -6156,7 +6169,8 @@ public Builder clearMuteInitiator() {
61566169
* <pre>
61576170
* First known as mute_annotation. Records additional information about the
61586171
* mute operation e.g. mute config that muted the finding, user who muted the
6159-
* finding, etc.
6172+
* finding, etc. Unlike other attributes of a finding, a finding provider
6173+
* shouldn't set the value of mute.
61606174
* </pre>
61616175
*
61626176
* <code>string mute_initiator = 28;</code>

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
477477
*
478478
* <pre>
479479
* Indicates the mute state of a finding (either unspecified, muted, unmuted
480-
* or undefined).
480+
* or undefined). Unlike other attributes of a finding, a finding provider
481+
* shouldn't set the value of mute.
481482
* </pre>
482483
*
483484
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -490,7 +491,8 @@ com.google.protobuf.Value getSourcePropertiesOrDefault(
490491
*
491492
* <pre>
492493
* Indicates the mute state of a finding (either unspecified, muted, unmuted
493-
* or undefined).
494+
* or undefined). Unlike other attributes of a finding, a finding provider
495+
* shouldn't set the value of mute.
494496
* </pre>
495497
*
496498
* <code>.google.cloud.securitycenter.v1.Finding.Mute mute = 15;</code>
@@ -769,7 +771,8 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
769771
* <pre>
770772
* First known as mute_annotation. Records additional information about the
771773
* mute operation e.g. mute config that muted the finding, user who muted the
772-
* finding, etc.
774+
* finding, etc. Unlike other attributes of a finding, a finding provider
775+
* shouldn't set the value of mute.
773776
* </pre>
774777
*
775778
* <code>string mute_initiator = 28;</code>
@@ -783,7 +786,8 @@ com.google.cloud.securitycenter.v1.ExternalSystem getExternalSystemsOrDefault(
783786
* <pre>
784787
* First known as mute_annotation. Records additional information about the
785788
* mute operation e.g. mute config that muted the finding, user who muted the
786-
* finding, etc.
789+
* finding, etc. Unlike other attributes of a finding, a finding provider
790+
* shouldn't set the value of mute.
787791
* </pre>
788792
*
789793
* <code>string mute_initiator = 28;</code>

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListFindingsResponse.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ public interface ResourceOrBuilder
673673
*
674674
*
675675
* <pre>
676-
* The human readable name of project that the resource belongs to.
676+
* The project id that the resource belongs to.
677677
* </pre>
678678
*
679679
* <code>string project_display_name = 3;</code>
@@ -685,7 +685,7 @@ public interface ResourceOrBuilder
685685
*
686686
*
687687
* <pre>
688-
* The human readable name of project that the resource belongs to.
688+
* The project id that the resource belongs to.
689689
* </pre>
690690
*
691691
* <code>string project_display_name = 3;</code>
@@ -1124,7 +1124,7 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
11241124
*
11251125
*
11261126
* <pre>
1127-
* The human readable name of project that the resource belongs to.
1127+
* The project id that the resource belongs to.
11281128
* </pre>
11291129
*
11301130
* <code>string project_display_name = 3;</code>
@@ -1147,7 +1147,7 @@ public java.lang.String getProjectDisplayName() {
11471147
*
11481148
*
11491149
* <pre>
1150-
* The human readable name of project that the resource belongs to.
1150+
* The project id that the resource belongs to.
11511151
* </pre>
11521152
*
11531153
* <code>string project_display_name = 3;</code>
@@ -2189,7 +2189,7 @@ public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
21892189
*
21902190
*
21912191
* <pre>
2192-
* The human readable name of project that the resource belongs to.
2192+
* The project id that the resource belongs to.
21932193
* </pre>
21942194
*
21952195
* <code>string project_display_name = 3;</code>
@@ -2211,7 +2211,7 @@ public java.lang.String getProjectDisplayName() {
22112211
*
22122212
*
22132213
* <pre>
2214-
* The human readable name of project that the resource belongs to.
2214+
* The project id that the resource belongs to.
22152215
* </pre>
22162216
*
22172217
* <code>string project_display_name = 3;</code>
@@ -2233,7 +2233,7 @@ public com.google.protobuf.ByteString getProjectDisplayNameBytes() {
22332233
*
22342234
*
22352235
* <pre>
2236-
* The human readable name of project that the resource belongs to.
2236+
* The project id that the resource belongs to.
22372237
* </pre>
22382238
*
22392239
* <code>string project_display_name = 3;</code>
@@ -2254,7 +2254,7 @@ public Builder setProjectDisplayName(java.lang.String value) {
22542254
*
22552255
*
22562256
* <pre>
2257-
* The human readable name of project that the resource belongs to.
2257+
* The project id that the resource belongs to.
22582258
* </pre>
22592259
*
22602260
* <code>string project_display_name = 3;</code>
@@ -2271,7 +2271,7 @@ public Builder clearProjectDisplayName() {
22712271
*
22722272
*
22732273
* <pre>
2274-
* The human readable name of project that the resource belongs to.
2274+
* The project id that the resource belongs to.
22752275
* </pre>
22762276
*
22772277
* <code>string project_display_name = 3;</code>

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Resource.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public com.google.protobuf.ByteString getProjectBytes() {
281281
*
282282
*
283283
* <pre>
284-
* The human readable name of project that the resource belongs to.
284+
* The project id that the resource belongs to.
285285
* </pre>
286286
*
287287
* <code>string project_display_name = 3;</code>
@@ -304,7 +304,7 @@ public java.lang.String getProjectDisplayName() {
304304
*
305305
*
306306
* <pre>
307-
* The human readable name of project that the resource belongs to.
307+
* The project id that the resource belongs to.
308308
* </pre>
309309
*
310310
* <code>string project_display_name = 3;</code>
@@ -1301,7 +1301,7 @@ public Builder setProjectBytes(com.google.protobuf.ByteString value) {
13011301
*
13021302
*
13031303
* <pre>
1304-
* The human readable name of project that the resource belongs to.
1304+
* The project id that the resource belongs to.
13051305
* </pre>
13061306
*
13071307
* <code>string project_display_name = 3;</code>
@@ -1323,7 +1323,7 @@ public java.lang.String getProjectDisplayName() {
13231323
*
13241324
*
13251325
* <pre>
1326-
* The human readable name of project that the resource belongs to.
1326+
* The project id that the resource belongs to.
13271327
* </pre>
13281328
*
13291329
* <code>string project_display_name = 3;</code>
@@ -1345,7 +1345,7 @@ public com.google.protobuf.ByteString getProjectDisplayNameBytes() {
13451345
*
13461346
*
13471347
* <pre>
1348-
* The human readable name of project that the resource belongs to.
1348+
* The project id that the resource belongs to.
13491349
* </pre>
13501350
*
13511351
* <code>string project_display_name = 3;</code>
@@ -1366,7 +1366,7 @@ public Builder setProjectDisplayName(java.lang.String value) {
13661366
*
13671367
*
13681368
* <pre>
1369-
* The human readable name of project that the resource belongs to.
1369+
* The project id that the resource belongs to.
13701370
* </pre>
13711371
*
13721372
* <code>string project_display_name = 3;</code>
@@ -1383,7 +1383,7 @@ public Builder clearProjectDisplayName() {
13831383
*
13841384
*
13851385
* <pre>
1386-
* The human readable name of project that the resource belongs to.
1386+
* The project id that the resource belongs to.
13871387
* </pre>
13881388
*
13891389
* <code>string project_display_name = 3;</code>

proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ResourceOrBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public interface ResourceOrBuilder
7979
*
8080
*
8181
* <pre>
82-
* The human readable name of project that the resource belongs to.
82+
* The project id that the resource belongs to.
8383
* </pre>
8484
*
8585
* <code>string project_display_name = 3;</code>
@@ -91,7 +91,7 @@ public interface ResourceOrBuilder
9191
*
9292
*
9393
* <pre>
94-
* The human readable name of project that the resource belongs to.
94+
* The project id that the resource belongs to.
9595
* </pre>
9696
*
9797
* <code>string project_display_name = 3;</code>

proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/access.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/asset.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/external_system.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -226,7 +226,8 @@ message Finding {
226226
string canonical_name = 14;
227227

228228
// Indicates the mute state of a finding (either unspecified, muted, unmuted
229-
// or undefined).
229+
// or undefined). Unlike other attributes of a finding, a finding provider
230+
// shouldn't set the value of mute.
230231
Mute mute = 15;
231232

232233
// The class of the finding.
@@ -257,6 +258,7 @@ message Finding {
257258

258259
// First known as mute_annotation. Records additional information about the
259260
// mute operation e.g. mute config that muted the finding, user who muted the
260-
// finding, etc.
261+
// finding, etc. Unlike other attributes of a finding, a finding provider
262+
// shouldn't set the value of mute.
261263
string mute_initiator = 28;
262264
}

proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/folder.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)