public sealed class NetworkPolicy.Types.NetworkService : IMessage<NetworkPolicy.Types.NetworkService>, IEquatable<NetworkPolicy.Types.NetworkService>, IDeepCloneable<NetworkPolicy.Types.NetworkService>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class NetworkPolicy.Types.NetworkService.
Represents a network service that is managed by a NetworkPolicy resource.
A network service provides a way to control an aspect of external access to
VMware workloads. For example, whether the VMware workloads in the
private clouds governed by a network policy can access or be accessed from
the internet.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis documentation provides reference information for the \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class within the Google Cloud VMware Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class represents a managed network service that controls external access to VMware workloads, such as internet access.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e 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\u003eNetworkService\u003c/code\u003e class include \u003ccode\u003eEnabled\u003c/code\u003e, indicating if the service is on or off, and \u003ccode\u003eState\u003c/code\u003e, which denotes the current status of the service.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes different versions of the API class, ranging from \u003ccode\u003e1.0.0\u003c/code\u003e to the latest \u003ccode\u003e1.6.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]