Workflows V1beta API - Class Google::Cloud::Workflows::V1beta::Workflows::Rest::ServiceStub (v0.5.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_workflow

def delete_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_workflow REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_workflows

def list_workflows(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Workflows::V1beta::ListWorkflowsResponse

Baseline implementation for the list_workflows REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_workflow

def update_workflow(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_workflow REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)