Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::NetworkPolicy::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#enabled
defenabled()->::Boolean
Returns
(::Boolean) — True if the service is enabled; false otherwise.
#enabled=
defenabled=(value)->::Boolean
Parameter
value (::Boolean) — True if the service is enabled; false otherwise.
Returns
(::Boolean) — True if the service is enabled; false otherwise.