public sealed class SetIamPolicyMachineImageRequest : IMessage<SetIamPolicyMachineImageRequest>, IEquatable<SetIamPolicyMachineImageRequest>, IDeepCloneable<SetIamPolicyMachineImageRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SetIamPolicyMachineImageRequest.
A request message for MachineImages.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\u003eSetIamPolicyMachineImageRequest\u003c/code\u003e class is part of the Google Cloud Compute Engine v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used as a request message for the \u003ccode\u003eMachineImages.SetIamPolicy\u003c/code\u003e method, designed for setting the IAM policy on machine images, as outlined in the method description.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version of this \u003ccode\u003eSetIamPolicyMachineImageRequest\u003c/code\u003e class, while version 3.4.0 is the version for the specific class instance being described, and other versions are also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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, giving access to various methods and functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eGlobalSetPolicyRequestResource\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, allowing you to set the IAM policy, project ID, and resource name or ID.\u003c/p\u003e\n"]]],[],null,[]]