Reference documentation and code samples for the Dataform V1 API class Google::Longrunning::Operations::Rest::ServiceStub.
REST service stub for the Operations service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#cancel_operation
def cancel_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the cancel_operation REST call
- request_pb (::Google::Longrunning::CancelOperationRequest) — 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)
#delete_operation
def delete_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_operation REST call
- request_pb (::Google::Longrunning::DeleteOperationRequest) — 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)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_operation
def get_operation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the get_operation REST call
- request_pb (::Google::Longrunning::GetOperationRequest) — 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)
#list_operations
def list_operations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::ListOperationsResponseBaseline implementation for the list_operations REST call
- request_pb (::Google::Longrunning::ListOperationsRequest) — 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::ListOperationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::ListOperationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)