Google Cloud Web Security Scanner V1 Client - Class CreateScanConfigRequest (1.0.0)

Reference documentation and code samples for the Google Cloud Web Security Scanner V1 Client class CreateScanConfigRequest.

Request for the CreateScanConfig method.

Generated from protobuf message google.cloud.websecurityscanner.v1.CreateScanConfigRequest

Namespace

Google \ Cloud \ WebSecurityScanner \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.

↳ scan_config Google\Cloud\WebSecurityScanner\V1\ScanConfig

Required. The ScanConfig to be created.

getParent

Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.

Returns
Type Description
string

setParent

Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.

Parameter
Name Description
var string
Returns
Type Description
$this

getScanConfig

Required. The ScanConfig to be created.

Returns
Type Description
Google\Cloud\WebSecurityScanner\V1\ScanConfig|null

hasScanConfig

clearScanConfig

setScanConfig

Required. The ScanConfig to be created.

Parameter
Name Description
var Google\Cloud\WebSecurityScanner\V1\ScanConfig
Returns
Type Description
$this