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

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\WebSecurityScanner\V1\ScanConfig
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this