Class ProjectsResource.SourcesResource.FindingsResource.SetMuteRequest
Updates the mute state of a finding.
Inheritance
ProjectsResource.SourcesResource.FindingsResource.SetMuteRequest
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class ProjectsResource.SourcesResource.FindingsResource.SetMuteRequest : SecurityCommandCenterBaseServiceRequest<Finding>, IClientServiceRequest<Finding>, IClientServiceRequest
Constructors
SetMuteRequest(IClientService, SetMuteRequest, string)
Constructs a new SetMute request.
Declaration
public SetMuteRequest(IClientService service, SetMuteRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SetMuteRequest | 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 SetMute parameter list.
Declaration
protected override void InitParameters()