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"]],[["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 documentation covers the \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class within the Google Cloud VMware Engine v1 API, focusing on version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e represents a service that is managed by a \u003ccode\u003eNetworkPolicy\u003c/code\u003e resource and controls external access to VMware workloads, including internet access.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eEnabled\u003c/code\u003e (a boolean indicating if the service is active) and \u003ccode\u003eState\u003c/code\u003e (the current state of the service), both of which are detailed within the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkPolicy.Types.NetworkService\u003c/code\u003e class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which are all used for managing the different behaviors the class has.\u003c/p\u003e\n"]]],[],null,[]]