Struct StartScanRunRequest (0.5.0)

对 StartScanRun 方法的请求。

字段

name

必需。要使用的 ScanConfig 的资源名称。名称采用“projects/{projectId}/scanConfigs/{scanConfigId}”格式。

实现

新

 fn new() -> Self

set_name

 fn set_name<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

设置 [name][crate::model::StartScanRunRequest::name] 的值。