| Modifier and Type | Method and Description |
|---|---|
Snapshot |
PubSubConnection.createSnapshot(com.google.pubsub.v1.CreateSnapshotRequest createSnapshotRequest) |
static Snapshot |
PubSubConnection.fromPubSubSnapshot(com.google.pubsub.v1.Snapshot pubSubSnapshot)
Method for translating Google Pub Sub library snapshot to connector's API model
|
Snapshot |
PubSubConnection.getSnapshot(com.google.pubsub.v1.GetSnapshotRequest getSnapshotRequest) |
Snapshot |
PubSubConnection.patchSnapshot(InputStream snapshotRequest,
String updateMask) |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
SnapshotOperations.createSnapshot(PubSubConfiguration config,
PubSubConnection connection,
SubscriptionIdentifier subscriptionIdentifier,
String snapshotName,
Map<String,String> labels,
org.mule.runtime.extension.api.runtime.streaming.StreamingHelper streamingHelper)
Creates a snapshot from the requested subscription.
|
Snapshot |
SnapshotOperations.getSnapshot(PubSubConfiguration config,
PubSubConnection connection,
SnapshotIdentifier snapshotIdentifier)
Retrieve a selected snapshot
|
Snapshot |
SnapshotOperations.patchSnapshot(PubSubConfiguration config,
PubSubConnection connection,
InputStream snapshot,
String updateMask)
Updates an existing snapshot.
|
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.streaming.PagingProvider<PubSubConnection,Snapshot> |
SnapshotOperations.getSnapshotList(PubSubConfiguration config,
String projectId)
Retrieve list of all the existing snapshots in selected project
|
| Modifier and Type | Method and Description |
|---|---|
List<Snapshot> |
SnapshotsPagingProvider.getPage(PubSubConnection connection) |
Copyright © 2021 MuleSoft, Inc.. All rights reserved.