Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::Snapshots::Rest::ServiceStub (v0.9.0)

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

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

Inherits

  • Object

Methods

#delete_snapshot

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

Baseline implementation for the delete_snapshot 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_snapshot

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

Baseline implementation for the get_snapshot 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

#list_snapshots

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

Baseline implementation for the list_snapshots 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)