Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::LintingService::Rest::ServiceStub.
REST service stub for the LintingService 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_style_guide
def get_style_guide(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::StyleGuide
Baseline implementation for the get_style_guide REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetStyleGuideRequest) — 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::StyleGuide)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::StyleGuide) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_style_guide_contents
def get_style_guide_contents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::StyleGuideContents
Baseline implementation for the get_style_guide_contents REST call
- request_pb (::Google::Cloud::ApiHub::V1::GetStyleGuideContentsRequest) — 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::StyleGuideContents)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::StyleGuideContents) — A result object deserialized from the server's reply
- (::ArgumentError)
#lint_spec
def lint_spec(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the lint_spec REST call
- request_pb (::Google::Cloud::ApiHub::V1::LintSpecRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — 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)
#update_style_guide
def update_style_guide(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ApiHub::V1::StyleGuide
Baseline implementation for the update_style_guide REST call
- request_pb (::Google::Cloud::ApiHub::V1::UpdateStyleGuideRequest) — 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::StyleGuide)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ApiHub::V1::StyleGuide) — A result object deserialized from the server's reply
- (::ArgumentError)