public sealed class GetRuleSecurityPolicyRequest : IMessage<GetRuleSecurityPolicyRequest>, IEquatable<GetRuleSecurityPolicyRequest>, IDeepCloneable<GetRuleSecurityPolicyRequest>, IBufferMessage, IMessage
A request message for SecurityPolicies.GetRule. 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\u003eGetRuleSecurityPolicyRequest\u003c/code\u003e class is used to request a specific rule from a security policy and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \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 base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API listed is 3.6.0, with a range of previous versions available from 3.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetRuleSecurityPolicyRequest\u003c/code\u003e has properties such as \u003ccode\u003ePriority\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eSecurityPolicy\u003c/code\u003e that define parameters of the rule that the user is seeking.\u003c/p\u003e\n"],["\u003cp\u003eThe method has two different constructors, a default constructor \u003ccode\u003eGetRuleSecurityPolicyRequest()\u003c/code\u003e and \u003ccode\u003eGetRuleSecurityPolicyRequest(GetRuleSecurityPolicyRequest other)\u003c/code\u003e, to either create an empty request or one based on an existing one.\u003c/p\u003e\n"]]],[],null,[]]