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

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

Request for the CreateScanConfig method.

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

Namespace

Google \ Cloud \ WebSecurityScanner \ V1beta

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\V1beta\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\V1beta\ScanConfig|null

hasScanConfig

clearScanConfig

setScanConfig

Required. The ScanConfig to be created.

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