public sealed class GetNetworkPolicyRequest : IMessage<GetNetworkPolicyRequest>, IEquatable<GetNetworkPolicyRequest>, IDeepCloneable<GetNetworkPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class GetNetworkPolicyRequest.
Request message for
[VmwareEngine.GetNetworkPolicy][google.cloud.vmwareengine.v1.VmwareEngine.GetNetworkPolicy]
Required. The resource name of the network policy to retrieve.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1/networkPolicies/my-network-policy
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eGetNetworkPolicyRequest\u003c/code\u003e class within the Google Cloud VMware Engine v1 API, specifically version 1.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetNetworkPolicyRequest\u003c/code\u003e is a request message used to retrieve a network policy via the \u003ccode\u003eVmwareEngine.GetNetworkPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending functionality and compatibility.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eName\u003c/code\u003e (a string for the resource name of the network policy) and \u003ccode\u003eNetworkPolicyName\u003c/code\u003e, which provides a typed view over the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThere are previous and later versions available to access, with the latest version being 1.6.0.\u003c/p\u003e\n"]]],[],null,[]]