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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getScanConfig

Required. The ScanConfig to be created.

Returns
TypeDescription
Google\Cloud\WebSecurityScanner\V1\ScanConfig|null

hasScanConfig

clearScanConfig

setScanConfig

Required. The ScanConfig to be created.

Parameter
NameDescription
var Google\Cloud\WebSecurityScanner\V1\ScanConfig
Returns
TypeDescription
$this