Class: Google::Cloud::SecurityCenter::V2::SetFindingStateRequest
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V2::SetFindingStateRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb
Overview
Request message for updating a finding's state.
Instance Attribute Summary collapse
-
#name ⇒ ::String
Required.
-
#state ⇒ ::Google::Cloud::SecurityCenter::V2::Finding::State
Required.
Instance Attribute Details
#name ⇒ ::String
Returns 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}
.
1059 1060 1061 1062 |
# File 'proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb', line 1059 class SetFindingStateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#state ⇒ ::Google::Cloud::SecurityCenter::V2::Finding::State
Returns Required. The desired State of the finding.
1059 1060 1061 1062 |
# File 'proto_docs/google/cloud/securitycenter/v2/securitycenter_service.rb', line 1059 class SetFindingStateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |