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, as indicated by the namespace \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to construct request messages for retrieving security policies, specifically for the \u003ccode\u003eSecurityPolicies.Get\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e class 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, indicating its role in protocol buffer messaging and object management.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, one default and another that facilitates cloning objects, accepting a \u003ccode\u003eGetSecurityPolicyRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two main string properties which are 'Project' and 'SecurityPolicy' used to identify the specific project and the security policy needed.\u003c/p\u003e\n"]]],[],null,[]]