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

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

Request for the UpdateScanConfigRequest method.

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

Namespace

Google \ Cloud \ WebSecurityScanner \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ scan_config Google\Cloud\WebSecurityScanner\V1\ScanConfig

Required. The ScanConfig to be updated. The name field must be set to identify the resource to be updated. The values of fields not covered by the mask will be ignored.

↳ update_mask Google\Protobuf\FieldMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

getScanConfig

Required. The ScanConfig to be updated. The name field must be set to identify the resource to be updated. The values of fields not covered by the mask will be ignored.

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

hasScanConfig

clearScanConfig

setScanConfig

Required. The ScanConfig to be updated. The name field must be set to identify the resource to be updated. The values of fields not covered by the mask will be ignored.

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

getUpdateMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this