Google Cloud Security Command Center V1 Client - Class ListFindingsResult (1.13.1)

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

Result containing the Finding and its StateChange.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ finding Google\Cloud\SecurityCenter\V1\Finding

Finding matching the search request.

↳ state_change int

State change of the finding between the points in time.

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

Output only. Resource that is associated with this finding.

getFinding

Finding matching the search request.

Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1;

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1\Finding|null

hasFinding

clearFinding

setFinding

Finding matching the search request.

Generated from protobuf field .google.cloud.securitycenter.v1.Finding finding = 1;

Parameter
NameDescription
var Google\Cloud\SecurityCenter\V1\Finding
Returns
TypeDescription
$this

getStateChange

State change of the finding between the points in time.

Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;

Returns
TypeDescription
int

setStateChange

State change of the finding between the points in time.

Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange state_change = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResource

Output only. Resource that is associated with this finding.

Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Google\Cloud\SecurityCenter\V1\ListFindingsResponse\ListFindingsResult\Resource|null

hasResource

clearResource

setResource

Output only. Resource that is associated with this finding.

Generated from protobuf field .google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource resource = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var Google\Cloud\SecurityCenter\V1\ListFindingsResponse\ListFindingsResult\Resource
Returns
TypeDescription
$this