SnapshotsV1Beta3

google.dataflow.v1beta3. SnapshotsV1Beta3

Represents a SnapshotsV1Beta3

Constructor

new SnapshotsV1Beta3(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new SnapshotsV1Beta3 service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

deleteSnapshot(request, callback) → {undefined}

Calls DeleteSnapshot.

Parameters:
Name Type Description
request google.dataflow.v1beta3.IDeleteSnapshotRequest

DeleteSnapshotRequest message or plain object

callback google.dataflow.v1beta3.SnapshotsV1Beta3.DeleteSnapshotCallback

Node-style callback called with the error, if any, and DeleteSnapshotResponse

Returns:
Type Description
undefined

deleteSnapshot(request) → {Promise.<google.dataflow.v1beta3.DeleteSnapshotResponse>}

Calls DeleteSnapshot.

Parameters:
Name Type Description
request google.dataflow.v1beta3.IDeleteSnapshotRequest

DeleteSnapshotRequest message or plain object

Returns:
Type Description
Promise.<google.dataflow.v1beta3.DeleteSnapshotResponse>

Promise

getSnapshot(request, callback) → {undefined}

Calls GetSnapshot.

Parameters:
Name Type Description
request google.dataflow.v1beta3.IGetSnapshotRequest

GetSnapshotRequest message or plain object

callback google.dataflow.v1beta3.SnapshotsV1Beta3.GetSnapshotCallback

Node-style callback called with the error, if any, and Snapshot

Returns:
Type Description
undefined

getSnapshot(request) → {Promise.<google.dataflow.v1beta3.Snapshot>}

Calls GetSnapshot.

Parameters:
Name Type Description
request google.dataflow.v1beta3.IGetSnapshotRequest

GetSnapshotRequest message or plain object

Returns:
Type Description
Promise.<google.dataflow.v1beta3.Snapshot>

Promise

listSnapshots(request, callback) → {undefined}

Calls ListSnapshots.

Parameters:
Name Type Description
request google.dataflow.v1beta3.IListSnapshotsRequest

ListSnapshotsRequest message or plain object

callback google.dataflow.v1beta3.SnapshotsV1Beta3.ListSnapshotsCallback

Node-style callback called with the error, if any, and ListSnapshotsResponse

Returns:
Type Description
undefined

listSnapshots(request) → {Promise.<google.dataflow.v1beta3.ListSnapshotsResponse>}

Calls ListSnapshots.

Parameters:
Name Type Description
request google.dataflow.v1beta3.IListSnapshotsRequest

ListSnapshotsRequest message or plain object

Returns:
Type Description
Promise.<google.dataflow.v1beta3.ListSnapshotsResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SnapshotsV1Beta3}

Creates new SnapshotsV1Beta3 service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
SnapshotsV1Beta3

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

DeleteSnapshotCallback(error, responseopt)

Callback as used by deleteSnapshot.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.dataflow.v1beta3.DeleteSnapshotResponse <optional>

DeleteSnapshotResponse

GetSnapshotCallback(error, responseopt)

Callback as used by getSnapshot.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.dataflow.v1beta3.Snapshot <optional>

Snapshot

ListSnapshotsCallback(error, responseopt)

Callback as used by listSnapshots.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.dataflow.v1beta3.ListSnapshotsResponse <optional>

ListSnapshotsResponse