Google Cloud Security Command Center V1 Client - Class CustomOutputSpec (1.32.0)

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

A set of optional name-value pairs that define custom source properties to return with each finding that is generated by the custom module. The custom source properties that are defined here are included in the finding JSON under sourceProperties.

Generated from protobuf message google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec

Namespace

Google \ Cloud \ SecurityCenter \ V1 \ CustomConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ properties array<Google\Cloud\SecurityCenter\V1\CustomConfig\CustomOutputSpec\Property>

A list of custom output properties to add to the finding.

getProperties

A list of custom output properties to add to the finding.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setProperties

A list of custom output properties to add to the finding.

Parameter
Name Description
var array<Google\Cloud\SecurityCenter\V1\CustomConfig\CustomOutputSpec\Property>
Returns
Type Description
$this