Reference documentation and code samples for the Workflows V1beta API class Google::Cloud::Workflows::V1beta::Workflows::Rest::ServiceStub.
REST service stub for the Workflows service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_workflow
def create_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_workflow REST call
- request_pb (::Google::Cloud::Workflows::V1beta::CreateWorkflowRequest) — 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)
#delete_workflow
def delete_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_workflow REST call
- request_pb (::Google::Cloud::Workflows::V1beta::DeleteWorkflowRequest) — 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)
#get_workflow
def get_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Workflows::V1beta::Workflow
Baseline implementation for the get_workflow REST call
- request_pb (::Google::Cloud::Workflows::V1beta::GetWorkflowRequest) — 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::Workflows::V1beta::Workflow)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Workflows::V1beta::Workflow) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_workflows
def list_workflows(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Workflows::V1beta::ListWorkflowsResponse
Baseline implementation for the list_workflows REST call
- request_pb (::Google::Cloud::Workflows::V1beta::ListWorkflowsRequest) — 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::Workflows::V1beta::ListWorkflowsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Workflows::V1beta::ListWorkflowsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_workflow
def update_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_workflow REST call
- request_pb (::Google::Cloud::Workflows::V1beta::UpdateWorkflowRequest) — 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)