Web Risk V1beta1 API - Class Google::Cloud::WebRisk::V1beta1::WebRiskService::Rest::ServiceStub (v0.7.1)

Reference documentation and code samples for the Web Risk V1beta1 API class Google::Cloud::WebRisk::V1beta1::WebRiskService::Rest::ServiceStub.

REST service stub for the WebRiskService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#compute_threat_list_diff

def compute_threat_list_diff(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffResponse

Baseline implementation for the compute_threat_list_diff 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

#search_hashes

def search_hashes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebRisk::V1beta1::SearchHashesResponse

Baseline implementation for the search_hashes REST call

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

#search_uris

def search_uris(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebRisk::V1beta1::SearchUrisResponse

Baseline implementation for the search_uris REST call

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