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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `GetSecurityPolicyRequest` documentation is version 3.6.0, while the current page is viewing the 2.2.0 version."],["This page provides reference documentation for the `GetSecurityPolicyRequest` class within the Google.Cloud.Compute.V1 API, specifically detailing version 2.2.0."],["`GetSecurityPolicyRequest` is a class used to request details about a specific security policy and it implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `GetSecurityPolicyRequest` class has two constructors: a default constructor and one that takes another `GetSecurityPolicyRequest` object as a parameter for copying."],["This class has two properties: `Project`, which is the project ID for the request, and `SecurityPolicy`, which is the name of the security policy to retrieve, both of which are strings."]]],[]]