Class ProjectsResource.SourcesResource.FindingsResource
The "findings" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class ProjectsResource.SourcesResource.FindingsResource
Constructors
FindingsResource(IClientService)
Constructs a new resource.
Declaration
public FindingsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
ExternalSystems
Gets the ExternalSystems resource.
Declaration
public virtual ProjectsResource.SourcesResource.FindingsResource.ExternalSystemsResource ExternalSystems { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.SourcesResource.FindingsResource.ExternalSystemsResource |
Methods
Group(GroupFindingsRequest, string)
Filters an organization or source's findings and groups them by their specified properties. To group
across all sources provide a -
as the source id. Example:
/v1/organizations/{organization_id}/sources/-/findings, /v1/folders/{folder_id}/sources/-/findings,
/v1/projects/{project_id}/sources/-/findings
Declaration
public virtual ProjectsResource.SourcesResource.FindingsResource.GroupRequest Group(GroupFindingsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GroupFindingsRequest | body | The body of the request. |
string | parent | Required. Name of the source to groupBy. Its format is
|
Returns
Type | Description |
---|---|
ProjectsResource.SourcesResource.FindingsResource.GroupRequest |
List(string)
Lists an organization or source's findings. To list across all sources provide a -
as the source
id. Example: /v1/organizations/{organization_id}/sources/-/findings
Declaration
public virtual ProjectsResource.SourcesResource.FindingsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the source the findings belong to. Its format is
|
Returns
Type | Description |
---|---|
ProjectsResource.SourcesResource.FindingsResource.ListRequest |
Patch(Finding, string)
Creates or updates a finding. The corresponding source must exist for a finding creation to succeed.
Declaration
public virtual ProjectsResource.SourcesResource.FindingsResource.PatchRequest Patch(Finding body, string name)
Parameters
Type | Name | Description |
---|---|---|
Finding | body | The body of the request. |
string | name | 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}". |
Returns
Type | Description |
---|---|
ProjectsResource.SourcesResource.FindingsResource.PatchRequest |
SetMute(SetMuteRequest, string)
Updates the mute state of a finding.
Declaration
public virtual ProjectsResource.SourcesResource.FindingsResource.SetMuteRequest SetMute(SetMuteRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
SetMuteRequest | body | The body of the request. |
string | name | Required. The relative resource
name of the finding.
Example: |
Returns
Type | Description |
---|---|
ProjectsResource.SourcesResource.FindingsResource.SetMuteRequest |
SetState(SetFindingStateRequest, string)
Updates the state of a finding.
Declaration
public virtual ProjectsResource.SourcesResource.FindingsResource.SetStateRequest SetState(SetFindingStateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
SetFindingStateRequest | body | The body of the request. |
string | name | Required. The relative resource
name of the finding.
Example: |
Returns
Type | Description |
---|---|
ProjectsResource.SourcesResource.FindingsResource.SetStateRequest |
UpdateSecurityMarks(SecurityMarks, string)
Updates security marks.
Declaration
public virtual ProjectsResource.SourcesResource.FindingsResource.UpdateSecurityMarksRequest UpdateSecurityMarks(SecurityMarks body, string name)
Parameters
Type | Name | Description |
---|---|---|
SecurityMarks | body | The body of the request. |
string | name | The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: "organizations/{organization_id}/assets/{asset_id}/securityMarks" "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks". |
Returns
Type | Description |
---|---|
ProjectsResource.SourcesResource.FindingsResource.UpdateSecurityMarksRequest |