Chronicle V1 API - Class Google::Cloud::Chronicle::V1::EntityService::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::EntityService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_watchlist

def create_watchlist(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Watchlist

Baseline implementation for the create_watchlist REST call

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

#delete_watchlist

def delete_watchlist(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

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

def get_watchlist(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Watchlist

Baseline implementation for the get_watchlist REST call

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

#list_watchlists

def list_watchlists(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::ListWatchlistsResponse

Baseline implementation for the list_watchlists REST call

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_watchlist

def update_watchlist(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Chronicle::V1::Watchlist

Baseline implementation for the update_watchlist REST call

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