public sealed class SetIamPolicyInstanceRequest : IMessage<SetIamPolicyInstanceRequest>, IEquatable<SetIamPolicyInstanceRequest>, IDeepCloneable<SetIamPolicyInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SetIamPolicyInstanceRequest.
A request message for Instances.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\u003eThis webpage provides reference documentation for the \u003ccode\u003eSetIamPolicyInstanceRequest\u003c/code\u003e class within the Compute Engine v1 API for .NET, specifically in version 2.6.0 of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetIamPolicyInstanceRequest\u003c/code\u003e class is used to send a request to the Instances.SetIamPolicy method, which is used to set the IAM policy for a compute instance.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details the class's implementation of several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and outlines the class's constructors and inherited members.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists various versions of \u003ccode\u003eSetIamPolicyInstanceRequest\u003c/code\u003e, from the latest at 3.6.0, down to the oldest version at 1.0.0, alongside the current version of 2.6.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSetIamPolicyInstanceRequest\u003c/code\u003e are documented, including \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eResource\u003c/code\u003e, \u003ccode\u003eZone\u003c/code\u003e, and \u003ccode\u003eZoneSetPolicyRequestResource\u003c/code\u003e, which are essential for constructing a valid request, and their respective types and descriptions.\u003c/p\u003e\n"]]],[],null,[]]