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
- (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
- request_pb (::Google::Cloud::ApiHub::V1::GetDiscoveredApiObservationRequest) — 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::ApiHub::V1::DiscoveredApiObservation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::DiscoveredApiObservation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ApiHub::V1::GetDiscoveredApiOperationRequest) — 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::ApiHub::V1::DiscoveredApiOperation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::DiscoveredApiOperation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsRequest) — 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::ApiHub::V1::ListDiscoveredApiObservationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListDiscoveredApiObservationsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsRequest) — 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::ApiHub::V1::ListDiscoveredApiOperationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListDiscoveredApiOperationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)