Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::SetMuteRequest.
Request message for updating a finding's mute status.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mute
def mute() -> ::Google::Cloud::SecurityCenter::V2::Finding::Mute
- (::Google::Cloud::SecurityCenter::V2::Finding::Mute) — Required. The desired state of the Mute.
#mute=
def mute=(value) -> ::Google::Cloud::SecurityCenter::V2::Finding::Mute
- value (::Google::Cloud::SecurityCenter::V2::Finding::Mute) — Required. The desired state of the Mute.
- (::Google::Cloud::SecurityCenter::V2::Finding::Mute) — Required. The desired state of the Mute.
#name
def name() -> ::String
-
(::String) —
Required. The relative resource name of the finding. If no location is specified, finding is assumed to be in global. The following list shows some examples:
+
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
+organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
+folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
projects/{project_id}/sources/{source_id}/findings/{finding_id}
+projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
#name=
def name=(value) -> ::String
-
value (::String) —
Required. The relative resource name of the finding. If no location is specified, finding is assumed to be in global. The following list shows some examples:
+
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
+organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
+folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
projects/{project_id}/sources/{source_id}/findings/{finding_id}
+projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
-
(::String) —
Required. The relative resource name of the finding. If no location is specified, finding is assumed to be in global. The following list shows some examples:
+
organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
+organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
+folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}
projects/{project_id}/sources/{source_id}/findings/{finding_id}
+projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}