Google Cloud Secure Source Manager V1 Client - Class SecretScanConfig (1.9.0)

Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class SecretScanConfig.

Configuration for secret scanning.

Generated from protobuf message google.cloud.securesourcemanager.v1.Repository.ScanConfig.SecretScanConfig

Namespace

Google \ Cloud \ SecureSourceManager \ V1 \ Repository \ ScanConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Optional. Enables secret scanning for the repository.

↳ inspect_template string

Optional. The DLP inspect template to use for secret scanning.

getEnabled

Optional. Enables secret scanning for the repository.

Returns
Type Description
bool

setEnabled

Optional. Enables secret scanning for the repository.

Parameter
Name Description
var bool
Returns
Type Description
$this

getInspectTemplate

Optional. The DLP inspect template to use for secret scanning.

Returns
Type Description
string

setInspectTemplate

Optional. The DLP inspect template to use for secret scanning.

Parameter
Name Description
var string
Returns
Type Description
$this