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