Web Security Scanner V1 API - Class Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Rest::ServiceStub (v0.9.2)

Reference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::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::V1::ScanConfig

Baseline implementation for the create_scan_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_finding

def get_finding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::Finding

Baseline implementation for the get_finding REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_scan_config

def get_scan_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig

Baseline implementation for the get_scan_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_scan_run

def get_scan_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ScanRun

Baseline implementation for the get_scan_run REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_crawled_urls

def list_crawled_urls(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ListCrawledUrlsResponse

Baseline implementation for the list_crawled_urls REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_finding_type_stats

def list_finding_type_stats(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ListFindingTypeStatsResponse

Baseline implementation for the list_finding_type_stats REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_findings

def list_findings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ListFindingsResponse

Baseline implementation for the list_findings REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_scan_configs

def list_scan_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ListScanConfigsResponse

Baseline implementation for the list_scan_configs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_scan_runs

def list_scan_runs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ListScanRunsResponse

Baseline implementation for the list_scan_runs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#start_scan_run

def start_scan_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ScanRun

Baseline implementation for the start_scan_run REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#stop_scan_run

def stop_scan_run(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ScanRun

Baseline implementation for the stop_scan_run REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_scan_config

def update_scan_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1::ScanConfig

Baseline implementation for the update_scan_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)