generated/google/apis/websecurityscanner_v1beta/classes.rb in google-api-client-0.31.0 vs generated/google/apis/websecurityscanner_v1beta/classes.rb in google-api-client-0.32.0
- old
+ new
@@ -51,22 +51,22 @@
# Security Scanner Service crawls the web applications, following all links
# within the scope of sites, to find the URLs to test against.
class CrawledUrl
include Google::Apis::Core::Hashable
- # Output only. The body of the request that was used to visit the URL.
+ # The body of the request that was used to visit the URL.
# Corresponds to the JSON property `body`
# @return [String]
attr_accessor :body
- # Output only. The http method of the request that was used to visit the URL, in
+ # The http method of the request that was used to visit the URL, in
# uppercase.
# Corresponds to the JSON property `httpMethod`
# @return [String]
attr_accessor :http_method
- # Output only. The URL that was crawled.
+ # The URL that was crawled.
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
def initialize(**args)
@@ -136,27 +136,26 @@
# A Finding resource represents a vulnerability instance identified during a
# ScanRun.
class Finding
include Google::Apis::Core::Hashable
- # Output only. The body of the request that triggered the vulnerability.
+ # The body of the request that triggered the vulnerability.
# Corresponds to the JSON property `body`
# @return [String]
attr_accessor :body
- # Output only. The description of the vulnerability.
+ # The description of the vulnerability.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- # Output only. The URL where the browser lands when the vulnerability is
- # detected.
+ # The URL where the browser lands when the vulnerability is detected.
# Corresponds to the JSON property `finalUrl`
# @return [String]
attr_accessor :final_url
- # Output only. The type of the Finding.
+ # The type of the Finding.
# Detailed and up-to-date information on findings can be found here:
# https://cloud.google.com/security-scanner/docs/scan-result-details
# Corresponds to the JSON property `findingType`
# @return [String]
attr_accessor :finding_type
@@ -164,32 +163,29 @@
# ! Information about a vulnerability with an HTML.
# Corresponds to the JSON property `form`
# @return [Google::Apis::WebsecurityscannerV1beta::Form]
attr_accessor :form
- # Output only. If the vulnerability was originated from nested IFrame, the
- # immediate
+ # If the vulnerability was originated from nested IFrame, the immediate
# parent IFrame is reported.
# Corresponds to the JSON property `frameUrl`
# @return [String]
attr_accessor :frame_url
- # Output only. The URL produced by the server-side fuzzer and used in the
- # request that
+ # The URL produced by the server-side fuzzer and used in the request that
# triggered the vulnerability.
# Corresponds to the JSON property `fuzzedUrl`
# @return [String]
attr_accessor :fuzzed_url
- # Output only. The http method of the request that triggered the vulnerability,
- # in
+ # The http method of the request that triggered the vulnerability, in
# uppercase.
# Corresponds to the JSON property `httpMethod`
# @return [String]
attr_accessor :http_method
- # Output only. The resource name of the Finding. The name follows the format of
+ # The resource name of the Finding. The name follows the format of
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanruns/`scanRunId`/findings/
# `findingId`'.
# The finding IDs are generated by the system.
# Corresponds to the JSON property `name`
# @return [String]
@@ -198,19 +194,17 @@
# Information reported for an outdated library.
# Corresponds to the JSON property `outdatedLibrary`
# @return [Google::Apis::WebsecurityscannerV1beta::OutdatedLibrary]
attr_accessor :outdated_library
- # Output only. The URL containing human-readable payload that user can leverage
- # to
+ # The URL containing human-readable payload that user can leverage to
# reproduce the vulnerability.
# Corresponds to the JSON property `reproductionUrl`
# @return [String]
attr_accessor :reproduction_url
- # Output only. The tracking ID uniquely identifies a vulnerability instance
- # across
+ # The tracking ID uniquely identifies a vulnerability instance across
# multiple ScanRuns.
# Corresponds to the JSON property `trackingId`
# @return [String]
attr_accessor :tracking_id
@@ -263,16 +257,16 @@
# A FindingTypeStats resource represents stats regarding a specific FindingType
# of Findings under a given ScanRun.
class FindingTypeStats
include Google::Apis::Core::Hashable
- # Output only. The count of findings belonging to this finding type.
+ # The count of findings belonging to this finding type.
# Corresponds to the JSON property `findingCount`
# @return [Fixnum]
attr_accessor :finding_count
- # Output only. The finding type associated with the stats.
+ # The finding type associated with the stats.
# Corresponds to the JSON property `findingType`
# @return [String]
attr_accessor :finding_type
def initialize(**args)
@@ -616,17 +610,16 @@
# a ScanRunErrorTrace message if scan validation fails due to a scan
# configuration error.
class ScanConfigError
include Google::Apis::Core::Hashable
- # Output only. Indicates the reason code for a configuration failure.
+ # Indicates the reason code for a configuration failure.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
- # Output only. Indicates the full name of the ScanConfig field that triggers
- # this error,
+ # 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.
# Corresponds to the JSON property `fieldName`
# @return [String]
@@ -646,12 +639,11 @@
# A ScanRun is a output-only resource representing an actual run of the scan.
# Next id: 12
class ScanRun
include Google::Apis::Core::Hashable
- # Output only. The time at which the ScanRun reached termination state - that
- # the ScanRun
+ # The time at which the ScanRun reached termination state - that the ScanRun
# is either finished or stopped by user.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
@@ -659,65 +651,62 @@
# Defines an error trace message for a ScanRun.
# Corresponds to the JSON property `errorTrace`
# @return [Google::Apis::WebsecurityscannerV1beta::ScanRunErrorTrace]
attr_accessor :error_trace
- # Output only. The execution state of the ScanRun.
+ # The execution state of the ScanRun.
# Corresponds to the JSON property `executionState`
# @return [String]
attr_accessor :execution_state
- # Output only. Whether the scan run has found any vulnerabilities.
+ # Whether the scan run has found any vulnerabilities.
# Corresponds to the JSON property `hasVulnerabilities`
# @return [Boolean]
attr_accessor :has_vulnerabilities
alias_method :has_vulnerabilities?, :has_vulnerabilities
- # Output only. The resource name of the ScanRun. The name follows the format of
+ # The resource name of the ScanRun. The name follows the format of
# 'projects/`projectId`/scanConfigs/`scanConfigId`/scanRuns/`scanRunId`'.
# The ScanRun IDs are generated by the system.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- # Output only. The percentage of total completion ranging from 0 to 100.
+ # The percentage of total completion ranging from 0 to 100.
# If the scan is in queue, the value is 0.
# If the scan is running, the value ranges from 0 to 100.
# If the scan is finished, the value is 100.
# Corresponds to the JSON property `progressPercent`
# @return [Fixnum]
attr_accessor :progress_percent
- # Output only. The result state of the ScanRun. This field is only available
- # after the
+ # The result state of the ScanRun. This field is only available after the
# execution state reaches "FINISHED".
# Corresponds to the JSON property `resultState`
# @return [String]
attr_accessor :result_state
- # Output only. The time at which the ScanRun started.
+ # The time at which the ScanRun started.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
- # Output only. The number of URLs crawled during this ScanRun. If the scan is in
- # progress,
+ # The number of URLs crawled during this ScanRun. If the scan is in progress,
# the value represents the number of URLs crawled up to now.
# Corresponds to the JSON property `urlsCrawledCount`
# @return [Fixnum]
attr_accessor :urls_crawled_count
- # Output only. The number of URLs tested during this ScanRun. If the scan is in
- # progress,
+ # The number of URLs tested during this ScanRun. If the scan is in progress,
# the value represents the number of URLs tested up to now. The number of
# URLs tested is usually larger than the number URLS crawled because
# typically a crawled URL is tested with multiple test payloads.
# Corresponds to the JSON property `urlsTestedCount`
# @return [Fixnum]
attr_accessor :urls_tested_count
- # Output only. A list of warnings, if such are encountered during this scan run.
+ # A list of warnings, if such are encountered during this scan run.
# Corresponds to the JSON property `warningTraces`
# @return [Array<Google::Apis::WebsecurityscannerV1beta::ScanRunWarningTrace>]
attr_accessor :warning_traces
def initialize(**args)
@@ -743,17 +732,16 @@
# Output only.
# Defines an error trace message for a ScanRun.
class ScanRunErrorTrace
include Google::Apis::Core::Hashable
- # Output only. Indicates the error reason code.
+ # Indicates the error reason code.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
- # Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates
- # the most
+ # If 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.
# Corresponds to the JSON property `mostCommonHttpErrorCode`
# @return [Fixnum]
attr_accessor :most_common_http_error_code
@@ -782,10 +770,10 @@
# Defines a warning trace message for ScanRun. Warning traces provide customers
# with useful information that helps make the scanning process more effective.
class ScanRunWarningTrace
include Google::Apis::Core::Hashable
- # Output only. Indicates the warning code.
+ # Indicates the warning code.
# Corresponds to the JSON property `code`
# @return [String]
attr_accessor :code
def initialize(**args)