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\u003eThe webpage provides documentation for the \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e class within the Google Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this API is 3.6.0, and there are numerous versions dating back to 1.0.0 for the \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e is a request message used to retrieve a specific security policy, as described in the API's \u003ccode\u003eSecurityPolicies.Get\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e class implements multiple interfaces such as \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 has properties for \u003ccode\u003eProject\u003c/code\u003e (project ID) and \u003ccode\u003eSecurityPolicy\u003c/code\u003e (name of the security policy), which are both of type string, and it also has two constructors, one default and one which accepts another \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e as input.\u003c/p\u003e\n"]]],[],null,[]]