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 \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e class is part of the Google Cloud Compute Engine v1 API, with version 3.6.0 being the latest available.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to request information about a specific security policy within the Compute Engine environment, as noted by its role as a request message for SecurityPolicies.Get.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e 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, ensuring compatibility with protobuf message structures.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eProject\u003c/code\u003e (the ID for the request) and \u003ccode\u003eSecurityPolicy\u003c/code\u003e (the name of the security policy being queried), which are both of type \u003ccode\u003estring\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e class are available, ranging from version 1.0.0 to 3.6.0, which highlights its long-term development and support within the API.\u003c/p\u003e\n"]]],[],null,[]]