Show / Hide Table of Contents

Class OrganizationsResource.SourcesResource.FindingsResource

The "findings" collection of methods.

Inheritance
object
OrganizationsResource.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 OrganizationsResource.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 OrganizationsResource.SourcesResource.FindingsResource.ExternalSystemsResource ExternalSystems { get; }
Property Value
Type Description
OrganizationsResource.SourcesResource.FindingsResource.ExternalSystemsResource

Methods

Create(Finding, string)

Creates a finding. The corresponding source must exist for finding creation to succeed.

Declaration
public virtual OrganizationsResource.SourcesResource.FindingsResource.CreateRequest Create(Finding body, string parent)
Parameters
Type Name Description
Finding body

The body of the request.

string parent

Required. Resource name of the new finding's parent. Its format should be organizations/[organization_id]/sources/[source_id].

Returns
Type Description
OrganizationsResource.SourcesResource.FindingsResource.CreateRequest

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 OrganizationsResource.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
OrganizationsResource.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 OrganizationsResource.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
OrganizationsResource.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 OrganizationsResource.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
OrganizationsResource.SourcesResource.FindingsResource.PatchRequest

SetMute(SetMuteRequest, string)

Updates the mute state of a finding.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.SourcesResource.FindingsResource.SetMuteRequest

SetState(SetFindingStateRequest, string)

Updates the state of a finding.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.SourcesResource.FindingsResource.SetStateRequest

UpdateSecurityMarks(SecurityMarks, string)

Updates security marks.

Declaration
public virtual OrganizationsResource.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
OrganizationsResource.SourcesResource.FindingsResource.UpdateSecurityMarksRequest
In this article
Back to top Generated by DocFX