Service Client: Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::WebSecurityScannerClient
Client stub representing the remote WebSecurityScanner gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to websecurityscanner.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner - Compiled Protocol Buffers messages for google/cloud/websecurityscanner/v1beta/web_security_scanner.proto
SYNOPSIS
use Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner;
my $msg = Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::CreateScanConfigRequest->new({
parent => $parent,
scan_config => $scan_config,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::CreateScanConfigRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/websecurityscanner/v1beta/web_security_scanner.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::WebSecurityScanner::CreateScanConfigRequest
Request for the `CreateScanConfig` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name where the scan is created, which should be a project resource name in the format 'projects/{projectId}'.
$msg->scan_config()/$msg->scan_config($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::ScanConfig::ScanConfig)Required. The ScanConfig to be created.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::DeleteScanConfigRequest
Request for the `DeleteScanConfig` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the ScanConfig to be deleted. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::GetScanConfigRequest
Request for the `GetScanConfig` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the ScanConfig to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListScanConfigsRequest
Request for the `ListScanConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of ScanConfigs to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::UpdateScanConfigRequest
Request for the `UpdateScanConfigRequest` method.
Inherits from Protobuf::Message.
Accessors
$msg->scan_config()/$msg->scan_config($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::ScanConfig::ScanConfig)Required. The ScanConfig to be updated. The name field must be set to identify the resource to be updated. The values of fields not covered by the mask will be ignored.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListScanConfigsResponse
Response for the `ListScanConfigs` method.
Inherits from Protobuf::Message.
Accessors
$msg->scan_configs()/$msg->scan_configs($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::ScanConfig::ScanConfig)The list of ScanConfigs returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::StartScanRunRequest
Request for the `StartScanRun` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::GetScanRunRequest
Request for the `GetScanRun` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the ScanRun to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListScanRunsRequest
Request for the `ListScanRuns` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of ScanRuns to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListScanRunsResponse
Response for the `ListScanRuns` method.
Inherits from Protobuf::Message.
Accessors
$msg->scan_runs()/$msg->scan_runs($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::ScanRun::ScanRun)The list of ScanRuns returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::StopScanRunRequest
Request for the `StopScanRun` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListCrawledUrlsRequest
Request for the `ListCrawledUrls` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of CrawledUrls to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListCrawledUrlsResponse
Response for the `ListCrawledUrls` method.
Inherits from Protobuf::Message.
Accessors
$msg->crawled_urls()/$msg->crawled_urls($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::CrawledUrl::CrawledUrl)The list of CrawledUrls returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::GetFindingRequest
Request for the `GetFinding` method.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the Finding to be returned. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}'.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListFindingsRequest
Request for the `ListFindings` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
$msg->filter()/$msg->filter($value)Type:
StringRequired. The filter expression. The expression must be in the format: <field> <operator> <value>. Supported field: 'finding_type'. Supported operator: '='.
$msg->page_token()/$msg->page_token($value)Type:
StringA token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListFindingsResponse
Response for the `ListFindings` method.
Inherits from Protobuf::Message.
Accessors
$msg->findings()/$msg->findings($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::Finding::Finding)The list of Findings returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListFindingTypeStatsRequest
Request for the `ListFindingTypeStats` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The parent resource name, which should be a scan run resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.
Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::ListFindingTypeStatsResponse
Response for the `ListFindingTypeStats` method.
Inherits from Protobuf::Message.
Accessors
$msg->finding_type_stats()/$msg->finding_type_stats($value)Type:
Message(Google::Cloud::Websecurityscanner::V1beta::FindingTypeStats::FindingTypeStats)The list of FindingTypeStats returned.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Websecurityscanner::V1beta::WebSecurityScanner::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.