public sealed class SetIamPolicySnapshotRequest : IMessage<SetIamPolicySnapshotRequest>, IEquatable<SetIamPolicySnapshotRequest>, IDeepCloneable<SetIamPolicySnapshotRequest>, IBufferMessage, IMessage
A request message for Snapshots.SetIamPolicy. See the method description for details.
[[["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-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSetIamPolicySnapshotRequest\u003c/code\u003e class is used for requesting to set the IAM policy for snapshots within the Google Cloud Compute V1 API, and it is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, while previous versions, including 3.5.0, 3.4.0, and so on, down to 1.0.0, are also documented and accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetIamPolicySnapshotRequest\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default constructor and another that takes a \u003ccode\u003eSetIamPolicySnapshotRequest\u003c/code\u003e instance, allowing for the creation of new instances and the cloning of existing ones, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetIamPolicySnapshotRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eGlobalSetPolicyRequestResource\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, providing the necessary data for setting the policy, such as the request body, the project ID, and the resource identifier.\u003c/p\u003e\n"]]],[],null,[]]