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\u003eThe \u003ccode\u003eGetNetworkPolicyRequest\u003c/code\u003e class is the request message for the \u003ccode\u003eVmwareEngine.GetNetworkPolicy\u003c/code\u003e method within the VMware Engine v1 API, used to retrieve a specific network policy.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGetNetworkPolicyRequest\u003c/code\u003e class is 1.6.0, with several previous versions also documented, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for functionality related to message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetNetworkPolicyRequest\u003c/code\u003e class has a \u003ccode\u003eName\u003c/code\u003e property (string type) that is required and represents the resource name of the network policy to retrieve, following Google Cloud's resource name conventions, which can also be viewed through the \u003ccode\u003eNetworkPolicyName\u003c/code\u003e property type.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one that is parameterless and the other that takes an object of the same type as a parameter.\u003c/p\u003e\n"]]],[],null,[]]