Class OrganizationsResource.SourcesResource.FindingsResource.SetMuteRequest
Updates the mute state of a finding.
Inheritance
OrganizationsResource.SourcesResource.FindingsResource.SetMuteRequest
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class OrganizationsResource.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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1.Data.Finding>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1.Data.Finding>.MethodName
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1.Data.Finding>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1.Data.Finding>.GetBody()
InitParameters()
Initializes SetMute parameter list.
Declaration
protected override void InitParameters()