API hub V1 API - Class Google::Cloud::ApiHub::V1::ApiHubDiscovery::Rest::ServiceStub (v0.6.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::ApiHubDiscovery::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_discovered_api_observation

def get_discovered_api_observation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::DiscoveredApiObservation

Baseline implementation for the get_discovered_api_observation REST call

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

#get_discovered_api_operation

def get_discovered_api_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::DiscoveredApiOperation

Baseline implementation for the get_discovered_api_operation REST call

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

#list_discovered_api_observations

def list_discovered_api_observations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsResponse

Baseline implementation for the list_discovered_api_observations REST call

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

#list_discovered_api_operations

def list_discovered_api_operations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsResponse

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