public sealed class GetRuleSecurityPolicyRequest : IMessage<GetRuleSecurityPolicyRequest>, IEquatable<GetRuleSecurityPolicyRequest>, IDeepCloneable<GetRuleSecurityPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class GetRuleSecurityPolicyRequest.
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 in the Google.Cloud.Compute.V1 namespace is used to request a specific rule from a security policy in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists multiple versions of the \u003ccode\u003eGetRuleSecurityPolicyRequest\u003c/code\u003e class, with the latest being version 3.6.0, and versions ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetRuleSecurityPolicyRequest\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eGetRuleSecurityPolicyRequest\u003c/code\u003e class include \u003ccode\u003eHasPriority\u003c/code\u003e (to determine if a priority is set), \u003ccode\u003ePriority\u003c/code\u003e (to set the specific rule's priority to be retrieved), \u003ccode\u003eProject\u003c/code\u003e (to specify the project ID), and \u003ccode\u003eSecurityPolicy\u003c/code\u003e (to name the security policy from which to get the rule).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetRuleSecurityPolicyRequest\u003c/code\u003e class has two constructors, one is default and the other is used to make a copy from another instance of the same class.\u003c/p\u003e\n"]]],[],null,[]]