From b25abec88b3a65634470d5f94504e9548c07f683 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 18 Feb 2022 10:59:02 +0000 Subject: [PATCH] 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: https://github.com/googleapis/googleapis/commit/c93764cc28b12e745f453a3eacf20080e3ec5a0c Source-Link: https://github.com/googleapis/googleapis-gen/commit/88104688fff37c67ff72addb73f3fe61d19dc85a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODgxMDQ2ODhmZmYzN2M2N2ZmNzJhZGRiNzNmM2ZlNjFkMTlkYzg1YSJ9 --- .../google/cloud/securitycenter_v1/types/finding.py | 6 +++++- .../google/cloud/securitycenter_v1/types/resource.py | 3 +-- .../cloud/securitycenter_v1/types/securitycenter_service.py | 3 +-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/finding.py b/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/finding.py index ea01b3f53120..85a00bdc6cd9 100644 --- a/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/finding.py +++ b/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/finding.py @@ -107,6 +107,8 @@ class Finding(proto.Message): mute (google.cloud.securitycenter_v1.types.Finding.Mute): Indicates the mute state of a finding (either unspecified, muted, unmuted or undefined). + Unlike other attributes of a finding, a finding + provider shouldn't set the value of mute. finding_class (google.cloud.securitycenter_v1.types.Finding.FindingClass): The class of the finding. indicator (google.cloud.securitycenter_v1.types.Indicator): @@ -134,7 +136,9 @@ class Finding(proto.Message): mute_initiator (str): First known as mute_annotation. Records additional information about the mute operation e.g. mute config that - muted the finding, user who muted the finding, etc. + muted the finding, user who muted the finding, etc. Unlike + other attributes of a finding, a finding provider shouldn't + set the value of mute. """ class State(proto.Enum): diff --git a/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/resource.py b/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/resource.py index 38aa4d024363..28d9b1f572b7 100644 --- a/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/resource.py +++ b/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/resource.py @@ -34,8 +34,7 @@ class Resource(proto.Message): The full resource name of project that the resource belongs to. project_display_name (str): - The human readable name of project that the - resource belongs to. + The project id that the resource belongs to. parent (str): The full resource name of resource's parent. parent_display_name (str): diff --git a/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/securitycenter_service.py b/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/securitycenter_service.py index c5911d8fd9f2..1128270bc967 100644 --- a/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/securitycenter_service.py +++ b/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1/types/securitycenter_service.py @@ -1333,8 +1333,7 @@ class Resource(proto.Message): The full resource name of project that the resource belongs to. project_display_name (str): - The human readable name of project that the - resource belongs to. + The project id that the resource belongs to. parent_name (str): The full resource name of resource's parent. parent_display_name (str):