Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::TemplatesService::Rest::ServiceStub (v0.8.2)

Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::TemplatesService::Rest::ServiceStub.

REST service stub for the TemplatesService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_job_from_template

def create_job_from_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataflow::V1beta3::Job

Baseline implementation for the create_job_from_template REST call

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

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_template

def get_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataflow::V1beta3::GetTemplateResponse

Baseline implementation for the get_template REST call

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

#initialize

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

#launch_template

def launch_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataflow::V1beta3::LaunchTemplateResponse

Baseline implementation for the launch_template REST call

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)