Request for the CreateSnapshot
method.
Value parameters
- labels
-
See [Creating and managing labels](https://cloud.google.com/pubsub/docs/labels).
- name
-
Required. User-provided name for this snapshot. If the name is not provided in the request, the server will assign a random name for this snapshot on the same project as the subscription. Note that for REST API requests, you must specify a name. See the [resource name rules](https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names). Format is
projects/{project}/snapshots/{snap}
. - subscription
-
Required. 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 isprojects/{project}/subscriptions/{sub}
.
Attributes
- Companion
- object
- Source
- CreateSnapshotRequest.scala
- Graph
-
- Supertypes
-
trait Updatable[CreateSnapshotRequest]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Definition Classes
-
GeneratedMessage
- Source
- CreateSnapshotRequest.scala
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
Attributes
- Returns
-
human-readable representation of this message.
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Attributes
- Source
- CreateSnapshotRequest.scala
Serializes the message into the given coded output stream
Serializes the message into the given coded output stream
Attributes
- Source
- CreateSnapshotRequest.scala
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- Updatable
- Source
- Lenses.scala
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Serializes the message into the given output stream
Serializes the message into the given output stream
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala