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\u003eThe \u003ccode\u003eSetIamPolicyInstanceRequest\u003c/code\u003e class is part of the Google Cloud Compute Engine v1 API and is used to manage instance IAM policies, with version 3.5.0 being highlighted in the content.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest release, while this specific page documents version 3.5.0, and a range of previous versions, including those starting at version 1.0.0, are accessible through linked documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, showing its capabilities for serialization, equality checks, deep cloning, and buffered message handling.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSetIamPolicyInstanceRequest\u003c/code\u003e include \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eResource\u003c/code\u003e, \u003ccode\u003eZone\u003c/code\u003e, and \u003ccode\u003eZoneSetPolicyRequestResource\u003c/code\u003e, which are used to specify the project, resource, zone, and policy details for the IAM request, respectively.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eobject\u003c/code\u003e class and therefore has the following members: \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]