public sealed class GetSecurityPolicyRequest : IMessage<GetSecurityPolicyRequest>, IEquatable<GetSecurityPolicyRequest>, IDeepCloneable<GetSecurityPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class GetSecurityPolicyRequest.
A request message for SecurityPolicies.Get. 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\u003eGetSecurityPolicyRequest\u003c/code\u003e class within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e is 3.6.0, and multiple older versions are also available, ranging from 3.5.0 down to 1.0.0, all accessible via provided links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e class is used to request a specific security policy, inheriting from the base \u003ccode\u003eobject\u003c/code\u003e class and implementing interfaces like \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 class includes properties such as \u003ccode\u003eProject\u003c/code\u003e (the Project ID) and \u003ccode\u003eSecurityPolicy\u003c/code\u003e (the name of the security policy), with both being strings.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be instantiated via a constructor, either empty or by passing in another \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]