Reference documentation and code samples for the Web Security Scanner V1beta API class Google::Cloud::WebSecurityScanner::V1beta::WebSecurityScanner::Rest::ServiceStub.
REST service stub for the WebSecurityScanner service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_scan_config
def create_scan_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig
Baseline implementation for the create_scan_config REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::CreateScanConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_scan_config
def delete_scan_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_scan_config REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::DeleteScanConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_finding
def get_finding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::Finding
Baseline implementation for the get_finding REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::GetFindingRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::Finding)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::Finding) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_scan_config
def get_scan_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig
Baseline implementation for the get_scan_config REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::GetScanConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_scan_run
def get_scan_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanRun
Baseline implementation for the get_scan_run REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::GetScanRunRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ScanRun)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanRun) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_crawled_urls
def list_crawled_urls(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ListCrawledUrlsResponse
Baseline implementation for the list_crawled_urls REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::ListCrawledUrlsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ListCrawledUrlsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ListCrawledUrlsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_finding_type_stats
def list_finding_type_stats(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ListFindingTypeStatsResponse
Baseline implementation for the list_finding_type_stats REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::ListFindingTypeStatsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ListFindingTypeStatsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ListFindingTypeStatsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_findings
def list_findings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ListFindingsResponse
Baseline implementation for the list_findings REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::ListFindingsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ListFindingsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ListFindingsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_scan_configs
def list_scan_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ListScanConfigsResponse
Baseline implementation for the list_scan_configs REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::ListScanConfigsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ListScanConfigsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ListScanConfigsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_scan_runs
def list_scan_runs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ListScanRunsResponse
Baseline implementation for the list_scan_runs REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::ListScanRunsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ListScanRunsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ListScanRunsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#start_scan_run
def start_scan_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanRun
Baseline implementation for the start_scan_run REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::StartScanRunRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ScanRun)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanRun) — A result object deserialized from the server's reply
- (::ArgumentError)
#stop_scan_run
def stop_scan_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanRun
Baseline implementation for the stop_scan_run REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::StopScanRunRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ScanRun)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanRun) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_scan_config
def update_scan_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig
Baseline implementation for the update_scan_config REST call
- request_pb (::Google::Cloud::WebSecurityScanner::V1beta::UpdateScanConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebSecurityScanner::V1beta::ScanConfig) — A result object deserialized from the server's reply
- (::ArgumentError)