public sealed class GetSnapshotRequest : IMessage<GetSnapshotRequest>, IEquatable<GetSnapshotRequest>, IDeepCloneable<GetSnapshotRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Pub/Sub v1 API class GetSnapshotRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e API is 3.23.0, with a variety of previous versions available, ranging down to version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetSnapshotRequest\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace, designed for requesting a snapshot using the GetSnapshot method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSnapshotRequest\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, \u003ccode\u003eGetSnapshotRequest()\u003c/code\u003e and \u003ccode\u003eGetSnapshotRequest(GetSnapshotRequest other)\u003c/code\u003e, and includes properties for \u003ccode\u003eSnapshot\u003c/code\u003e (a string) and \u003ccode\u003eSnapshotAsSnapshotName\u003c/code\u003e (a \u003ccode\u003eSnapshotName\u003c/code\u003e type).\u003c/p\u003e\n"],["\u003cp\u003eThe key function of the \u003ccode\u003eGetSnapshotRequest\u003c/code\u003e is to set the \u003ccode\u003eSnapshot\u003c/code\u003e property, which is required and holds the name of the snapshot to get, formatted as \u003ccode\u003eprojects/{project}/snapshots/{snap}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]