Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::WorkflowTemplateService::Rest::ServiceStub.
REST service stub for the WorkflowTemplateService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_workflow_template
def create_workflow_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataproc::V1::WorkflowTemplate
Baseline implementation for the create_workflow_template REST call
- request_pb (::Google::Cloud::Dataproc::V1::CreateWorkflowTemplateRequest) — 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::Dataproc::V1::WorkflowTemplate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataproc::V1::WorkflowTemplate) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_workflow_template
def delete_workflow_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_workflow_template REST call
- request_pb (::Google::Cloud::Dataproc::V1::DeleteWorkflowTemplateRequest) — 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)
#get_workflow_template
def get_workflow_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataproc::V1::WorkflowTemplate
Baseline implementation for the get_workflow_template REST call
- request_pb (::Google::Cloud::Dataproc::V1::GetWorkflowTemplateRequest) — 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::Dataproc::V1::WorkflowTemplate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataproc::V1::WorkflowTemplate) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#instantiate_inline_workflow_template
def instantiate_inline_workflow_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the instantiate_inline_workflow_template REST call
- request_pb (::Google::Cloud::Dataproc::V1::InstantiateInlineWorkflowTemplateRequest) — 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)
#instantiate_workflow_template
def instantiate_workflow_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the instantiate_workflow_template REST call
- request_pb (::Google::Cloud::Dataproc::V1::InstantiateWorkflowTemplateRequest) — 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_workflow_templates
def list_workflow_templates(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataproc::V1::ListWorkflowTemplatesResponse
Baseline implementation for the list_workflow_templates REST call
- request_pb (::Google::Cloud::Dataproc::V1::ListWorkflowTemplatesRequest) — 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::Dataproc::V1::ListWorkflowTemplatesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataproc::V1::ListWorkflowTemplatesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_workflow_template
def update_workflow_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataproc::V1::WorkflowTemplate
Baseline implementation for the update_workflow_template REST call
- request_pb (::Google::Cloud::Dataproc::V1::UpdateWorkflowTemplateRequest) — 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::Dataproc::V1::WorkflowTemplate)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataproc::V1::WorkflowTemplate) — A result object deserialized from the server's reply
- (::ArgumentError)