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
- request_pb (::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest) — 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::WebRisk::V1beta1::ComputeThreatListDiffResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#search_hashes
def search_hashes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::WebRisk::V1beta1::SearchHashesResponse
Baseline implementation for the search_hashes REST call
- request_pb (::Google::Cloud::WebRisk::V1beta1::SearchHashesRequest) — 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::WebRisk::V1beta1::SearchHashesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebRisk::V1beta1::SearchHashesResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::WebRisk::V1beta1::SearchUrisRequest) — 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::WebRisk::V1beta1::SearchUrisResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::WebRisk::V1beta1::SearchUrisResponse) — A result object deserialized from the server's reply
- (::ArgumentError)