Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::ApiHubAddon::Rest::ServiceStub.
REST service stub for the ApiHubAddon service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_addon
def get_addon(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::AddonBaseline implementation for the get_addon REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetAddonRequest) — 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::Addon)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::Addon) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_addons
def list_addons(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::ListAddonsResponseBaseline implementation for the list_addons REST call
- request_pb (::Google::Cloud::ApiHub::V1::ListAddonsRequest) — 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::ListAddonsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::ListAddonsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#manage_addon_config
def manage_addon_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the manage_addon_config REST call
- request_pb (::Google::Cloud::ApiHub::V1::ManageAddonConfigRequest) — 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::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)