Class protos.google.dataflow.v1beta3.SnapshotsV1Beta3 (3.0.2)

Represents a SnapshotsV1Beta3

Inheritance

$protobuf.rpc.Service > protos.google.dataflow.v1beta3.SnapshotsV1Beta3

Package

@google-cloud/dataflow

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new SnapshotsV1Beta3 service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SnapshotsV1Beta3;

Creates new SnapshotsV1Beta3 service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
SnapshotsV1Beta3

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

deleteSnapshot(request, callback)

public deleteSnapshot(request: google.dataflow.v1beta3.IDeleteSnapshotRequest, callback: google.dataflow.v1beta3.SnapshotsV1Beta3.DeleteSnapshotCallback): void;

Calls DeleteSnapshot.

Parameters
NameDescription
request IDeleteSnapshotRequest

DeleteSnapshotRequest message or plain object

callback DeleteSnapshotCallback

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

Returns
TypeDescription
void

deleteSnapshot(request)

public deleteSnapshot(request: google.dataflow.v1beta3.IDeleteSnapshotRequest): Promise<google.dataflow.v1beta3.DeleteSnapshotResponse>;

Calls DeleteSnapshot.

Parameter
NameDescription
request IDeleteSnapshotRequest

DeleteSnapshotRequest message or plain object

Returns
TypeDescription
Promise<google.dataflow.v1beta3.DeleteSnapshotResponse>

Promise

getSnapshot(request, callback)

public getSnapshot(request: google.dataflow.v1beta3.IGetSnapshotRequest, callback: google.dataflow.v1beta3.SnapshotsV1Beta3.GetSnapshotCallback): void;

Calls GetSnapshot.

Parameters
NameDescription
request IGetSnapshotRequest

GetSnapshotRequest message or plain object

callback GetSnapshotCallback

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

Returns
TypeDescription
void

getSnapshot(request)

public getSnapshot(request: google.dataflow.v1beta3.IGetSnapshotRequest): Promise<google.dataflow.v1beta3.Snapshot>;

Calls GetSnapshot.

Parameter
NameDescription
request IGetSnapshotRequest

GetSnapshotRequest message or plain object

Returns
TypeDescription
Promise<google.dataflow.v1beta3.Snapshot>

Promise

listSnapshots(request, callback)

public listSnapshots(request: google.dataflow.v1beta3.IListSnapshotsRequest, callback: google.dataflow.v1beta3.SnapshotsV1Beta3.ListSnapshotsCallback): void;

Calls ListSnapshots.

Parameters
NameDescription
request IListSnapshotsRequest

ListSnapshotsRequest message or plain object

callback ListSnapshotsCallback

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

Returns
TypeDescription
void

listSnapshots(request)

public listSnapshots(request: google.dataflow.v1beta3.IListSnapshotsRequest): Promise<google.dataflow.v1beta3.ListSnapshotsResponse>;

Calls ListSnapshots.

Parameter
NameDescription
request IListSnapshotsRequest

ListSnapshotsRequest message or plain object

Returns
TypeDescription
Promise<google.dataflow.v1beta3.ListSnapshotsResponse>

Promise