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
- request_pb (::Google::Cloud::Dataflow::V1beta3::DeleteSnapshotRequest) — 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::DeleteSnapshotResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataflow::V1beta3::DeleteSnapshotResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (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
- request_pb (::Google::Cloud::Dataflow::V1beta3::GetSnapshotRequest) — 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::Snapshot)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataflow::V1beta3::Snapshot) — 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
#list_snapshots
def list_snapshots(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Dataflow::V1beta3::ListSnapshotsResponse
Baseline implementation for the list_snapshots REST call
- request_pb (::Google::Cloud::Dataflow::V1beta3::ListSnapshotsRequest) — 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::ListSnapshotsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Dataflow::V1beta3::ListSnapshotsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)