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

Commit 5e02432

Browse files
docs: Update documentation for the Finding resource field "project_display_name" (#282)
- [ ] 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 0e54f6b commit 5e02432

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

google/cloud/securitycenter_v1/types/finding.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ class Finding(proto.Message):
107107
mute (google.cloud.securitycenter_v1.types.Finding.Mute):
108108
Indicates the mute state of a finding (either
109109
unspecified, muted, unmuted or undefined).
110+
Unlike other attributes of a finding, a finding
111+
provider shouldn't set the value of mute.
110112
finding_class (google.cloud.securitycenter_v1.types.Finding.FindingClass):
111113
The class of the finding.
112114
indicator (google.cloud.securitycenter_v1.types.Indicator):
@@ -134,7 +136,9 @@ class Finding(proto.Message):
134136
mute_initiator (str):
135137
First known as mute_annotation. Records additional
136138
information about the mute operation e.g. mute config that
137-
muted the finding, user who muted the finding, etc.
139+
muted the finding, user who muted the finding, etc. Unlike
140+
other attributes of a finding, a finding provider shouldn't
141+
set the value of mute.
138142
"""
139143

140144
class State(proto.Enum):

google/cloud/securitycenter_v1/types/resource.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ class Resource(proto.Message):
3434
The full resource name of project that the
3535
resource belongs to.
3636
project_display_name (str):
37-
The human readable name of project that the
38-
resource belongs to.
37+
The project id that the resource belongs to.
3938
parent (str):
4039
The full resource name of resource's parent.
4140
parent_display_name (str):

google/cloud/securitycenter_v1/types/securitycenter_service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,8 +1333,7 @@ class Resource(proto.Message):
13331333
The full resource name of project that the
13341334
resource belongs to.
13351335
project_display_name (str):
1336-
The human readable name of project that the
1337-
resource belongs to.
1336+
The project id that the resource belongs to.
13381337
parent_name (str):
13391338
The full resource name of resource's parent.
13401339
parent_display_name (str):

0 commit comments

Comments
 (0)