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"]],[["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 latest version of the \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e is 3.6.0, but there are many versions available, including 3.5.0, 3.4.0, down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e is a class in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is used to set labels for security policies in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and is derived from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties \u003ccode\u003eGlobalSetLabelsRequestResource\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eResource\u003c/code\u003e, which provide details for the request body, project ID, and resource name or ID respectively.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for the \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e class: a default constructor and one that accepts another \u003ccode\u003eSetLabelsSecurityPolicyRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]