Reference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::CreateScanConfigRequest.
Request for the CreateScanConfig
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.
Returns
- (::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
def scan_config() -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig
Returns
- (::Google::Cloud::WebSecurityScanner::V1::ScanConfig) — Required. The ScanConfig to be created.
#scan_config=
def scan_config=(value) -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig
Parameter
- value (::Google::Cloud::WebSecurityScanner::V1::ScanConfig) — Required. The ScanConfig to be created.
Returns
- (::Google::Cloud::WebSecurityScanner::V1::ScanConfig) — Required. The ScanConfig to be created.