Google Cloud Web Security Scanner V1 Client - Class StopScanRunRequest (1.1.2)

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

Request for theStopScanRun method.

Generated from protobuf messagegoogle.cloud.websecurityscanner.v1.StopScanRunRequest

Namespace

Google \ Cloud \ WebSecurityScanner \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

getName

Required. The resource name of the ScanRun to be stopped. The name follows theformat of'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

Returns
TypeDescription
string

setName

Required. The resource name of the ScanRun to be stopped. The name follows theformat of'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-09 UTC.