Learn R Programming

googlePubsubR (version 0.0.4)

snapshots_patch: Updates an existing snapshot

Description

Updates an existing snapshot

Usage

snapshots_patch(snapshot, topic = NULL, expire_time = NULL, labels = NULL)

Value

An instance the patched Snapshot object

Arguments

snapshot

Snapshot, character Required, an instance of a Snapshot object or a snapshot name

topic

character, Topic Topic name or instance of a topic object

expire_time

string The snapshot is guaranteed to exist up until this time. Must be formatted in RFC3339 UTC "Zulu" format

labels

list Key-value pairs for topic labels

See Also

Other Snapshot functions: snapshots_create(), snapshots_delete(), snapshots_exists(), snapshots_list()