Class ProjectsResource.SourcesResource.FindingsResource.GroupRequest
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
Inheritance
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1
Assembly: Google.Apis.SecurityCommandCenter.v1.dll
Syntax
public class ProjectsResource.SourcesResource.FindingsResource.GroupRequest : SecurityCommandCenterBaseServiceRequest<GroupFindingsResponse>, IClientServiceRequest<GroupFindingsResponse>, IClientServiceRequest
Constructors
GroupRequest(IClientService, GroupFindingsRequest, string)
Constructs a new Group request.
Declaration
public GroupRequest(IClientService service, GroupFindingsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GroupFindingsRequest | body | |
string | parent |
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
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/-
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 Group parameter list.
Declaration
protected override void InitParameters()