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

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

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)

#get_finding

def get_finding(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebSecurityScanner::V1beta::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::V1beta::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::V1beta::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:, credentials:) -> ServiceStub
Returns

#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

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::V1beta::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::V1beta::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::V1beta::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::V1beta::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::V1beta::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::V1beta::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)

#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

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