Security Command Center v2 API - Class SetFindingStateRequest (1.0.0-beta05)

public sealed class SetFindingStateRequest : IMessage<SetFindingStateRequest>, IEquatable<SetFindingStateRequest>, IDeepCloneable<SetFindingStateRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Security Command Center v2 API class SetFindingStateRequest.

Request message for updating a finding's state.

Inheritance

object > SetFindingStateRequest

Namespace

Google.Cloud.SecurityCenter.V2

Assembly

Google.Cloud.SecurityCenter.V2.dll

Constructors

SetFindingStateRequest()

public SetFindingStateRequest()

SetFindingStateRequest(SetFindingStateRequest)

public SetFindingStateRequest(SetFindingStateRequest other)
Parameter
Name Description
other SetFindingStateRequest

Properties

FindingName

public FindingName FindingName { get; set; }

FindingName-typed view over the Name resource name property.

Property Value
Type Description
FindingName

Name

public string Name { get; set; }

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}
Property Value
Type Description
string

State

public Finding.Types.State State { get; set; }

Required. The desired State of the finding.

Property Value
Type Description
FindingTypesState