Google Cloud Security Command Center V2 Client - Class ListFindingsResult (1.30.0)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class ListFindingsResult.

Result containing the Finding.

Generated from protobuf message google.cloud.securitycenter.v2.ListFindingsResponse.ListFindingsResult

Namespace

Google \ Cloud \ SecurityCenter \ V2 \ ListFindingsResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ finding Google\Cloud\SecurityCenter\V2\Finding

Finding matching the search request.

↳ resource Google\Cloud\SecurityCenter\V2\ListFindingsResponse\ListFindingsResult\Resource

Output only. Resource that is associated with this finding.

getFinding

Finding matching the search request.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\Finding|null

hasFinding

clearFinding

setFinding

Finding matching the search request.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\Finding
Returns
Type Description
$this

getResource

Output only. Resource that is associated with this finding.

Returns
Type Description
Google\Cloud\SecurityCenter\V2\ListFindingsResponse\ListFindingsResult\Resource|null

hasResource

clearResource

setResource

Output only. Resource that is associated with this finding.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V2\ListFindingsResponse\ListFindingsResult\Resource
Returns
Type Description
$this