class Google::Apis::PubsubV1::UpdateSnapshotRequest
Request for the UpdateSnapshot method.
Attributes
snapshot[RW]
A snapshot resource. Snapshots are used in [Seek](cloud.google.com/ pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot. Corresponds to the JSON property `snapshot` @return [Google::Apis::PubsubV1::Snapshot]
update_mask[RW]
Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty. Corresponds to the JSON property `updateMask` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/pubsub_v1/classes.rb, line 1532 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/pubsub_v1/classes.rb, line 1537 def update!(**args) @snapshot = args[:snapshot] if args.key?(:snapshot) @update_mask = args[:update_mask] if args.key?(:update_mask) end