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 \ V1betaMethods
__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\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 | |
|---|---|
| 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\V1beta\ScanConfig|null |
|
hasScanConfig
clearScanConfig
setScanConfig
Required. The ScanConfig to be created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\WebSecurityScanner\V1beta\ScanConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|