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:
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:
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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::SetFindingStateRequest (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-security_center-v2/1.2.0/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [1.1.1](/ruby/docs/reference/google-cloud-security_center-v2/1.1.1/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [1.0.0](/ruby/docs/reference/google-cloud-security_center-v2/1.0.0/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-security_center-v2/0.6.0/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-security_center-v2/0.5.0/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [0.4.1](/ruby/docs/reference/google-cloud-security_center-v2/0.4.1/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-security_center-v2/0.3.0/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-security_center-v2/0.2.0/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-security_center-v2/0.1.0/Google-Cloud-SecurityCenter-V2-SetFindingStateRequest) \nReference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::SetFindingStateRequest.\n\nRequest message for updating a finding's state. \n\nInherits\n--------\n\n- [Object](./Google-Cloud-SecurityCenter-V2-Kubernetes-Object) \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The [relative resource\n name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)\n of the finding. If no location is specified, finding is assumed to be in\n global. The following list shows some examples:\n\n +\n `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`\n +\n `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n - `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n - `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The [relative resource\n name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)\n of the finding. If no location is specified, finding is assumed to be in\n global. The following list shows some examples:\n\n +\n `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`\n +\n `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n - `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n- `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}` \n**Returns**\n\n- (::String) --- Required. The [relative resource\n name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)\n of the finding. If no location is specified, finding is assumed to be in\n global. The following list shows some examples:\n\n +\n `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`\n +\n `organizations/{organization_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n - `folders/{folder_id}/sources/{source_id}/findings/{finding_id}` + `folders/{folder_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n - `projects/{project_id}/sources/{source_id}/findings/{finding_id}` + `projects/{project_id}/sources/{source_id}/locations/{location_id}/findings/{finding_id}`\n\n### #state\n\n def state() -\u003e ::Google::Cloud::SecurityCenter::V2::Finding::State\n\n**Returns**\n\n- ([::Google::Cloud::SecurityCenter::V2::Finding::State](./Google-Cloud-SecurityCenter-V2-Finding-State)) --- Required. The desired State of the finding.\n\n### #state=\n\n def state=(value) -\u003e ::Google::Cloud::SecurityCenter::V2::Finding::State\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SecurityCenter::V2::Finding::State](./Google-Cloud-SecurityCenter-V2-Finding-State)) --- Required. The desired State of the finding. \n**Returns**\n\n- ([::Google::Cloud::SecurityCenter::V2::Finding::State](./Google-Cloud-SecurityCenter-V2-Finding-State)) --- Required. The desired State of the finding."]]