Represents a SnapshotsV1Beta3
Inheritance
$protobuf.rpc.Service > protos.google.dataflow.v1beta3.SnapshotsV1Beta3Package
@google-cloud/dataflow!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new SnapshotsV1Beta3 service.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
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.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
IDeleteSnapshotRequest | request |
DeleteSnapshotRequest message or plain object |
google.dataflow.v1beta3.SnapshotsV1Beta3.DeleteSnapshotCallback | callback |
Node-style callback called with the error, if any, and DeleteSnapshotResponse |
Type | Description |
---|---|
void |
deleteSnapshot(request)
public deleteSnapshot(request: google.dataflow.v1beta3.IDeleteSnapshotRequest): Promise<google.dataflow.v1beta3.DeleteSnapshotResponse>;
Calls DeleteSnapshot.
Type | Name | Description |
---|---|---|
IDeleteSnapshotRequest | request |
DeleteSnapshotRequest message or plain object |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
IGetSnapshotRequest | request |
GetSnapshotRequest message or plain object |
google.dataflow.v1beta3.SnapshotsV1Beta3.GetSnapshotCallback | callback |
Node-style callback called with the error, if any, and Snapshot |
Type | Description |
---|---|
void |
getSnapshot(request)
public getSnapshot(request: google.dataflow.v1beta3.IGetSnapshotRequest): Promise<google.dataflow.v1beta3.Snapshot>;
Calls GetSnapshot.
Type | Name | Description |
---|---|---|
IGetSnapshotRequest | request |
GetSnapshotRequest message or plain object |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
IListSnapshotsRequest | request |
ListSnapshotsRequest message or plain object |
google.dataflow.v1beta3.SnapshotsV1Beta3.ListSnapshotsCallback | callback |
Node-style callback called with the error, if any, and ListSnapshotsResponse |
Type | Description |
---|---|
void |
listSnapshots(request)
public listSnapshots(request: google.dataflow.v1beta3.IListSnapshotsRequest): Promise<google.dataflow.v1beta3.ListSnapshotsResponse>;
Calls ListSnapshots.
Type | Name | Description |
---|---|---|
IListSnapshotsRequest | request |
ListSnapshotsRequest message or plain object |
Type | Description |
---|---|
Promise<google.dataflow.v1beta3.ListSnapshotsResponse> | Promise |