public sealed class SetLabelsSecurityPolicyRequest : IMessage<SetLabelsSecurityPolicyRequest>, IEquatable<SetLabelsSecurityPolicyRequest>, IDeepCloneable<SetLabelsSecurityPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class SetLabelsSecurityPolicyRequest.
A request message for SecurityPolicies.SetLabels. See the method description for details.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e class within the Google.Cloud.Compute.V1 namespace, part of the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e class is used to send a request to set labels on security policies and it 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.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions of the library from 1.0.0 up to the latest, 3.6.0, allowing developers to access the code that corresponds to these past versions.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e class include \u003ccode\u003eGlobalSetLabelsRequestResource\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, which are used to construct the label-setting request.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and a constructor that takes another \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e object for cloning.\u003c/p\u003e\n"]]],[],null,[]]