Class FoldersResource.SourcesResource.FindingsResource.SetStateRequest
Updates the state of a finding.
Inheritance
FoldersResource.SourcesResource.FindingsResource.SetStateRequest
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class FoldersResource.SourcesResource.FindingsResource.SetStateRequest : SecurityCommandCenterBaseServiceRequest<Finding>, IClientServiceRequest<Finding>, IClientServiceRequest
Constructors
SetStateRequest(IClientService, SetFindingStateRequest, string)
Constructs a new SetState request.
Declaration
public SetStateRequest(IClientService service, SetFindingStateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SetFindingStateRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The relative resource
name of the
finding. Example: organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
,
folders/{folder_id}/sources/{source_id}/findings/{finding_id}
,
projects/{project_id}/sources/{source_id}/findings/{finding_id}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes SetState parameter list.
Declaration
protected override void InitParameters()