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
- request_pb (::Google::Cloud::Dataflow::V1beta3::CreateJobFromTemplateRequest) — 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::Dataflow::V1beta3::Job)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataflow::V1beta3::Job) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::Dataflow::V1beta3::GetTemplateRequest) — 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::Dataflow::V1beta3::GetTemplateResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataflow::V1beta3::GetTemplateResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#launch_template
def launch_template(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataflow::V1beta3::LaunchTemplateResponse
Baseline implementation for the launch_template REST call
- request_pb (::Google::Cloud::Dataflow::V1beta3::LaunchTemplateRequest) — 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::Dataflow::V1beta3::LaunchTemplateResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataflow::V1beta3::LaunchTemplateResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)