Show / Hide Table of Contents

Class FoldersResource.SourcesResource.FindingsResource

The "findings" collection of methods.

Inheritance
object
FoldersResource.SourcesResource.FindingsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class FoldersResource.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 FoldersResource.SourcesResource.FindingsResource.ExternalSystemsResource ExternalSystems { get; }
Property Value
Type Description
FoldersResource.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 FoldersResource.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 "organizations/[organization_id]/sources/[source_id]", folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]. To groupBy across all sources provide a source_id of -. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-, or projects/{project_id}/sources/-

Returns
Type Description
FoldersResource.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 FoldersResource.SourcesResource.FindingsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Name of the source the findings belong to. Its format is "organizations/[organization_id]/sources/[source_id], folders/[folder_id]/sources/[source_id], or projects/[project_id]/sources/[source_id]". To list across all sources provide a source_id of -. For example: organizations/{organization_id}/sources/-, folders/{folder_id}/sources/- or projects/{projects_id}/sources/-

Returns
Type Description
FoldersResource.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 FoldersResource.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
FoldersResource.SourcesResource.FindingsResource.PatchRequest

SetMute(SetMuteRequest, string)

Updates the mute state of a finding.

Declaration
public virtual FoldersResource.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: "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
FoldersResource.SourcesResource.FindingsResource.SetMuteRequest

SetState(SetFindingStateRequest, string)

Updates the state of a finding.

Declaration
public virtual FoldersResource.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: "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
FoldersResource.SourcesResource.FindingsResource.SetStateRequest

UpdateSecurityMarks(SecurityMarks, string)

Updates security marks.

Declaration
public virtual FoldersResource.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
FoldersResource.SourcesResource.FindingsResource.UpdateSecurityMarksRequest
In This Article
Back to top Generated by DocFX