NAME

Google::Cloud::Websecurityscanner::V1alpha::ScanConfig - Compiled Protocol Buffers messages for google/cloud/websecurityscanner/v1alpha/scan_config.proto

SYNOPSIS

use Google::Cloud::Websecurityscanner::V1alpha::ScanConfig;

my $msg = Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig->new({
    name => $name,
    display_name => $display_name,
    max_qps => $max_qps,
    starting_urls => $starting_urls,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/websecurityscanner/v1alpha/scan_config.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::V1alpha::ScanConfig::ScanConfig

A ScanConfig resource contains the configurations to launch a scan. next id: 12

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.

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

    Type: String

    Required. The user provided display name of the ScanConfig.

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

    Type: Int32

    The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.

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

    Type: String

    Required. The starting URLs from which the scanner finds site pages.

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

    Type: Message (Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Authentication)

    The authentication configuration. If specified, service will use the authentication configuration during scanning.

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

    Type: Enum (Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::UserAgent)

    The user agent used during scanning.

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

    Type: String

    The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls

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

    Type: Message (Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::ScanConfig::Schedule)

    The schedule of the ScanConfig.

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

    Type: Enum (Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::TargetPlatform)

    Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.

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

    Type: Message (Google::Cloud::Websecurityscanner::V1alpha::ScanRun::ScanRun)

    Latest ScanRun if available.

Enum: ScanConfig::UserAgent

  • USER_AGENT_UNSPECIFIED => 0

  • CHROME_LINUX => 1

  • CHROME_ANDROID => 2

  • SAFARI_IPHONE => 3

Enum: ScanConfig::TargetPlatform

  • TARGET_PLATFORM_UNSPECIFIED => 0

  • APP_ENGINE => 1

  • COMPUTE => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Websecurityscanner::V1alpha::ScanConfig::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.