NAME

Google::Cloud::Websecurityscanner::V1beta::ScanConfigError - Compiled Protocol Buffers messages for google/cloud/websecurityscanner/v1beta/scan_config_error.proto

SYNOPSIS

use Google::Cloud::Websecurityscanner::V1beta::ScanConfigError;

my $msg = Google::Cloud::Websecurityscanner::V1beta::ScanConfigError::ScanConfigError->new({
    code => $code,
    field_name => $field_name,
});

# Read or update a field
my $val = $msg->code();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Websecurityscanner::V1beta::ScanConfigError::ScanConfigError->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/websecurityscanner/v1beta/scan_config_error.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::ScanConfigError::ScanConfigError

Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails. It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error.

Inherits from Protobuf::Message.

Accessors

  • $msg->code() / $msg->code($value)

    Type: Enum (Google::Cloud::Websecurityscanner::V1beta::ScanConfigError::Code)

    Indicates the reason code for a configuration failure.

  • $msg->field_name() / $msg->field_name($value)

    Type: String

    Indicates the full name of the ScanConfig field that triggers this error, for example "scan_config.max_qps". This field is provided for troubleshooting purposes only and its actual value can change in the future.

Enum: ScanConfigError::Code

  • CODE_UNSPECIFIED => 0

  • OK => 0

  • INTERNAL_ERROR => 1

  • APPENGINE_API_BACKEND_ERROR => 2

  • APPENGINE_API_NOT_ACCESSIBLE => 3

  • APPENGINE_DEFAULT_HOST_MISSING => 4

  • CANNOT_USE_GOOGLE_COM_ACCOUNT => 6

  • CANNOT_USE_OWNER_ACCOUNT => 7

  • COMPUTE_API_BACKEND_ERROR => 8

  • COMPUTE_API_NOT_ACCESSIBLE => 9

  • CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT => 10

  • CUSTOM_LOGIN_URL_MALFORMED => 11

  • CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS => 12

  • CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS => 13

  • CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS => 14

  • CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS => 15

  • DUPLICATE_SCAN_NAME => 16

  • INVALID_FIELD_VALUE => 18

  • FAILED_TO_AUTHENTICATE_TO_TARGET => 19

  • FINDING_TYPE_UNSPECIFIED => 20

  • FORBIDDEN_TO_SCAN_COMPUTE => 21

  • FORBIDDEN_UPDATE_TO_MANAGED_SCAN => 43

  • MALFORMED_FILTER => 22

  • MALFORMED_RESOURCE_NAME => 23

  • PROJECT_INACTIVE => 24

  • REQUIRED_FIELD => 25

  • RESOURCE_NAME_INCONSISTENT => 26

  • SCAN_ALREADY_RUNNING => 27

  • SCAN_NOT_RUNNING => 28

  • SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT => 29

  • SEED_URL_MALFORMED => 30

  • SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS => 31

  • SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS => 32

  • SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS => 33

  • SEED_URL_HAS_UNRESERVED_IP_ADDRESS => 35

  • SERVICE_ACCOUNT_NOT_CONFIGURED => 36

  • TOO_MANY_SCANS => 37

  • UNABLE_TO_RESOLVE_PROJECT_INFO => 38

  • UNSUPPORTED_BLACKLIST_PATTERN_FORMAT => 39

  • UNSUPPORTED_FILTER => 40

  • UNSUPPORTED_FINDING_TYPE => 41

  • UNSUPPORTED_URL_SCHEME => 42

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Websecurityscanner::V1beta::ScanConfigError::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.