Struct google_pubsub1::CreateSnapshotRequest [−][src]
pub struct CreateSnapshotRequest { pub labels: Option<HashMap<String, String>>, pub subscription: Option<String>, }
Request for the CreateSnapshot
method.
BETA: This feature is part of a beta release. This API might be changed in
backward-incompatible ways and is not recommended for production use.
It is not subject to any SLA or deprecation policy.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- snapshots create projects (request)
Fields
labels: Option<HashMap<String, String>>
subscription: Option<String>
The subscription whose backlog the snapshot retains.
Specifically, the created snapshot is guaranteed to retain:
(a) The existing backlog on the subscription. More precisely, this is
defined as the messages in the subscription's backlog that are
unacknowledged upon the successful completion of the
CreateSnapshot
request; as well as:
(b) Any messages published to the subscription's topic following the
successful completion of the CreateSnapshot request.
Format is projects/{project}/subscriptions/{sub}
.
Trait Implementations
impl Default for CreateSnapshotRequest
[src]
impl Default for CreateSnapshotRequest
fn default() -> CreateSnapshotRequest
[src]
fn default() -> CreateSnapshotRequest
Returns the "default value" for a type. Read more
impl Clone for CreateSnapshotRequest
[src]
impl Clone for CreateSnapshotRequest
fn clone(&self) -> CreateSnapshotRequest
[src]
fn clone(&self) -> CreateSnapshotRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CreateSnapshotRequest
[src]
impl Debug for CreateSnapshotRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for CreateSnapshotRequest
[src]
impl RequestValue for CreateSnapshotRequest
Auto Trait Implementations
impl Send for CreateSnapshotRequest
impl Send for CreateSnapshotRequest
impl Sync for CreateSnapshotRequest
impl Sync for CreateSnapshotRequest