# Web Security Scanner V1 API - Class Google::Cloud::WebSecurityScanner::V1::ScanRunWarningTrace (v1.6.0)

1.6.0 (latest) 1.5.1 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.1 0.3.5 Reference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::ScanRunWarningTrace.

Output only.
Defines a warning trace message for ScanRun. Warning traces provide customers
with useful information that helps make the scanning process more effective.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #code

    def code() -> ::Google::Cloud::WebSecurityScanner::V1::ScanRunWarningTrace::Code

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanRunWarningTrace::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanRunWarningTrace-Code)) --- Output only. Indicates the warning code.

### #code=

    def code=(value) -> ::Google::Cloud::WebSecurityScanner::V1::ScanRunWarningTrace::Code

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::ScanRunWarningTrace::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanRunWarningTrace-Code)) --- Output only. Indicates the warning code.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ScanRunWarningTrace::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ScanRunWarningTrace-Code)) --- Output only. Indicates the warning code.