NAME
Google::Cloud::Websecurityscanner::V1beta::ScanRunErrorTrace - Compiled Protocol Buffers messages for google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto
SYNOPSIS
use Google::Cloud::Websecurityscanner::V1beta::ScanRunErrorTrace;
my $msg = Google::Cloud::Websecurityscanner::V1beta::ScanRunErrorTrace::ScanRunErrorTrace->new({
code => $code,
scan_config_error => $scan_config_error,
most_common_http_error_code => $most_common_http_error_code,
});
# Read or update a field
my $val = $msg->code();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Websecurityscanner::V1beta::ScanRunErrorTrace::ScanRunErrorTrace->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/websecurityscanner/v1beta/scan_run_error_trace.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Websecurityscanner::V1beta::ScanRunErrorTrace::ScanRunErrorTrace
Output only. Defines an error trace message for a ScanRun.
Inherits from Protobuf::Message.
Accessors
$msg->code()/$msg->code($value)Type:
Enum(Google::Cloud::Websecurityscanner::V1beta::ScanRunErrorTrace::Code)Indicates the error reason code.
$msg->scan_config_error()/$msg->scan_config_error($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::ScanConfigError::ScanConfigError)If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
$msg->most_common_http_error_code()/$msg->most_common_http_error_code($value)Type:
Int32If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
Enum: ScanRunErrorTrace::Code
CODE_UNSPECIFIED=>0INTERNAL_ERROR=>1SCAN_CONFIG_ISSUE=>2AUTHENTICATION_CONFIG_ISSUE=>3TIMED_OUT_WHILE_SCANNING=>4TOO_MANY_REDIRECTS=>5TOO_MANY_HTTP_ERRORS=>6
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Websecurityscanner::V1beta::ScanRunErrorTrace::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.